[GRASS-user] Grass 7 GUI is not starting- keyError:'version'

Luis Ramirez lu.ramirez.c at gmail.com
Fri Mar 21 04:34:43 PDT 2014


Dear list,

I have been working with Grass 7 for the last 8 months using a VM with 
Xubuntu linux (I installed Grass from the PPA). It worked without almost 
any problem until the last weekend. Since then I have been becoming the 
following message after selecting location and mapset:

Launching <wxpython> GUI in the background, please wait...

GRASS 7.0.svn (n31468):/ > Traceback (most recent call last):

File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 143, in <module>

sys.exit(main())

File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 136, in main

app = GMApp(workspaceFile)

File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 50, in __init__

wx.App.__init__(self, False)

File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 7981, in __init__

self._BootstrapApp()

File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 7555, in _BootstrapApp

return _core_.PyApp__BootstrapApp(*args, **kwargs)

File "/usr/lib/grass70/etc/gui/wxpython/wxgui.py", line 84, in OnInit

workspace = self.workspaceFile)

File "/usr/lib/grass70/etc/gui/wxpython/lmgr/frame.py", line 92, in __init__

self.baseTitle = _("GRASS GIS %s Layer Manager") % 
grass.version()['version']

KeyError: 'version'

When I try to launch a monitor I get:

GRASS 7.0.svn (n31468):/ > d.mon wx0

GRASS 7.0.svn (n31468):/ > Traceback (most recent call last):

File "/usr/lib/grass70/etc/gui/wxpython/mapdisp/main.py", line 448, in 
<module>

gmMap.mapFrm.SetTitle(monName)

File "/usr/lib/grass70/etc/gui/wxpython/mapdisp/frame.py", line 248, in 
SetTitle

{ 'version' : grass.version()['version'],

KeyError: 'version'

I also tried to install Grass 7 from the ppa in an computer with ubuntu 
12.04. but I get exactly the same messages. I tried to install newer 
versions of python and wxpython but then I wasn?t even able to use grass 
7 on the command line. I just re-install ubuntu and grass 7 but the 
error messages are still there. The GUIs of the different modules are 
working properly but from time to time I would like to have a look of 
the maps and using g.gui.animation for that require more steps.

Does anyone of you have a clue?

Thanks in advance!

Luis Ramirez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20140321/61c66f19/attachment-0001.html>


More information about the grass-user mailing list