[GRASS-dev] [GRASS GIS] #2923: editing metadata fails in g.gui.metadata

#2923: editing metadata fails in g.gui.metadata
-------------------------+-------------------------
Reporter: martinl | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.1.0
Component: Addons | Version: unspecified
Keywords: wx.metadata | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
Attempt to edit metadata for selected raster map fails with

{{{
Traceback (most recent call last):
   File "/home/martin/.grass7/addons/scripts/g.gui.metadata", line 506, in
onEdit
     ok = self.editMapMetadata()
   File "/home/martin/.grass7/addons/scripts/g.gui.metadata", line 822, in
editMapMetadata
     if self.chckProfileSelection('spatial'):
   File "/home/martin/.grass7/addons/scripts/g.gui.metadata", line 788, in
chckProfileSelection
     parent = self.MdDataCatalogPanelLeft.GetSelection()
   File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_controls.py",
line 5365, in GetSelection
     return _controls_.TreeCtrl_GetSelection(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "!HasFlag(wxTR_MULTIPLE)" failed
at /usr/include/wx-3.0/wx/generic/treectlg.h(116) in GetSelection(): must
use GetSelections() with this control
}}}

My OS:

{{{
GRASS version: 7.1.svn
GRASS SVN revision: 67850M
Build date: 2016-01-16
Build platform: x86_64-pc-linux-gnu
GDAL: 2.1.0dev
PROJ.4: 4.9.2
GEOS: 3.5.0dev
SQLite: 3.10.2
Python: 2.7.11
wxPython: 3.0.2.0
Platform: Linux-4.3.0-1-amd64-x86_64-with-debian-stretch-sid
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2923&gt;
GRASS GIS <https://grass.osgeo.org>

#2923: editing metadata fails in g.gui.metadata
--------------------------+-------------------------
  Reporter: martinl | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.2.4
Component: Addons | Version: unspecified
Resolution: wontfix | Keywords: wx.metadata
       CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Changes (by martinl):

* status: new => closed
* resolution: => wontfix

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2923#comment:7&gt;
GRASS GIS <https://grass.osgeo.org>