[GRASS-dev] [GRASS GIS] #2120: wxgui: encoding errors

GRASS GIS trac at osgeo.org
Sat May 17 23:37:02 PDT 2014


#2120: wxgui: encoding errors
-----------------------------+----------------------------------------------
 Reporter:  mlennert         |       Owner:  grass-dev@…              
     Type:  defect           |      Status:  new                      
 Priority:  normal           |   Milestone:  6.4.4                    
Component:  wxGUI            |     Version:  svn-releasebranch64      
 Keywords:  locale encoding  |    Platform:  Unspecified              
      Cpu:  Unspecified      |  
-----------------------------+----------------------------------------------

Comment(by hcho):

 I see the same error message in 7 trunk when I check "Redirect to console"
 in the wx monitor.
 {{{
 Traceback (most recent call last):
   File "/home/grass/trunk/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/gui_core/query.py", line 65, in <lambda>
     self.redirect.Bind(wx.EVT_CHECKBOX, lambda evt:
 self._onRedirect(evt.IsChecked()))
   File "/home/grass/trunk/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/gui_core/query.py", line 143, in _onRedirect
     self.redirectOutput.emit(output=self._textToRedirect())
   File "/home/grass/trunk/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/gui_core/query.py", line 148, in _textToRedirect
     text = printResults(self._model, self._colNames[1])
   File "/home/grass/trunk/dist.x86_64-unknown-linux-
 gnu/gui/wxpython/gui_core/query.py", line 213, in printResults
     return '\n'.join(textList)
 UnicodeDecodeError: 'ascii' codec can't decode byte 0xea in position 2:
 ordinal not in range(128)
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2120#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list