#3219 closed defect (fixed)
wxnviz: encoding error when exporting image file with accent in name
Reported by: | mlennert | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.6 |
Component: | wxGUI | Version: | unspecified |
Keywords: | 3d image encoding | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
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.
Note:
See TracTickets
for help on using tickets.
In 70029: