[GRASS-dev] [GRASS GIS] #2703: 'ascii' codec can't decode byte 0xf6 in position 12: ordinal not in range(128)

GRASS GIS trac at osgeo.org
Sat Jul 4 04:03:14 PDT 2015


#2703: 'ascii' codec can't decode byte 0xf6 in position 12: ordinal not in
range(128)
-------------------------+---------------------------------
 Reporter:  hellik       |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  critical     |  Milestone:  7.0.1
Component:  Default      |    Version:  svn-releasebranch70
 Keywords:               |        CPU:  x86-64
 Platform:  MSWindows 7  |
-------------------------+---------------------------------
 refering to http://lists.osgeo.org/pipermail/grass-
 dev/2015-July/075646.html

 now tested with

 {{{
 GRASS Version: 7.1.svn
 GRASS SVN revision: 65537
 Build date: 2015-07-03
 Build platform: i686-pc-mingw32
 GDAL: 1.11.2
 PROJ.4: 4.8.0
 GEOS: 3.4.2
 SQLite: 3.7.17
 Python: 2.7.4
 wxPython: 2.8.12.1
 Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)
 }}}

 example 1 - v.to.db

 choose layer from vector drop down menue:

 {{{
 Traceback (most recent call last):
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 2221, in OnSetValue

 self.OnUpdateValues(event)
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 628, in updateValuesHook

 self.SetStatusText('
 '.join(self.notebookpanel.createCmd(ignoreErrors = True)))
 UnicodeDecodeError
 :
 'ascii' codec can't decode byte 0xf6 in position 11: ordinal
 not in range(128)
 }}}

 - choose option e.g. coor from drop down menue:


 {{{
 Traceback (most recent call last):
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 2221, in OnSetValue

 self.OnUpdateValues(event)
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 628, in updateValuesHook

 self.SetStatusText('
 '.join(self.notebookpanel.createCmd(ignoreErrors = True)))
 UnicodeDecodeError
 :
 'ascii' codec can't decode byte 0xf6 in position 12: ordinal
 not in range(128)
 Traceback (most recent call last):
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 2221, in OnSetValue

 self.OnUpdateValues(event)
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 628, in updateValuesHook

 self.SetStatusText('
 '.join(self.notebookpanel.createCmd(ignoreErrors = True)))
 UnicodeDecodeError
 :
 'ascii' codec can't decode byte 0xf6 in position 12: ordinal not in
 range(128)
 }}}

 => no entry in the drop down menue for choosing columns

 example 2 - v.patch

 choose layer from vector drop down menue:

 {{{
 Traceback (most recent call last):
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 2221, in OnSetValue

 self.OnUpdateValues(event)
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 628, in updateValuesHook

 self.SetStatusText('
 '.join(self.notebookpanel.createCmd(ignoreErrors = True)))
 UnicodeDecodeError
 :
 'ascii' codec can't decode byte 0xf6 in position 11: ordinal
 not in range(128)
 }}}

 example 3 - r.param.scale

 choosing layer from raster drop down menue:

 {{{
 Traceback (most recent call last):
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 2221, in OnSetValue

 self.OnUpdateValues(event)
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 628, in updateValuesHook

 self.SetStatusText('
 '.join(self.notebookpanel.createCmd(ignoreErrors = True)))
 UnicodeDecodeError
 :
 'ascii' codec can't decode byte 0xf6 in position 11: ordinal
 not in range(128)
 }}}

 example 4 - invoking v.db.addcolumn

 {{{
 Traceback (most recent call last):
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 2056, in OnUpdateDialog

 self.parent.updateValuesHook()
   File "C:\OSGEO4~2\apps\grass\grass-7.1.svn\gui\wxpython\gu
 i_core\forms.py", line 628, in updateValuesHook

 self.SetStatusText('
 '.join(self.notebookpanel.createCmd(ignoreErrors = True)))
 UnicodeDecodeError
 :
 'ascii' codec can't decode byte 0xf6 in position 12: ordinal
 not in range(128)
 }}}


 otherwise choosing layer from drop down menue works for e.g.

 d.vect
 g.copy
 g.remove
 ...

 all works if I change locale to english

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



More information about the grass-dev mailing list