[GRASS-dev] [GRASS GIS] #114: wxPython GUI fails in Vista
GRASS GIS
trac at osgeo.org
Wed Apr 2 14:28:19 EDT 2008
#114: wxPython GUI fails in Vista
--------------------------------------+-------------------------------------
Reporter: jrobins | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.3.0
Component: Python | Version: 6.3.0 RCs
Keywords: wxPython, Windows, Vista |
--------------------------------------+-------------------------------------
I used the new Windows installer package to install GRASS 6.3.0RC6 on my
PC. I installed GRASS to c:\GRASS and tried running the startup script
found in c:\GRASS\msys\home\users\john using the msys shell. Here is a
transcript:
{{{
John at JOHN-LAPTOP /home/users/john
$ grass63 -wxpython
WELCOME TO GRASS Version 6.3.0RC6 2008
1) Have at your side all available GRASS tutorials
2) When working on your location, the following materials
are extremely useful:
- A topo map of your area
- Current catalog of available computer maps
3) Check the GRASS webpages for feedback mailinglists and more:
http://www.grass-gis.org
http://grass.osgeo.org
Hit RETURN to continue
Starting GRASS ...
Traceback (most recent call last):
File "c:/GRASS/etc/wxpython/gis_set.py", line 710, in <module>
GRASSStartUp = StartUp(0)
File "c:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7836, in __init__
self._BootstrapApp()
File "c:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py",
line 7433, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "c:/GRASS/etc/wxpython/gis_set.py", line 694, in OnInit
StartUp = GRASSStartup()
File "c:/GRASS/etc/wxpython/gis_set.py", line 154, in __init__
self._set_properties()
File "c:/GRASS/etc/wxpython/gis_set.py", line 154, in __init__
self._set_properties()
File "c:/GRASS/etc/wxpython/gis_set.py", line 193, in _set_properties
self.OnSetDatabase(None)
File "c:/GRASS/etc/wxpython/gis_set.py", line 579, in OnSetDatabase
self.OnSelectLocation(event)
File "c:/GRASS/etc/wxpython/gis_set.py", line 561, in OnSelectLocation
self.lbmapsets.SetSelection(0)
File "c:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py",
line 1325, in SetSelection
return _controls_.ListBox_SetSelection(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "N == (-1) || IsValid(N)" failed
at ..\..\src\msw\listbox.cpp(390) in wxListBox::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...
}}}
I have Python 2.5, wxPython widgets, numPy, and the python extensions
suggested on the installer download page. These are installed in
c:\Python25. My computer uses Windows Vista. What do I need to do to fix
this?
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/114>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
More information about the grass-dev
mailing list