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 <wortmann@pik-potsdam.de> wrote:
Hi list,
After compiling grass70 from source on our linux server, it fails to launch the wxpython gui with the following error:Launching 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
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 0Other 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
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user