Ticket #108 (closed defect: fixed)
wxgrass: trying to add legend gives UnicodeDecodeError
| Reported by: | mlennert | Owned by: | martinl |
|---|---|---|---|
| Priority: | major | Milestone: | 6.4.0 |
| Component: | Python | Version: | svn-trunk |
| Keywords: | wxgrass legend unicode | Cc: | mlennert@…, grass-dev@… |
| Platform: | CPU: |
Description
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
