[GRASS-dev] g.gui.metadata and wxgui addons in GRASS 7.1

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Thu Aug 20 05:41:42 PDT 2015


Hi,

I just tried to install g.gui.metadata addon with limited success.

No AddOn appears under wxGUI when I run g.extension from the GUI (while e.g. raster addons do show up). Is this probably do to the path in the AddOn repo (which starts with gui and not wxGUI). All other tree elements in g.extension are equal to folder names in the repository...
So, I finally compiled g.gui.extension from source after installing the dependencies.

Now, g.gui.metadata is available, but does not start:

Traceback (most recent call last):
  File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",
line 1246, in <module>
    main()
  File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",
line 1240, in main
    MAINFRAME = MdMainFrame()
  File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",
line 88, in __init__
    self.onInitEditor()
  File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",
line 724, in onInitEditor
    self.MdDataCatalogPanelLeft =
MdDataCatalog(self.leftPanel)
  File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",
line 836, in __init__
    self.InitTreeItems()
  File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",
line 860, in InitTreeItems
    self.initTemporalTree(location=location,
mapset=self.mapset)
 File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",
line 923, in initTemporalTree
    if self.itemExists(ml[2], varmapset) == False:
  File
"/usr/local/grass-7.1.svn/gui/wxpython/lmgr/datacatalog.py",
line 213, in itemExists
    item, cookie = self.GetFirstChild(root)
  File "/usr/lib/python2.7/dist-
packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 5409, in
GetFirstChild
    return _controls_.TreeCtrl_GetFirstChild(*args,
**kwargs)
ValueError: invalid null reference in method
'TreeCtrl_GetFirstChild', expected argument 2 of type
'wxTreeItemId const &'

Cheers
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150820/0603e1a3/attachment-0001.html>


More information about the grass-dev mailing list