#2800: wxGUI modeler: encoding issue
------------------------------+-------------------------
Reporter: mlennert | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: wxGUI | Version: svn-trunk
Keywords: modeler encoding | CPU: Unspecified
Platform: Unspecified |
------------------------------+-------------------------
Trying to add any command to the modeler, I get:
{{{
Traceback (most recent call last):
File
"/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
-unknown-linux-gnu/gui/wxpython/gmodeler/frame.py", line
692, in OnAddAction
self.itemPanel.Update()
File
"/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
-unknown-linux-gnu/gui/wxpython/gmodeler/frame.py", line
1623, in Update
self.list.OnReload(None)
File
"/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
-unknown-linux-gnu/gui/wxpython/gmodeler/dialogs.py", line
906, in OnReload
self.Populate(self.frame.GetModel().GetItems(objType=ModelAc
tion))
File
"/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
-unknown-linux-gnu/gui/wxpython/gmodeler/dialogs.py", line
842, in Populate
action.GetLog()]
File
"/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
-unknown-linux-gnu/gui/wxpython/gmodeler/model.py", line
1100, in GetLog
ignoreDefault = False)
File
"/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
-unknown-linux-gnu/etc/python/grass/script/task.py", line
243, in get_cmd
errList = self.get_cmd_error()
File
"/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
-unknown-linux-gnu/etc/python/grass/script/task.py", line
203, in get_cmd_error
{'name': p['name'], 'desc': desc})
UnicodeDecodeError
:
'ascii' codec can't decode byte 0xc3 in position 8: ordinal
not in range(128)
}}}
I have to then redraw the model canvas to see a white rectangle with the
command name, but clicking on that rectangle provokes the same error and
no other reaction.
I have this issue only in trung, not in 7.0.1.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2800>
GRASS GIS <https://grass.osgeo.org>