[GRASS-user] Error while onitializing GRASS6.4 with wxpython

Greetings all

I have installed and compiled GRASS6.4 in an Linux server. It’s working OK in text mode and it opens the menu with tcltk.
But when I run grass64 -wxpython I get this errors:

Traceback (most recent call last):
File “/usr/local/grass-6.4.0RC5/etc/wxpython/gis_set.py”, line 33, in ?
from gui_modules import globalvar
File “/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/globalvar.py”, line 55, in ?
CheckForWx()
File “/usr/local/grass-6.4.0RC5/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.

Do anyone has a clue of what is not right with WXPYTHON GUI startup?

Thanks

Best Regards
Nikos

Hi,

2009/12/15 Nikos Dumakis <nikosdu1980@gmail.com>:

I have installed and compiled GRASS6.4 in an Linux server. It's working OK
in text mode and it opens the menu with tcltk.
But when I run grass64 -wxpython I get this errors:
Traceback (most recent call last):
File "/usr/local/grass-6.4.0RC5/etc/wxpython/gis_set.py", line 33, in ?
from gui_modules import globalvar
File "/usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/globalvar.py",
line 55, in ?
CheckForWx()
File "/usr/local/grass-6.4.0RC5/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.
Do anyone has a clue of what is not right with WXPYTHON GUI startup?

try 6.4 from svn. The bug should be already fixed.

Martin

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

2009/12/16 Martin Landa <landa.martin@gmail.com>:

try 6.4 from svn. The bug should be already fixed.

Anyway install wxversion on your system.

Martin

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