[GRASS-user] grass 6.4.0svn -wx error

Dear colleagues,

I downloaded yesterday the svn version of grass 6.4, and compiled
under MSYS on Vista64. Grass run fine for -gui, but I get error with -wx.

Help are welcome :slight_smile:

milton
brazil=toronto

$ /c/OSGeo4W/apps/grass/bin/grass64 -wx
Cleaning up temporary files …
Starting GRASS …
Traceback (most recent call last):
File “c:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py”, line 33, in
from gui_modules import globalvar
File “c:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gui_modules\globalvar.py”, line 55, in
CheckForWx()
File “c:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gui_modules\globalvar.py”, line 44, in CheckForWx
except (ImportError, ValueError, wxversion.VersionError), e:
UnboundLocalError: local variable ‘wxversion’ referenced before assignment
Error in GUI startup. If necessary, please
report this error to the GRASS developers.
Switching to text mode now

Hi,

2009/7/16 Milton Cezar Ribeiro <miltinho.astronauta@gmail.com>:

I downloaded yesterday the svn version of grass 6.4, and compiled
under MSYS on Vista64. Grass run fine for -gui, but I get error with -wx.

Traceback (most recent call last):
File "c:/OSGeo4W/apps/grass/grass-6.4.0svn/etc/wxpython/gis_set.py", line
33, in <module>
from gui_modules import globalvar
File
"c:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gui_modules\globalvar.py",
line 55, in <module>
CheckForWx()
File
"c:\OSGeo4W\apps\grass\grass-6.4.0svn\etc\wxpython\gui_modules\globalvar.py",
line 44, in CheckForWx
except (ImportError, ValueError, wxversion.VersionError), e:
UnboundLocalError: local variable 'wxversion' referenced before assignment

fixed in r38599. Martin

PS: You need to install wxPython to run wxGUI.

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa