[GRASS-user] 6.3 and wxpython : error at startup, GUI doesn't launch

Glynn Clements glynn at gclements.plus.com
Fri Dec 5 08:25:41 EST 2008


Jeremy Garniaux wrote:

> Just installed GRASS 6.3.0... When I try to launch it with its Python
> GUI <grass -wxpython> I see this error :
> 
> <Starting GRASS ...
> Traceback (most recent call last):
>   File "/usr/lib/grass/etc/wxpython/gis_set.py", line 31, in <module>
>     from gui_modules import globalvar
>   File "/usr/lib/grass/etc/wxpython/gui_modules/globalvar.py", line 48,
> in <module>
>     CheckForWx()
>   File "/usr/lib/grass/etc/wxpython/gui_modules/globalvar.py", line 39,
> 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.>
> 
> Any idea ? thanks !

You need to have wxPython 2.8 installed, and the above error suggests
that you don't.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list