[GRASS-user] g.gui not launching in grass70 after install

Michel Wortmann wortmann at pik-potsdam.de
Thu Dec 5 04:26:57 PST 2013


Hi list,
After compiling grass70 from source on our linux server, it fails to 
launch the wxpython gui with the following error:

Launching <wxpython> GUI in the background, please wait...
GRASS 7.0.svn (test):~ > Traceback (most recent call last):
   File 
"/home/wortmann/usr/local/grass-7.0.svn/etc/gui/wxpython/wxgui.py", line 
143, in <module>
     sys.exit(main())
   File 
"/home/wortmann/usr/local/grass-7.0.svn/etc/gui/wxpython/wxgui.py", line 
136, in main
     app = GMApp(workspaceFile)
   File 
"/home/wortmann/usr/local/grass-7.0.svn/etc/gui/wxpython/wxgui.py", line 
50, in __init__
     wx.App.__init__(self, False)
   File 
"/home/wortmann/python2.7/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 7981, in __init__
     self._BootstrapApp()
   File 
"/home/wortmann/python2.7/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", 
line 7555, in _BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File 
"/home/wortmann/usr/local/grass-7.0.svn/etc/gui/wxpython/wxgui.py", line 
84, in OnInit
     workspace = self.workspaceFile)
   File 
"/home/wortmann/usr/local/grass-7.0.svn/etc/gui/wxpython/lmgr/frame.py", 
line 109, in __init__
     self._menuTreeBuilder = LayerManagerMenuData()
   File 
"/home/wortmann/usr/local/grass-7.0.svn/etc/gui/wxpython/lmgr/menudata.py", 
line 40, in __init__
     MenuTreeModelBuilder.__init__(self, filename, 
expandAddons=expandAddons)
   File 
"/home/wortmann/usr/local/grass-7.0.svn/etc/gui/wxpython/core/menutree.py", 
line 69, in __init__
     xmlTree = etree.parse(filename)
   File 
"/iplex/01/sys/applications/lib/python2.7/xml/etree/ElementTree.py", 
line 1177, in parse
     tree.parse(source, parser)
   File 
"/iplex/01/sys/applications/lib/python2.7/xml/etree/ElementTree.py", 
line 654, in parse
     self._root = parser.close()
   File 
"/iplex/01/sys/applications/lib/python2.7/xml/etree/ElementTree.py", 
line 1636, in close
     self._raiseerror(v)
   File 
"/iplex/01/sys/applications/lib/python2.7/xml/etree/ElementTree.py", 
line 1488, in _raiseerror
     raise err
xml.etree.ElementTree.ParseError: no element found: line 1, column 0

Other g.gui.* apps start ok. The only errors during make were that it 
couldnt find the LOCATION of the demolocation. I saw that 
grass-7.0.svn/etc/gui/wxpython/xml/menudata.xml is empty, could that be 
a possible cause?

Any hint is much appreciated.


Regards,
Michel



More information about the grass-user mailing list