Opened 12 years ago
Last modified 9 years ago
#1856 new defect
wxGUI with LANG=pl_PL.utf8 throws "'ascii' codec can't decode byte"
Reported by: | msieczka | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.6 |
Component: | wxGUI | Version: | svn-releasebranch64 |
Keywords: | LANG, locale | Cc: | grass-dev@… |
CPU: | x86-64 | Platform: | Linux |
Description
GRASS SVN releasebranch_64 r54578.
Steps to reproduce:
- Set your LANG to pl_PL.utf8:
$ locale | grep LANG LANG=pl_PL.utf8
- Run GRASS in wxGUI mode.
- Add any vector map (eg. spearfish60/bugsites) to Map Layers.
- Right click the vector map in Map Layers > Metadata = error:
Traceback (most recent call last): File "/opt/grass64-svn/etc/wxpython/gui_core/goutput.py", line 749, in OnCmdOutput self.cmdOutput.AddTextWrapped(message, wrap = None) File "/opt/grass64-svn/etc/wxpython/gui_core/goutput.py", line 1228, in AddTextWrapped txt = EncodeString(txt) File "/opt/grass64-svn/etc/wxpython/core/gcmd.py", line 103, in EncodeString return string.encode(enc) File "/usr/lib/python2.7/encodings/iso8859_2.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_table) UnicodeDecodeError : 'ascii' codec can't decode byte 0xb3 in position 7: ordinal not in range(128) Traceback (most recent call last): File "/opt/grass64-svn/etc/wxpython/gui_core/goutput.py", line 749, in OnCmdOutput self.cmdOutput.AddTextWrapped(message, wrap = None) File "/opt/grass64-svn/etc/wxpython/gui_core/goutput.py", line 1228, in AddTextWrapped txt = EncodeString(txt) File "/opt/grass64-svn/etc/wxpython/core/gcmd.py", line 103, in EncodeString return string.encode(enc) File "/usr/lib/python2.7/encodings/iso8859_2.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_table) UnicodeDecodeError : 'ascii' codec can't decode byte 0xf3 in position 14: ordinal not in range(128) (Sun Jan 20 19:46:39 2013) Polecenie zakończone (0 sec)
Python version used:
GRASS 6.4.3svn (spearfish60):~ > python --version Python 2.7.3
Change History (6)
follow-up: 2 comment:1 by , 11 years ago
Milestone: | 6.4.3 → 6.4.4 |
---|
comment:2 by , 11 years ago
comment:6 by , 9 years ago
Milestone: | 6.4.4 → 6.4.6 |
---|
Note:
See TracTickets
for help on using tickets.
Is this still an issue?