This is topic for grass-dev, putting it into conversation, remove grass-user in next email.
Hi Michel, please post the compilation log as an attachment (I think that it fits mailing list file size limit). Some error with demo location happens also on some Macs and when building packages for Ubuntu if I remember correctly. I'm not getting this error at any machine I tried (Macs and Ubuntus). Please, to test the toolbox mechanism where the error appears, try this commands in GRASS session in some location (location can be even empty): # in grass source code cd gui/wxpython/core/ python toolboxes.py doctest (no output) python toolboxes.py test OK It should be without any error since it seems that it is more compilation problem but it would be better to test anyway. Probably, I should create a ticket to trac this demo location/toolboxes problem and consider some workaround for toolboxes. Best, Vaclav On Thu, Dec 5, 2013 at 7:26 AM, Michel Wortmann <[email protected]>wrote: > 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 > > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user >
_______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
