[GRASS-dev] [GRASS GIS] #2257: Clicking on layer group in layer manager gives error

GRASS GIS trac at osgeo.org
Fri Apr 18 10:33:00 PDT 2014


#2257: Clicking on layer group in layer manager gives error
----------------------------------+-----------------------------------------
 Reporter:  wenzeslaus            |       Owner:  grass-dev@…              
     Type:  defect                |      Status:  new                      
 Priority:  minor                 |   Milestone:  7.0.0                    
Component:  wxGUI                 |     Version:  svn-trunk                
 Keywords:  lmgr, layers, groups  |    Platform:  All                      
      Cpu:  Unspecified           |  
----------------------------------+-----------------------------------------
 1. Add a layer group to layer list (''Add group'' in ''Layer manager''
 window)
  2. double click on the newly added (layer) group
  3. check error message in console

 {{{
 Traceback (most recent call last):
   File "/home/vasek/dev/grass/trunk_clang/dist.i686-pc-
 linux-gnu/etc/gui/wxpython/lmgr/layertree.py", line 1227, in
 OnActivateLayer

 self.PropertiesDialog(layer)
   File "/home/vasek/dev/grass/trunk_clang/dist.i686-pc-
 linux-gnu/etc/gui/wxpython/lmgr/layertree.py", line 1202, in
 PropertiesDialog

 cmd = [ltype2command[ltype]]
 KeyError
 :
 'group'
 }}}

 I must confess that I actually don't know what is the right behavior and
 how groups work in general. (If I would know I would probably create
 feature request also for adding temporal dataset as a group to lmgr, by
 the way).

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



More information about the grass-dev mailing list