[GRASS-dev] [GRASS GIS] #2315: wxGUI mapswipe: icon AddLayerRGB wish

GRASS GIS trac at osgeo.org
Fri May 30 12:42:45 PDT 2014


#2315: wxGUI mapswipe: icon AddLayerRGB wish
-------------------------+--------------------------------------------------
 Reporter:  neteler      |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  wxGUI        |     Version:  svn-releasebranch70      
 Keywords:  mapswipe     |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by neteler):

 Now the icon is there and the RGB channels can be loaded. Only this issue
 happens
 when adding as second map a "normal" raster map:

 {{{
 GRASS 7.1.svn (nc_spm_08_grass7):~ > g.gui.mapswipe
 GRASS 7.1.svn (nc_spm_08_grass7):~ > Traceback (most recent call last):
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/gui_core/forms.py", line 662, in OnOK
     cmd = self.OnApply(event)
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/gui_core/forms.py", line 677, in OnApply
     self)
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/gui_core/simplelmgr.py", line 333, in GetOptData
     self._update()
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/gui_core/simplelmgr.py", line 301, in _update
     self._checkList.SetItems(items)
   File "/usr/lib64/python2.7/site-
 packages/wx-2.8-gtk2-unicode/wx/_core.py", line 11984, in SetItems
     self.AppendItems(items)
   File "/usr/lib64/python2.7/site-
 packages/wx-2.8-gtk2-unicode/wx/_core.py", line 11846, in AppendItems
     return _core_.ItemContainer_AppendItems(*args, **kwargs)
 TypeError: String or Unicode type required
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2315#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list