[GRASS-dev] [GRASS GIS] #107: wxgrass: trying to set options for scalebar or legend gives TypeError

GRASS GIS trac at osgeo.org
Thu Mar 27 05:42:11 EDT 2008


#107: wxgrass: trying to set options for scalebar or legend gives TypeError
---------------------------------------------+------------------------------
 Reporter:  mlennert                         |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect                           |      Status:  new                      
 Priority:  major                            |   Milestone:  6.4.0                    
Component:  Python                           |     Version:  svn-trunk                
 Keywords:  wxgrass overlay scalebar legend  |  
---------------------------------------------+------------------------------
 Clicking on the 'Set options' of either the scalebar or the legend overlay
 in the map display, I get the following traceback and no options window:

 Traceback (most recent call last):
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-
 gnu/etc/wxpython/gui_modules/mapdisp.py", line 3481, in OnOptions

 parentframe=self)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-
 gnu/etc/wxpython/gui_modules/menuform.py", line 1409, in ParseCommand

 propwin=self.mf)
 TypeError
 :
 GetOptData() got an unexpected keyword argument 'layer'



 My config: grass svn-head 20080327 python-wxgtk 2.8.7.1 python 2.4.4

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/107>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list