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

Matej Krejci matejkrejci at gmail.com
Fri Aug 21 05:42:54 PDT 2015


Dear Stefan,

Thanks for bug report. I have done few changes(r65990) which should help
but the installation from add-ons still doesn't work properly[1].

2015-08-20 14:41 GMT+02:00 Blumentrath, Stefan <Stefan.Blumentrath na nina.no>:

> 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 &'
>
>
>

Best
Matej

[1] https://lists.osgeo.org/pipermail/grass-dev/2015-August/076034.html
------------- dal�� ��st ---------------
HTML p��loha byla odstran�na...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150821/20e454d9/attachment.html>


More information about the grass-dev mailing list