[scribus] Scribus 1.4.1 on FreeBSD 10: error importing images

Sveinn í Felli sveinki at nett.is
Mon Aug 27 11:41:35 UTC 2012


Þann mán 27.ágú 2012 10:12, skrifaði ale rimoldi:
> ihi sveinn,
>
>> Can confirm these extra ../../../ in my .sla everywhere I
>> did drop a file onto an image-frame. Images directory is a
>> subdirectory of the .sla
>>
>> Scribus Version 1.4.1
>> 30 April 2012
>> Build ID: C-C-T-F-C1.10.2-64bit
>> LinuxMint 13 - based on Ubuntu 12.04.1 LTS (Precise Pangolin)
>>
>> Any cure for this ?
>
> do you have any symlinks around?
>
> ciao
> a.l.e
>

Yes.

Figured it out right after sending the mail.

General on my setup:
I have all my data on separate partition(s), always mounted 
the same way into /mnt/. Some partitions are shared for all 
users (3) and some have more strict permissions. Depending 
on OS/distribution/DE these or subfolders are linked into 
/home/sveinki as folders (Files, Pictures, Music etc.)
And for the current projects I often make a symlink/shortcut 
on the desktop for quick access.
The project directory normally contains a subfolder with the 
images used in the project (I used Quark before internet was 
born, so this habit of not taking any chances).

Seems that sometime before last weekend I opened the project 
folder from the desktop, dropping images as needed, output a 
proof for the clients ond took off for the weekend.

This morning all those were missing and also those coming 
from the scrapbook (made in the same session).

The .sla reads:
PFILE="../../repeated/../mnt/data/waytoocomplicatedpath/Project/pictures/pictureX.jpg" 
= these are shown, when inserting those, filemanager was 
opened the system default route or from inside Scribus. But, 
when done in Opensuse 12.4 KDE I get more often 
../../repeated/../home/sveinki/Files/waytoocomplicatedpath/Project/pictures/pictureX.jpg. 
Not always though, I should verify in which circumstances.

but the weird part is here:
PFILE="../../repeated/../mnt/data/Desktop/Project/pictures/pictureY.jpg" 
= these are missing

and

PFILE="../../repeated/../mnt/data/.scribus/scrapbook/main/itemZ/pictureZ.jpg" 
= these are missing

These are all images I dropped onto frames.

No wonder; there are no /mnt/data/.scribus or 
/mnt/data/Desktop directories and should not be. They surely 
exist under /home/sveinki.

Guess those paths are just something Scribus is getting from 
the filemanager and/or image viewer; maybe it's not up to 
Scribus to guess that the paths are just a subfolder away. 
And maybe it's the filemanager feeding scribus some crap? 
Mixing up real path of a symlink with /home/user stuff?

Ran find/replace on my .sla and converted all paths to 
relative. I'm good to go.

Very curious,
Sveinn í Felli




More information about the scribus mailing list