[GRASS-dev] Re: wxGUI doesn't start in newest GRASS 7 svn - magically fixed

Michael Barton michael.barton at asu.edu
Tue Jul 22 01:21:11 EDT 2008


On Jul 21, 2008, at 7:07 PM, Michael Barton wrote:

> Something changed in the past 24 hours so that the wxPython GUI  
> won't start in GRASS 7 (trunk). Here is the error. I have to leave  
> for a bit, but will also try to track it down if need be.
>
> Last login: Mon Jul 21 19:04:12 on ttys001
> cmb-MBP-2:~ cmbarton$ '/Applications/Grass/GRASS-7.0.app/Contents/ 
> MacOS/grass.sh'; exit
> Rebuilding Addon HTML manual pages index...
> Rebuilding Addon menu...
> Cleaning up temporary files ...
> Starting GRASS ...
> Traceback (most recent call last):
>  File "/Applications/Grass/GRASS-7.0.app/Contents/MacOS/etc/wxpython/ 
> gis_set.py", line 807, in <module>
>    GRASSStartUp = StartUp(0)
>  File "//Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7836,  
> in __init__
>    self._BootstrapApp()
>  File "//Library/Frameworks/Python.framework/Versions/2.5/lib/ 
> python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7433,  
> in _BootstrapApp
>    return _core_.PyApp__BootstrapApp(*args, **kwargs)
>  File "/Applications/Grass/GRASS-7.0.app/Contents/MacOS/etc/wxpython/ 
> gis_set.py", line 790, in OnInit
>    StartUp = GRASSStartup()
>  File "/Applications/Grass/GRASS-7.0.app/Contents/MacOS/etc/wxpython/ 
> gis_set.py", line 48, in __init__
>    self.grassrc  = self._read_grassrc()
>  File "/Applications/Grass/GRASS-7.0.app/Contents/MacOS/etc/wxpython/ 
> gis_set.py", line 377, in _read_grassrc
>    key, val = line.split(":", 1)
> ValueError: need more than 1 value to unpack
> Error in GUI startup. If necessary, please
> report this error to the GRASS developers.
> Switching to text mode now.
> Hit RETURN to continue...

This error is magically gone. I don't know where it came from or how I  
fixed it. I tried changing my .profile file and .bashrc files, but  
ended up with them as before. And all works OK.

Michael


More information about the grass-dev mailing list