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

GRASS GIS trac at osgeo.org
Fri May 30 12:52:12 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):

 Tried again: I open g.gui.mapswipe, switch to "Advanced mode", then bacl
 to "Simple mode" and

 {{{
 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/mapswipe/dialogs.py", line 176, in OnSwitchMode
     self._switchMode(simple=True)
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/mapswipe/dialogs.py", line 172, in _switchMode
     self.applyChanges.emit()
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/etc/python/grass/pydispatch/signal.py", line 229, in emit
     dispatcher.send(signal=self, *args, **kwargs)
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/etc/python/grass/pydispatch/dispatcher.py", line 343, in send
     **named
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/etc/python/grass/pydispatch/robustapply.py", line 57, in robustApply
     return receiver(*arguments, **named)
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/mapswipe/frame.py", line 401, in OnApplyInputChanges
     self.ZoomToMap()
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/mapswipe/frame.py", line 337, in ZoomToMap
     self.GetFirstWindow().ZoomToMap(layers = layers)
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/mapwin/buffered.py", line 1742, in ZoomToMap
     layers =
 self._giface.GetLayerList().GetSelectedLayers(checkedOnly=False)
   File "/home/neteler/software/grass71/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/core/giface.py", line 257, in GetLayerList
     raise NotImplementedError()
 NotImplementedError
 }}}

 Still the windows are existing. Then I go back to "Advanced", select RGB,
 when closing that dialog I get

 {{{
 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
 }}}

 Some initialization issue is still there...

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



More information about the grass-dev mailing list