#1291: Profile tool fails to close if legend text contains non-latin letters
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: | Platform: MSWindows Vista
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Steps to reproduce:
* Start wx profile tool
* Profile options -> Profile plot settings
* Change "Transsect segment marker" legend text to "āšņļ"
* As there is no OK button (WTF? Designed for Mac users?!?), click "Save"
to close this window
* KaBOOM!
WinGRASS-6.4.SVN-r45518-1 on Windows Vista
{{{
Traceback (most recent call last):
File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/profile.py", line 1440, in
OnSave
File "c:/osgeo4w/usr/src/grass64_release/dist.i686-pc-
mingw32/etc/wxpython/gui_modules/preferences.py", line 801,
in SaveToFile
gui_modules.gcmd
.
GException
:
Writing settings to file <C:\Users\tests\.grasswx6> failed.
Details: 'ascii' codec can't encode character u'\u0113' in
position 7: ordinal not in range(128)
#1291: Profile tool fails to close if legend text contains non-latin letters
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: | Platform: All
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by marisn):
* keywords: wingrass =>
* platform: MSWindows Vista => All
Comment:
6.4.1 r45616 Gentoo ~AMD64
{{{
Traceback (most recent call last):
File "/home/maris/soft/grass_64/dist.x86_64-unknown-linux-
gnu/etc/wxpython/gui_modules/profile.py", line 1440, in
OnSave
file = UserSettings.SaveToFile(fileSettings)
File "/home/maris/soft/grass_64/dist.x86_64-unknown-linux-
gnu/etc/wxpython/gui_modules/preferences.py", line 801, in
SaveToFile
'detail' : e })
gui_modules.gcmd
.
GException
:
Writing settings to file </home/maris/.grasswx6> failed.
Details: 'ascii' codec can't encode characters in position
7-11: ordinal not in range(128)
}}}