[GRASS-user] Another error with wxpython GUI in RC6

geep999 geep999 at yahoo.co.uk
Fri Apr 11 12:14:01 EDT 2008


Hi,

1/ I've just compiled GRASS63 RC6 on a Slackware12.1RC1 machine.

Had a bit of a fight during make. Errors in:
/home/dad/grass/grass-6.3.0RC6/gui/wxpython/vdigit
Workaround, as per
http://svn.osgeo.org/grass/grass/trunk/gui/wxpython/README
cd /usr/local/lib
sudo ln -s /usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so
libgdi.so

2/ When I try to run it - "grass63 -wxpython" - I get the following Message:

Starting GRASS ...
Traceback (most recent call last):
  File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 710, in
<module>
    GRASSStartUp = StartUp(0)
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7836, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7433, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 694, in
OnInit
    StartUp = GRASSStartup()
  File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 154, in
__init__
    self._set_properties()
  File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 193, in
_set_properties
    self.OnSetDatabase(None)
  File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 579, in
OnSetDatabase
    self.OnSelectLocation(event)
  File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 561, in
OnSelectLocation
    self.lbmapsets.SetSelection(0)
  File
"/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line
1325, in SetSelection
    return _controls_.ListBox_SetSelection(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "IsValid(n)" failed at
../src/gtk/listbox.cpp(859) in DoSetSelection(): invalid index in
wxListBox::SetSelection
Error in GUI startup. If necessary, please
report this error to the GRASS developers.

The tcltk GUI - "grass63 -tcltk" - starts without problems.

My wxPython is the latest released source from
http://www.wxpython.org/download.php,
being wxPython-src-2.8.7.1.tar.bz2

Python: 2.5.2. gcc: 4.2.3 

The Python & wxPython installations seem to be OK, as the example demo.py
from wxPython/demo runs OK.
i.e. python demo.py
Its Help > About wxPython Demo reports:
"wxPython 2.8.7.1 (wxGTK, unicode, gtk2, wx-assertions-on, SWIG-1.3.29)
Running on Python 2.5.2"

Any ideas what might be wrong?

Cheers,

Peter 
-- 
View this message in context: http://www.nabble.com/Another-error-with-wxpython-GUI-in-RC6-tp16627913p16627913.html
Sent from the Grass - Users mailing list archive at Nabble.com.



More information about the grass-user mailing list