[GRASS-dev] [GRASS GIS] #2617: wxgui Raster query redirect to console UnicodeDecodeError
GRASS GIS
trac at osgeo.org
Sun Mar 8 03:32:30 PDT 2015
#2617: wxgui Raster query redirect to console UnicodeDecodeError
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: wxGUI | Version: svn-trunk
Keywords: | Platform: MSWindows Vista
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Steps to reproduce:
* use raster query tool to query raster
* check "redirect to console"
{{{
Vaicājuma rezultāti:
Traceback (most recent call last):
File "C:\Program Files\GRASS GIS
7.1.svn\gui\wxpython\gui_core\query.py", line 65, in
<lambda>
self.redirect.Bind(wx.EVT_CHECKBOX, lambda evt:
self._onRedirect(evt.IsChecked()))
File "C:\Program Files\GRASS GIS
7.1.svn\gui\wxpython\gui_core\query.py", line 143, in
_onRedirect
self.redirectOutput.emit(output=self._textToRedirect())
File "C:\Program Files\GRASS GIS
7.1.svn\gui\wxpython\gui_core\query.py", line 148, in
_textToRedirect
text = printResults(self._model, self._colNames[1])
File "C:\Program Files\GRASS GIS
7.1.svn\gui\wxpython\gui_core\query.py", line 215, in
printResults
return '\n'.join(textList)
UnicodeDecodeError
:
'ascii' codec can't decode byte 0xc4 in position 4: ordinal
not in range(128)
}}}
Also reported as a part of #2120;
7.0.0 is also affected.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2617>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list