[GRASS-dev] [GRASS GIS] #1412: Different problem with scalebar in GRASS 6.5

GRASS GIS trac at osgeo.org
Tue Jul 26 19:07:33 EDT 2011


#1412: Different problem with scalebar in GRASS 6.5
-------------------------+--------------------------------------------------
 Reporter:  cmbarton     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  major        |   Milestone:  6.5.0                    
Component:  wxGUI        |     Version:  svn-develbranch6         
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 The north arrow in GRASS 6.5 looks OK and is not multiple (as I just
 reported as a problem in GRASS 7 (trac #1410).

 BUT, once you've added a scale bar or north arrow, you cannot change it.
 Neither double clicking or nor trying to access the dialog called from the
 toolbar will access it. These both generate the following error:

 {{{
 Traceback (most recent call last):
   File "/Users/Shared/grass_dev/grass65_dev/dist.i386-apple-
 darwin10.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
 line 1025, in MouseActions

 self.OnButtonDClick(event)
   File "/Users/Shared/grass_dev/grass65_dev/dist.i386-apple-
 darwin10.8.0/etc/wxpython/gui_modules/mapdisp_window.py",
 line 1300, in OnButtonDClick

 self.parent.OnAddBarscale(None)
   File "/Users/Shared/grass_dev/grass65_dev/dist.i386-apple-
 darwin10.8.0/etc/wxpython/gui_modules/mapdisp.py", line
 1761, in OnAddBarscale

 ctrltxt = _("scale object"))
   File "/Users/Shared/grass_dev/grass65_dev/dist.i386-apple-
 darwin10.8.0/etc/wxpython/gui_modules/gdialogs.py", line
 496, in __init__

 mapName, found = utils.GetLayerNameFromCmd(self.parent.MapWi
 ndow.overlays[self.ovlId]['cmd'])
   File "/Users/Shared/grass_dev/grass65_dev/dist.i386-apple-
 darwin10.8.0/etc/wxpython/gui_modules/utils.py", line 160,
 in GetLayerNameFromCmd

 maps.append(dcmd[i].split('=', 1)[1])
 IndexError
 :
 list index out of range

 }}}

 Michael

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



More information about the grass-dev mailing list