Opened 8 years ago

Closed 5 years ago

#2923 closed defect (wontfix)

editing metadata fails in g.gui.metadata

Reported by: martinl Owned by: grass-dev@…
Priority: normal Milestone: 7.2.4
Component: Addons Version: unspecified
Keywords: wx.metadata Cc:
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/", 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                                                                  
Platform: Linux-4.3.0-1-amd64-x86_64-with-debian-stretch-sid        

Change History (7)

comment:1 by neteler, 8 years ago


Milestone renamed

comment:2 by neteler, 7 years ago


Ticket retargeted after milestone closed

comment:3 by martinl, 7 years ago


comment:4 by neteler, 6 years ago


Ticket retargeted after milestone closed

comment:5 by martinl, 6 years ago

Milestone: 7.2.3

Ticket retargeted after milestone closed

comment:6 by martinl, 6 years ago

Milestone: 7.2.4

comment:7 by martinl, 5 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.