#2614: wxgui Output save fails with UnicodeEncodeError
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.0.1
Component: wxGUI | Version: 7.0.0
Keywords: | Platform: MSWindows Vista
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Steps to reproduce:
* in Command console tab click on "save button"
* choose any file where to save output
* observe an error printed in command console:
{{{
Traceback (most recent call last):
File "C:\Program Files\GRASS GIS
7.0.0\gui\wxpython\gui_core\goutput.py", line 387, in
OnOutputSave
output.write(text)
UnicodeEncodeError
:
'ascii' codec can't encode character u'\u012b' in position
273: ordinal not in range(128)
}}}
Priority is Major, as it creates 0 byte size files. I lost another error
message due to not checking file contents after save
#2614: wxgui Output save fails with UnicodeEncodeError
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.0.1
Component: wxGUI | Version: 7.0.0
Keywords: | Platform: MSWindows Vista
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by marisn):
Replying to [comment:1 annakrat]:
> Could you try r64809 in trunk?
Yes, now it works just fine on my Vista VM and no bad side effects on
GNU/Linux. Needs backporting.
Replying to [comment:2 marisn]:
> Replying to [comment:1 annakrat]:
> > Could you try r64809 in trunk?
> Yes, now it works just fine on my Vista VM and no bad side effects on
GNU/Linux. Needs backporting.