<div dir="ltr">Dear Stefan,<div><br></div><div class="gmail_extra">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].</div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-20 14:41 GMT+02:00 Blumentrath, Stefan <span dir="ltr"><<a href="mailto:Stefan.Blumentrath@nina.no" target="_blank">Stefan.Blumentrath@nina.no</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="NO-BOK" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I just tried to install g.gui.metadata addon with limited success.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">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…<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">So, I finally compiled g.gui.extension from source after installing the dependencies.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Now, g.gui.metadata is available, but does not start:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Traceback (most recent call last):<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">line 1246, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> main()<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">line 1240, in main<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> MAINFRAME = MdMainFrame()<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">line 88, in __init__<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> self.onInitEditor()<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">line 724, in onInitEditor<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> self.MdDataCatalogPanelLeft =<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">MdDataCatalog(self.leftPanel)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">line 836, in __init__<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> self.InitTreeItems()<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">line 860, in InitTreeItems<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> self.initTemporalTree(location=location,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">mapset=self.mapset)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/local/grass-7.1.svn/scripts/g.gui.metadata",<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">line 923, in initTemporalTree<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> if self.itemExists(ml[2], varmapset) == False:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">"/usr/local/grass-7.1.svn/gui/wxpython/lmgr/datacatalog.py",<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">line 213, in itemExists<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> item, cookie = self.GetFirstChild(root)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> File "/usr/lib/python2.7/dist-<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 5409, in<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">GetFirstChild<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> return _controls_.TreeCtrl_GetFirstChild(*args,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">**kwargs)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">ValueError: invalid null reference in method<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">'TreeCtrl_GetFirstChild', expected argument 2 of type<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">'wxTreeItemId const &'<u></u><u></u></span></p>
<p class="MsoNormal"><br></p></div></div></blockquote><div> </div><div><br></div><div>Best</div><div>Matej</div><div><br></div><div>[1] <a href="https://lists.osgeo.org/pipermail/grass-dev/2015-August/076034.html">https://lists.osgeo.org/pipermail/grass-dev/2015-August/076034.html</a></div></div></div></div>