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

#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&gt;
GRASS GIS <http://grass.osgeo.org>

#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: blocker | Milestone: 7.0.1
Component: Default | Version: svn-releasebranch70
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
----------------------+---------------------------------
Changes (by martinl):

* priority: critical => blocker

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2703#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#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: blocker | Milestone: 7.0.1
Component: Default | Version: svn-releasebranch70
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
----------------------+---------------------------------

Comment (by martinl):

Should be fixed in r65607 and r65608. Please try out the newest build (1).

(1)
http://wingrass.fsv.cvut.cz/grass70/WinGRASS-7.0.1svn-r65608-81-Setup.exe

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2703#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#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: blocker | Milestone: 7.0.1
Component: Default | Version: svn-releasebranch70
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
----------------------+---------------------------------

Comment (by hellik):

Replying to [comment:2 martinl]:
> Should be fixed in r65607 and r65608. Please try out the newest build
(1).
>
> (1)
http://wingrass.fsv.cvut.cz/grass70/WinGRASS-7.0.1svn-r65608-81-Setup.exe

tested with

{{{
GRASS Version: 7.0.1svn
GRASS SVN Revision: 65608
Erstellungsdatum: 2015-07-18
Build Platform: i686-pc-mingw32
GDAL/OGR: 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-Vista-6.0.6002-SP2
}}}

working now:

{{{
g.copy vector=firestations@PERMANENT,myfire
v.db.addcolumn map=myfire@user1 columns="xcoor double, ycoor double"
v.to.db map=myfire@user1 option=coor columns=xcoor,ycoor
-
v.patch --verbose input=geology@PERMANENT,streams@PERMANENT
output=geostreams
-
r.param.scale input="elevation@PERMANENT" output="mymorph"
slope_tolerance=1.0 curvature_tolerance=0.0001 size=3 method="feature"
exponent=0.0 zscale=1.0
}}}

waiting for the OSGeo4W-build before closing the ticket.

thanks

p.s. happy hacking in Como

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2703#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>

#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: blocker | Milestone: 7.0.1
Component: Default | Version: svn-releasebranch70
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
----------------------+---------------------------------

Comment (by martinl):

Replying to [comment:3 hellik]:

> waiting for the OSGeo4W-build before closing the ticket.

{{{
GRASS Version: 7.1.svn
GRASS SVN revision: 65609
Build date: 2015-07-18
}}}

I tried the latest build (note that OSGeo4w offers only daily builds of
trunk) and it seems to work. Can you confirm it?

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

#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: blocker | Milestone: 7.0.1
Component: Default | Version: svn-releasebranch70
Resolution: | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
----------------------+---------------------------------

Comment (by hellik):

Replying to [comment:4 martinl]:
> Replying to [comment:3 hellik]:
>
> > waiting for the OSGeo4W-build before closing the ticket.
>
> {{{
> GRASS Version: 7.1.svn
> GRASS SVN revision: 65609
> Build date: 2015-07-18
> }}}
>
> I tried the latest build (note that OSGeo4w offers only daily builds of
trunk) and it seems to work. Can you confirm it?

tested here with

{{{
GRASS Version: 7.1.svn
GRASS SVN revision: 65609
Build date: 2015-07-18
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-Vista-6.0.6002-SP2 (OSGeo4W)
}}}

seems to work; closing ticket.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2703#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#2703: 'ascii' codec can't decode byte 0xf6 in position 12: ordinal not in
range(128)
----------------------+---------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: blocker | Milestone: 7.0.1
Component: Default | Version: svn-releasebranch70
Resolution: fixed | Keywords:
       CPU: x86-64 | Platform: MSWindows 7
----------------------+---------------------------------
Changes (by hellik):

* status: new => closed
* resolution: => fixed

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2703#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>