Hi Martin,<br><br>Installed swig-1.3.35.<br>Installed grass 6.3.0 svn revision 30941.<br>I get exactly the same error:<br>Starting GRASS ...<br>Traceback (most recent call last):<br> File "/usr/local/grass-6.3.0svn/etc/wxpython/gis_set.py", line 710, in <module><br> GRASSStartUp = StartUp(0)<br> File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7836, in __init__<br> self._BootstrapApp()<br> File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7433, in _BootstrapApp<br> return _core_.PyApp__BootstrapApp(*args, **kwargs)<br> File "/usr/local/grass-6.3.0svn/etc/wxpython/gis_set.py", line 694, in OnInit<br> StartUp = GRASSStartup()<br> File "/usr/local/grass-6.3.0svn/etc/wxpython/gis_set.py", line 154, in __init__<br> self._set_properties()<br> File
"/usr/local/grass-6.3.0svn/etc/wxpython/gis_set.py", line 193, in _set_properties<br> self.OnSetDatabase(None)<br> File "/usr/local/grass-6.3.0svn/etc/wxpython/gis_set.py", line 579, in OnSetDatabase<br> self.OnSelectLocation(event)<br> File "/usr/local/grass-6.3.0svn/etc/wxpython/gis_set.py", line 561, in OnSelectLocation<br> self.lbmapsets.SetSelection(0)<br> File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 1325, in SetSelection<br> return _controls_.ListBox_SetSelection(*args, **kwargs)<br>wx._core.PyAssertionError: C++ assertion "IsValid(n)" failed at ../src/gtk/listbox.cpp(859) in DoSetSelection(): invalid index in wxListBox::SetSelection<br>Error in GUI startup. If necessary, please<br>report this error to the GRASS developers.<br>Switching to text mode now.<br>Hit RETURN to continue...<br><br>Cheers,<br><br>Peter<br><br><b><i>Martin Landa
<landa.martin@gmail.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Hi,<br><br>please try to compile 6.3.0svn, the same error??<br><br>svn checkout https://svn.osgeo.org/grass/grass/branches/releasebranch_6_3<br>grass63_release<br><br>Regards, Martin<br><br>2008/4/11, geep999 <geep999@yahoo.co.uk>:<br>> 2/ When I try to run it - "grass63 -wxpython" - I get the following Message:<br>><br>> Starting GRASS ...<br>> Traceback (most recent call last):<br>> File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 710, in<br>> <module><br>> GRASSStartUp = StartUp(0)<br>> File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",<br>> line 7836, in __init__<br>> self._BootstrapApp()<br>> File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",<br>> line 7433, in _BootstrapApp<br>> return
_core_.PyApp__BootstrapApp(*args, **kwargs)<br>> File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 694, in<br>> OnInit<br>> StartUp = GRASSStartup()<br>> File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 154, in<br>> __init__<br>> self._set_properties()<br>> File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 193, in<br>> _set_properties<br>> self.OnSetDatabase(None)<br>> File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 579, in<br>> OnSetDatabase<br>> self.OnSelectLocation(event)<br>> File "/usr/local/grass-6.3.0RC6/etc/wxpython/gis_set.py", line 561, in<br>> OnSelectLocation<br>> self.lbmapsets.SetSelection(0)<br>> File<br>> "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line<br>> 1325, in SetSelection<br>> return _controls_.ListBox_SetSelection(*args, **kwargs)<br>> wx._core.PyAssertionError:
C++ assertion "IsValid(n)" failed at<br>> ../src/gtk/listbox.cpp(859) in DoSetSelection(): invalid index in<br>> wxListBox::SetSelection<br>> Error in GUI startup. If necessary, please<br>> report this error to the GRASS developers.<br>><br>> The tcltk GUI - "grass63 -tcltk" - starts without problems.<br>><br>> My wxPython is the latest released source from<br>> http://www.wxpython.org/download.php,<br>> being wxPython-src-2.8.7.1.tar.bz2<br>><br>> Python: 2.5.2. gcc: 4.2.3<br>><br>> The Python & wxPython installations seem to be OK, as the example demo.py<br>> from wxPython/demo runs OK.<br>> i.e. python demo.py<br>> Its Help > About wxPython Demo reports:<br>> "wxPython 2.8.7.1 (wxGTK, unicode, gtk2, wx-assertions-on, SWIG-1.3.29)<br>> Running on Python 2.5.2"<br>><br>> Any ideas what might be wrong?<br>><br>> Cheers,<br>><br>> Peter<br>><br>> --<br>> View this
message in context: http://www.nabble.com/Another-error-with-wxpython-GUI-in-RC6-tp16627913p16627913.html<br>> Sent from the Grass - Users mailing list archive at Nabble.com.<br>><br>> _______________________________________________<br>> grass-user mailing list<br>> grass-user@lists.osgeo.org<br>> http://lists.osgeo.org/mailman/listinfo/grass-user<br>><br><br><br>-- <br>Martin Landa <landa.martin gmail.com=""> * http://gama.fsv.cvut.cz/~landa *<br></landa.martin></module></geep999@yahoo.co.uk></blockquote><br><p> 
<hr size=1>
Yahoo! for Good helps you <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=51947/*http://uk.promotions.yahoo.com/forgood/">make a difference</a>