[GRASS-dev] [GRASS GIS] #108: wxgrass: trying to add legend gives UnicodeDecodeError

GRASS GIS trac at osgeo.org
Thu Mar 27 05:49:04 EDT 2008


#108: wxgrass: trying to add legend gives UnicodeDecodeError
------------------------------------+---------------------------------------
 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 legend unicode  |  
------------------------------------+---------------------------------------
 In the map display, clicking on "Add overlay", then on legend, then on OK
 in the window that appears, gives the following error:

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

 self.Map.Render(force=True)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-
 gnu/etc/wxpython/gui_modules/render.py", line 654, in Render

 if not layer.Render():
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-
 gnu/etc/wxpython/gui_modules/render.py", line 133, in Render

 stderr=None)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-
 gnu/etc/wxpython/gui_modules/gcmd.py", line 355, in __init__

 message="%s '%s'%s%s%s %s%s" %
 UnicodeDecodeError
 :
 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in
 range(128)


 grass svn-head 20080327 python-wxgtk 2.8.7.1 python 2.4.4

 Moritz

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


More information about the grass-dev mailing list