[GRASS-dev] [GRASS GIS] #1941: wxGUI fails with Japanese locale --> mixed Python installs on Windows (was: wxGUI fails with Japanese locale)
GRASS GIS
trac at osgeo.org
Wed Sep 11 13:25:06 PDT 2013
#1941: wxGUI fails with Japanese locale --> mixed Python installs on Windows
----------------------+-----------------------------------------------------
Reporter: venkat | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 7.0.0
Component: wxGUI | Version: svn-trunk
Keywords: wingrass | Platform: MSWindows 7
Cpu: x86-32 |
----------------------+-----------------------------------------------------
Description changed by hamish:
Old description:
> I get following error with the wxGUI while running
> GRASS7-svn when selecting modules form the menu.
> on Windows-7 in Japanese locale.
> I guess it is related to utf-8 encoding.
>
> ------------------------------------------------
> Traceback (most recent call last):
> File "C:\Program Files\GRASS GIS
> 7.0.svn\etc\gui\wxpython\lmgr\frame.py", line 737, in
> OnMenuCmd
>
> cmd = self.GetMenuCmd(event)
> File "C:\Program Files\GRASS GIS
> 7.0.svn\etc\gui\wxpython\lmgr\frame.py", line 722, in
> GetMenuCmd
>
> input = GUI().GetCommandInputMapParamKey(cmdlist[0])
> File "C:\Program Files\GRASS GIS
> 7.0.svn\etc\gui\wxpython\gui_core\forms.py", line 2301, in
> GetCommandInputMapParamKey
>
> gtask.get_interface_description(cmd).decode(enc).encode('utf
> -8')))
> UnicodeDecodeError
> :
> 'cp932' codec can't decode bytes in position 7074-7075:
> illegal multibyte sequence
New description:
I get following error with the wxGUI while running
GRASS7-svn when selecting modules form the menu.
on Windows-7 in Japanese locale.
I guess it is related to utf-8 encoding.
------------------------------------------------
{{{
Traceback (most recent call last):
File "C:\Program Files\GRASS GIS
7.0.svn\etc\gui\wxpython\lmgr\frame.py", line 737, in
OnMenuCmd
cmd = self.GetMenuCmd(event)
File "C:\Program Files\GRASS GIS
7.0.svn\etc\gui\wxpython\lmgr\frame.py", line 722, in
GetMenuCmd
input = GUI().GetCommandInputMapParamKey(cmdlist[0])
File "C:\Program Files\GRASS GIS
7.0.svn\etc\gui\wxpython\gui_core\forms.py", line 2301, in
GetCommandInputMapParamKey
gtask.get_interface_description(cmd).decode(enc).encode('utf
-8')))
UnicodeDecodeError
:
'cp932' codec can't decode bytes in position 7074-7075:
illegal multibyte sequence
}}}
--
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1941#comment:25>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list