GDAL
March 27, 2008, 9:49am
1
#108: wxgrass: trying to add legend gives UnicodeDecodeError
------------------------------------+---------------------------------------
Reporter: mlennert | Owner: grass-dev@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/
GDAL
March 27, 2008, 9:50am
2
#108: wxgrass: trying to add legend gives UnicodeDecodeError
-----------------------+----------------------------------------------------
Reporter: mlennert | Owner: grass-dev@lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxgrass legend unicode
-----------------------+----------------------------------------------------
Comment (by mlennert):
Sorry, forgot to mention that this is on Debian/Etch GNU/Linux.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/108#comment:1> ;
GRASS GIS <http://grass.osgeo.org >
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
GDAL
April 2, 2008, 8:42am
3
#108: wxgrass: trying to add legend gives UnicodeDecodeError
-----------------------+----------------------------------------------------
Reporter: mlennert | Owner: martinl
Type: defect | Status: assigned
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxgrass legend unicode
-----------------------+----------------------------------------------------
Changes (by martinl):
* status: new => assigned
* owner: grass-dev@lists.osgeo.org => martinl
* cc: grass-dev@lists.osgeo.org (added)
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/108#comment:2> ;
GRASS GIS <http://grass.osgeo.org >
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
GDAL
April 9, 2008, 11:03am
4
#108: wxgrass: trying to add legend gives UnicodeDecodeError
-----------------------+----------------------------------------------------
Reporter: mlennert | Owner: martinl
Type: defect | Status: assigned
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxgrass legend unicode
-----------------------+----------------------------------------------------
Comment (by martinl):
Should be fixed in trunk now, r30878. For adding legend you need to
specify raster map name in the properties dialog. Martin
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/108#comment:3> ;
GRASS GIS <http://grass.osgeo.org >
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
GDAL
April 9, 2008, 12:24pm
5
#108: wxgrass: trying to add legend gives UnicodeDecodeError
-----------------------+----------------------------------------------------
Reporter: mlennert | Owner: martinl
Type: defect | Status: assigned
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxgrass legend unicode
-----------------------+----------------------------------------------------
Comment (by mlennert):
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
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/108#comment:4> ;
GRASS GIS <http://grass.osgeo.org >
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
GDAL
April 10, 2008, 10:36am
6
#108: wxgrass: trying to add legend gives UnicodeDecodeError
-----------------------+----------------------------------------------------
Reporter: mlennert | Owner: martinl
Type: defect | Status: assigned
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: | Keywords: wxgrass legend unicode
-----------------------+----------------------------------------------------
Comment (by martinl):
Replying to [comment:4 mlennert]:
> 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 ?
Implemented, see r30922. Martin
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/108#comment:5> ;
GRASS GIS <http://grass.osgeo.org >
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
GDAL
April 19, 2008, 6:13pm
7
#108: wxgrass: trying to add legend gives UnicodeDecodeError
-----------------------+----------------------------------------------------
Reporter: mlennert | Owner: martinl
Type: defect | Status: closed
Priority: major | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Resolution: fixed | Keywords: wxgrass legend unicode
-----------------------+----------------------------------------------------
Changes (by martinl):
* status: assigned => closed
* resolution: => fixed
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/108#comment:6> ;
GRASS GIS <http://grass.osgeo.org >
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/