[GRASS-dev] [GRASS GIS] #2827: wxGUI: encoding error in error messages

GRASS GIS trac at osgeo.org
Tue Dec 15 05:48:34 PST 2015


#2827: wxGUI: encoding error in error messages
-------------------------+---------------------------------
 Reporter:  mlennert     |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  7.0.3
Component:  wxGUI        |    Version:  svn-releasebranch70
 Keywords:  encoding     |        CPU:  Unspecified
 Platform:  Unspecified  |
-------------------------+---------------------------------
 In several modules, whenever I try to launch the module with missing
 parameters, I get an error message as such in the command console of the
 wxGUI, but no error message in the module output tab:


 {{{
 Traceback (most recent call last):
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/gui/wxpython/gui_core/forms.py", line
 696, in OnRun

 cmd = self.createCmd()
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/gui/wxpython/gui_core/forms.py", line
 791, in createCmd

 ignoreRequired = ignoreRequired)
   File "/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64
 -unknown-linux-gnu/gui/wxpython/gui_core/forms.py", line
 2344, in createCmd

 message = unicode(err),
 UnicodeDecodeError
 :
 'ascii' codec can't decode byte 0xc3 in position 8: ordinal
 not in range(128)
 }}}

 Reproduced with trunk, grass70_release and grass 7.0.2 with locale
 fr_BE.utf8.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2827>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list