[GRASS-dev] [GRASS GIS] #3219: wxnviz: encoding error when exporting image file with accent in name
GRASS GIS
trac at osgeo.org
Wed Dec 7 02:02:56 PST 2016
#3219: wxnviz: encoding error when exporting image file with accent in name
-------------------------------+-------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.6
Component: wxGUI | Version: unspecified
Keywords: 3d image encoding | CPU: Unspecified
Platform: Unspecified |
-------------------------------+-------------------------
Trying to export a file named '3d_avec_décorations' from the 3D view in
the wxDisplay, I get:
{{{
Traceback (most recent call last):
File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
linux-gnu/gui/wxpython/mapdisp/frame.py", line 664, in
SaveToFile
width, height)
File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
linux-gnu/gui/wxpython/nviz/mapwindow.py", line 2650, in
SaveToFile
self._display.SaveToFile(FileName, width, height, FileType)
File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc-
linux-gnu/gui/wxpython/nviz/wxnviz.py", line 1842, in
SaveToFile
GS_write_tif(filename)
ctypes
.
ArgumentError
:
argument 1: <type 'exceptions.UnicodeEncodeError'>: 'ascii'
codec can't encode character u'\xe9' in position 24: ordinal
not in range(128)
}}}
Tested both in 7.0.5 and 7.3.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3219>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list