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

Peter Gardner geep999 at yahoo.co.uk
Fri Apr 11 15:29:31 EDT 2008


Hi Martin,

Installed swig-1.3.35.
Installed grass 6.3.0 svn revision 30941.
I get exactly the same error:
Starting GRASS ...
Traceback (most recent call last):
  File "/usr/local/grass-6.3.0svn/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.0svn/etc/wxpython/gis_set.py", line 694, in OnInit
    StartUp = GRASSStartup()
  File "/usr/local/grass-6.3.0svn/etc/wxpython/gis_set.py", line 154, in __init__
    self._set_properties()
  File "/usr/local/grass-6.3.0svn/etc/wxpython/gis_set.py", line 193, in _set_properties
    self.OnSetDatabase(None)
  File "/usr/local/grass-6.3.0svn/etc/wxpython/gis_set.py", line 579, in OnSetDatabase
    self.OnSelectLocation(event)
  File "/usr/local/grass-6.3.0svn/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.
Switching to text mode now.
Hit RETURN to continue...

Cheers,

Peter

Martin Landa <landa.martin at gmail.com> wrote: Hi,

please try to compile 6.3.0svn, the same error??

svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_3
grass63_release

Regards, Martin

2008/4/11, geep999 :
>  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
>  
>     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.
>
>  _______________________________________________
>  grass-user mailing list
>  grass-user at lists.osgeo.org
>  http://lists.osgeo.org/mailman/listinfo/grass-user
>


-- 
Martin Landa  * http://gama.fsv.cvut.cz/~landa *


       
---------------------------------
 Yahoo! for Good helps you make a difference
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080411/e669e27c/attachment-0001.html


More information about the grass-user mailing list