[GRASS-dev] [GRASS GIS] #3558: wx.metadata: several issues in syntax

GRASS GIS trac at osgeo.org
Mon May 7 00:40:29 PDT 2018


#3558: wx.metadata: several issues in syntax
-------------------------------------------------+-------------------------
 Reporter:  sbl                                  |      Owner:  grass-dev@…
     Type:  defect                               |     Status:  new
 Priority:  normal                               |  Milestone:
Component:  Addons                               |    Version:  7.4.0
 Keywords:  wx.metadata,                         |        CPU:  All
  g.gui.metadata,r.iso.info                      |
 Platform:  All                                  |
-------------------------------------------------+-------------------------
 wx.metadata has a couple of issues mostly due to changes in underlying
 libraries, I guess. The attached diffs fix some of them, but remaining
 issues amongst others require wxGUI programming skills, which I do not
 have unfortunately.

 After changes applied editing metadata still throws:


 {{{
 Traceback (most recent call last):
   File "/home/stefan/.grass7/addons/scri
 pts/g.gui.metadata", line 506, in onEdit
     ok = self.editMapMetadata()
   File "/home/NINA.NO/stefan.blumentrath/.grass7/addons/scri
 pts/g.gui.metadata", line 822, in editMapMetadata
     if self.chckProfileSelection('spatial'):
   File "/home/NINA.NO/stefan.blumentrath/.grass7/addons/scri
 pts/g.gui.metadata", line 790, in chckProfileSelection
     text = self.MdDataCatalogPanelLeft.GetItemText(parent)
   File "/usr/lib/python2.7/dist-
 packages/wx-3.0-gtk2/wx/_controls.py", line 5255, in
 GetItemText
     return _controls_.TreeCtrl_GetItemText(*args, **kwargs)
 TypeError: in method 'TreeCtrl_GetItemText', expected
 argument 2 of type 'wxTreeItemId const &'
 }}}


 r.info.iso gives the following warning message:

 {{{
 /usr/lib/python2.7/dist-packages/owslib/iso.py:111:
 FutureWarning: the .identification and
 .serviceidentification properties will merge into
 .identification being a list of properties.  This is
 currently implemented in .identificationinfo.  Please see
 https://github.com/geopython/OWSLib/issues/38 for more
 information
   FutureWarning)
 /usr/lib/python2.7/dist-packages/owslib/iso.py:451:
 FutureWarning: The .keywords and .keywords2 properties will
 merge into the .keywords property in the future, with
 .keywords becoming a list of MD_Keywords instances. This is
 currently implemented in .keywords2. Please see
 https://github.com/geopython/OWSLib/issues/301 for more
 information
   FutureWarning)
 {'status': 'succeded', 'errors': [], 'num_of_errors': '0'}

 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3558>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list