Opened 4 years ago

Closed 4 years ago

#2703 closed defect (fixed)

'ascii' codec can't decode byte 0xf6 in position 12: ordinal not in range(128)

Reported by: hellik Owned by: grass-dev@…
Priority: blocker Milestone: 7.0.1
Component: Default Version: svn-releasebranch70
Keywords: Cc:
CPU: x86-64 Platform: MSWindows 7

Description

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

Change History (6)

comment:1 Changed 4 years ago by martinl

Priority: criticalblocker

comment:2 Changed 4 years ago 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

comment:3 in reply to:  2 ; Changed 4 years ago by hellik

Replying to 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

comment:4 in reply to:  3 ; Changed 4 years ago by martinl

Replying to 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?

comment:5 in reply to:  4 Changed 4 years ago by hellik

Replying to martinl:

Replying to 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.

comment:6 Changed 4 years ago by hellik

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.