Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#2498 closed defect (fixed)

yet another problem with GUI toolbox menu

Reported by: cmbarton Owned by: grass-dev@…
Priority: normal Milestone: 7.2.0
Component: wxGUI Version: svn-trunk
Keywords: menu tree, xml, toolboxes Cc:
CPU: OSX/Intel Platform: Unspecified


I just compiled from GRASS trunk. It compiles with the normal set of errors in GUI modules using a windowing class created a year or two back. Normally these do not have any impact on running. But it is again not generating XML file needed for the toolbox menu, probably because it is not finding wx again. Here is the error.

Also, I thought trunk is supposed to be GRASS 7.0. But it is showing up as GRASS svn 7.1


Welcome to GRASS 7.1.svn (r62850M) GRASS homepage: This version running through: Bash Shell (/bin/bash) Help is available with the command: g.manual -i See the licence terms with: g.version -c If required, restart the GUI with: g.gui wxpython When ready to quit enter: exit

Launching <wxpython> GUI in the background, please wait... GRASS 7.1.svn (Penaguila):~ > Traceback (most recent call last):

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/", line 140, in <module>


File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/", line 133, in main

app = GMApp(workspaceFile)

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/", line 48, in init

wx.App.init(self, False)

File "/usr/local/lib/wxPython-unicode-", line 7981, in init


File "/usr/local/lib/wxPython-unicode-", line 7555, in _BootstrapApp

return _core_.PyAppBootstrapApp(*args, kwargs)

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/", line 82, in OnInit

workspace = self.workspaceFile)

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/", line 119, in init

self._menuTreeBuilder = LayerManagerMenuData()

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/", line 40, in init

MenuTreeModelBuilder.init(self, filename, expandAddons=expandAddons)

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/", line 64, in init

xmlTree = etree.parse(filename)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/", line 1182, in parse

tree.parse(source, parser)

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/", line 657, in parse

self._root = parser.close()

File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/", line 1654, in close


File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/", line 1506, in _raiseerror

raise err

xml.etree.ElementTree.ParseError: no element found: line 1, column 0


Change History (3)

comment:1 by wenzeslaus, 9 years ago

Keywords: toolboxes added

This is probably just duplicate or highly overlapping with #1819. It can depend on #2142 but this dependency should be broken by r64677.

Hint: To include source code or error messages use {{{ and }}} before and after the included text. Use backticks to include verbatim text inline, e.g. `abc`.

comment:2 by wenzeslaus, 9 years ago

Resolution: fixed
Status: newclosed

#1819 is fixed, so considering this one as fixed too.

comment:3 by neteler, 8 years ago


Milestone renamed

Note: See TracTickets for help on using tickets.