Opened 17 years ago
Closed 17 years ago
#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@… |
CPU: | Unspecified | Platform: | Unspecified |
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
Change History (6)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 17 years ago
Should be fixed in trunk now, r30878. For adding legend you need to specify raster map name in the properties dialog. Martin
follow-up: 5 comment:4 by , 17 years ago
Seems to be fixed, but see other error (#107).
However, would it be possible to preset the raster map name to the currently selected map, if it is a raster ?
Moritz
comment:5 by , 17 years ago
comment:6 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Sorry, forgot to mention that this is on Debian/Etch GNU/Linux.