To reproduce the error do the following:
- Import an image in PNG format.
- Save the file in direcory that is not the $HOME
- Close the file and re-open it (so the path to the image changes to be
relative to the location of the .sif file was saved)
- Select the image object.
- In the properties of the object go to "Filename" property and click the
"File" button.
You will get an error like this one:
-----
"The folder contents could not be displayed"
"Error getting information for '/home/<name of your user>/<relative path
used as value property>': No such file or directory"
-----
- After click "Ok" you will get the file dialog in your home directory.
The problem is the way that relative paths are used when trying to open the
file dialog. It misses the real absolute path to the location of the
original image. An example:
- My home folder is /home/yaco
- My .sif file is saved in /home/yaco/synfig/files/file-1.sif
- The imported image in file-1.sif is in
/home/yaco/synfig/files/images/image.png
- The value of the property is relative to the .sif location, so is:
images/image.png
- Now, when you try to change the image value clicking the "File" button,
the Open Dialog will try to open: $HOME + Relative path. In the example:
/home/yaco/images/. As that folder doesnt exists, you get the above error.
Nobody/Anonymous
None
None
Public
|
Date: 2008-09-24 21:59 Fixed in SVN r2071. |
|
Date: 2008-09-24 19:19 > In the properties of the object go to "Filename" property |
|
Date: 2008-08-13 19:24
|
|
Date: 2008-08-03 18:55
|
|
Date: 2008-08-03 16:42
|
|
Date: 2008-06-09 18:52 Logged In: NO |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use