[GRASS-dev] [GRASS GIS] #2727: wxGUI startup: 'ascii' codec can't decode byte 0xc3 in position 15: ordinal not in range(128)
GRASS GIS
trac at osgeo.org
Wed Aug 26 05:44:29 PDT 2015
#2727: wxGUI startup: 'ascii' codec can't decode byte 0xc3 in position 15: ordinal
not in range(128)
-------------------------+-------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.2
Component: wxGUI | Version: svn-trunk
Keywords: encoding | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
With a just freshly checked out trunk, and LANGUAGE=fr_BE, I get the
following error when trying to launch the wxgui:
{{{
Impossible d'analyser le fichier XML des outils utilisateur. Chargement de
l'arbre des modules par défaut.
Raison: 'ascii' codec can't decode byte 0xc3 in position 15: ordinal not
in range(128)
Traceback (most recent call last):
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/lmgr/menudata.py", line 62, in __init__
MenuTreeModelBuilder.__init__(self, filename,
expandAddons=expandAddons)
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/core/menutree.py", line 66, in __init__
expAddons(xmlTree)
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/core/toolboxes.py", line 346, in expandAddons
_expandRuntimeModules(root, loadMetadata=True)
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/core/toolboxes.py", line 596, in
_expandRuntimeModules
desc, keywords = _loadMetadata(name)
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/core/toolboxes.py", line 631, in _loadMetadata
e = _encode_string(e.value)
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/core/toolboxes.py", line 114, in _encode_string
return EncodeString(string)
File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-unknown-
linux-gnu/gui/wxpython/core/gcmd.py", line 92, in EncodeString
return string.encode(_enc)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 15:
ordinal not in range(128)
}}}
We just cannot seem to get rid of these kinds of errors. I think this
should be a top priority for work on the wxGUI in the near future as this
is a severe usability issue for many people around the world.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2727>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list