Bug#776349: grass-gui: wx gui tries to load images from wrong location
Ambrose Andrews
ambrose at vrvl.net
Tue Jan 27 03:28:04 UTC 2015
Package: grass-gui
Version: 6.4.4-1
Severity: important
Dear Maintainer,
It is probably a long time since I used GRASS on Jessie... recently I launched
it for the first time since the last upload.
I Tried to start GRASS from the gnome menu and from a terminal. (first
deleting/moving my .grassrc6)
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)
see below python traceback from terminal attempt:
"""
ambrose at zulu:~$ grass64
WELCOME TO GRASS Version 6.4.4 2014
1) Have at your side all available GRASS GIS tutorials
2) When working on your location, the following materials
are extremely useful:
- A topographic map of your area
- Current catalog of available computer maps
3) Check the GRASS GIS web pages for supporting mailing lists and more:
http://grass.osgeo.org
Hit RETURN to continue
Starting GRASS ...
Traceback (most recent call last):
File "/usr/lib/grass64/etc/wxpython/gis_set.py", line 403, in OnWizard
grassdatabase = self.tgisdbase.GetValue())
File "/usr/lib/grass64/etc/wxpython/location_wizard/wizard.py", line 1766, in
__init__
wizbmp = wizbmp.ConvertToBitmap()
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 3646,
in ConvertToBitmap
return _core_.Image_ConvertToBitmap(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "image.IsOk()" failed at
.../src/gtk/bitmap.cpp(626) in wxBitmap(): invalid image
Traceback (most recent call last):
File "/usr/lib/grass64/etc/wxpython/gis_set.py", line 403, in OnWizard
grassdatabase = self.tgisdbase.GetValue())
File "/usr/lib/grass64/etc/wxpython/location_wizard/wizard.py", line 1766, in
__init__
wizbmp = wizbmp.ConvertToBitmap()
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 3646,
in ConvertToBitmap
return _core_.Image_ConvertToBitmap(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "image.IsOk()" failed at
.../src/gtk/bitmap.cpp(626) in wxBitmap(): invalid image
Received EXIT message from GUI.
GRASS is not started. Bye.
"""
the errors popping up in the wx gui offered me the option to save to a log:
"""
ambrose at zulu:~$ cat log.txt
14:06:39: can't open file '/usr/lib/grass64/etc/gui/images/startup_banner.gif'
(error 2: No such file or directory)
14:06:39: Failed to load image from file
"/usr/lib/grass64/etc/gui/images/startup_banner.gif".
14:06:39: can't open file '/usr/lib/grass64/etc/gui/icons/grass.ico' (error 2:
No such file or directory)
14:06:39: Failed to load image from file
"/usr/lib/grass64/etc/gui/icons/grass.ico".
14:08:52: can't open file '/usr/lib/grass64/etc/gui/images/loc_wizard_qgis.png'
(error 2: No such file or directory)
14:08:52: Failed to load image from file
"/usr/lib/grass64/etc/gui/images/loc_wizard_qgis.png".
ambrose at zulu:~$
"""
-AA.
-- System Information:
Debian Release: 8.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages grass-gui depends on:
ii gnome-terminal [x-terminal-emulator] 3.14.1-1
ii grass-core 6.4.4-1
ii konsole [x-terminal-emulator] 4:4.14.2-1
ii libc6 2.19-13
ii libfreetype6 2.5.2-2
ii libgdal1h 1.10.1+dfsg-8+b3
ii libgeos-3.4.2 3.4.2-6
ii libgeos-c1 3.4.2-6
ii libgl1-mesa-glx [libgl1] 10.3.2-1
ii libglu1-mesa [libglu1] 9.0.0-2
ii libice6 2:1.0.9-1+b1
ii libpng12-0 1.2.50-2+b2
ii libsm6 2:1.2.2-1+b1
ii libtcl8.6 8.6.2+dfsg-1
ii libtiff5 4.0.3-12
ii libtk8.6 8.6.2-1
ii libx11-6 2:1.6.2-3
ii libxext6 2:1.3.3-1
ii libxm4 2.3.4-6+b1
ii libxmu6 2:1.1.2-1
ii libxt6 1:1.1.4-1+b1
ii python-opengl 3.0.2-1
ii python-wxgtk3.0 3.0.1.1+dfsg-2
pn python:any <none>
ii xterm [x-terminal-emulator] 312-1
ii zlib1g 1:1.2.8.dfsg-2+b1
Versions of packages grass-gui recommends:
ii ghostscript 9.06~dfsg-2
ii python-imaging 2.6.1-1
grass-gui suggests no packages.
-- no debconf information
More information about the Pkg-grass-devel
mailing list