Bug#776349: grass-gui: wx gui tries to load images from wrong location

Sebastiaan Couwenberg sebastic at xs4all.nl
Tue Jan 27 18:55:25 UTC 2015


Control: tags -1 confirmed

Hi Ambrose,

Thanks for reporting this issue.

On 01/27/2015 04:28 AM, Ambrose Andrews wrote:
> The gui wizard responded with some pop-up errors from gui such as:
> "can't open file '/usr/lib/grass64/etc/gui/images/startup_banner.gif' (error 2:
> No such file or directory)"
> 
> (apparently such a file does exist at
> /usr/share/grass64/etc/gui/images/startup_banner.gif i.e. under /usr/share, not
> /usr/lib)

For some reason the symlinks from the images under /usr/share to
/usr/lib are missing.

Among others, both /usr/lib/grass64/etc/gui/{icons,images}/ are
symlinked from /usr/share to have the images in the FHS mandated path,
but also have them available in the paths expected by GRASS.

http://anonscm.debian.org/cgit/pkg-grass/grass.git/tree/debian/grass-gui.links#n40

The symlinks are included in the package, but not on the filesystem
after installation:

$ dpkg-deb -c grass-gui_6.4.4-1_amd64.deb | grep ^l | egrep "(images|icons)"
lrwxrwxrwx root/root 0 2014-09-05 12:02 ./usr/lib/grass64/etc/gui/icons
-> ../../../../share/grass64/etc/gui/icons
lrwxrwxrwx root/root 0 2014-09-05 12:02 ./usr/lib/grass64/etc/gui/images
-> ../../../../share/grass64/etc/gui/images
lrwxrwxrwx root/root 0 2014-09-05 12:02 ./usr/lib/grass64/bwidget/images
-> ../../../share/grass64/bwidget/images

$ ls -ld /usr/lib/grass64/etc/gui/icons /usr/lib/grass64/etc/gui/images
/usr/lib/grass64/bwidget/images
drwxr-xr-x 2 root root 4096 Sep  8 08:22 /usr/lib/grass64/bwidget/images
drwxr-xr-x 2 root root 4096 Sep  8 08:22 /usr/lib/grass64/etc/gui/icons
drwxr-xr-x 2 root root 4096 Sep  8 08:22 /usr/lib/grass64/etc/gui/images

This problem is limited to the directory symlinks, the symlinks for
individual files are working fine.

I'll look into the problem and fix the symlinks one way or the other.

Since this is not a release critical bug we can't fix in 6.4.4-1 before
the release, but we can probably get a targeted fix for this problem
into jessie with one of the stable updates.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/E88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the Pkg-grass-devel mailing list