Opened 5 years ago

Closed 4 years ago

Last modified 3 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

Description

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: http://grass.osgeo.org 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/GRASS-7.1.app/Contents/MacOS/gui/wxpython/wxgui.py", line 140, in <module>

sys.exit(main())

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/wxgui.py", line 133, in main

app = GMApp(workspaceFile)

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/wxgui.py", line 48, in init

wx.App.init(self, False)

File "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7981, in init

self._BootstrapApp()

File "/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7555, in _BootstrapApp

return _core_.PyAppBootstrapApp(*args, kwargs)

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/wxgui.py", line 82, in OnInit?

workspace = self.workspaceFile)

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/lmgr/frame.py", line 119, in init

self._menuTreeBuilder = LayerManagerMenuData?()

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/lmgr/menudata.py", line 40, in init

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

File "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/core/menutree.py", line 64, in init

xmlTree = etree.parse(filename)

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

tree.parse(source, parser)

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

self._root = parser.close()

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

self._raiseerror(v)

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

raise err

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

)))

Change History (3)

comment:1 Changed 4 years ago by wenzeslaus

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 Changed 4 years ago by wenzeslaus

Resolution: fixed
Status: newclosed

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

comment:3 Changed 3 years ago by neteler

Milestone: 7.1.07.2.0

Milestone renamed

Note: See TracTickets for help on using tickets.