[GRASS-dev] [GRASS GIS] #2634: 'utf8' codec can't decode byte 0xf6 in position 8: invalid start byte

GRASS GIS trac at osgeo.org
Wed Jul 1 13:55:38 PDT 2015


#2634: 'utf8' codec can't decode byte 0xf6 in position 8: invalid start byte
-----------------------+-------------------------
  Reporter:  hellik    |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  critical  |  Milestone:  7.0.1
 Component:  Default   |    Version:  svn-trunk
Resolution:            |   Keywords:  utf, wxgui
       CPU:  x86-32    |   Platform:  MSWindows 7
-----------------------+-------------------------

Comment (by hellik):

 Replying to [comment:17 annakrat]:
 > Have anyone tried to investigate where the utf8 error comes from?
 Perhaps r65462 is not the problem. I agree with reverting it for the
 release, but it should stay in trunk for more investigation.

 {{{
 g.gisenv set=DEBUG=3
 }}}

 {{{
 C:\>r.slope.aspect
 D1/3: G_set_program_name(): r.slope.aspect
 D2/3: G_file_name(): path = C:\grassdata/gbifwgs84/chechdb
 D3/3: G_recreate_command()
 D3/3: win_spawn: args = C:\windows\system32\cmd.exe /c
 "C:\OSGEO4~2\bin\python.e
 xe C:\OSGEO4~2\apps\grass\grass-7.1.svn/gui/wxpython/gui_core/forms.py
 r.slope.a
 spect"
 D1/3: G_set_program_name(): g.gisenv
 D3/3: G_option_to_separator(): key = separator -> sep = '
 '
 D1/3: grass.script.core.start_command(): g.gisenv -n
 D1/3: G_set_program_name(): g.gisenv
 D3/3: G_option_to_separator(): key = separator -> sep = '
 '
 Traceback (most recent call last):
   File
 "C:\OSGEO4~2\apps\grass\grass-7.1.svn/gui/wxpython/gui_core/forms.py", li
 ne 2545, in <module>
     Debug.msg(1, "forms.py opening form for: %s" %
 task.get_cmd(ignoreErrors=Tru
 e))
   File
 "C:\OSGEO4~2\apps\grass\grass-7.1.svn\etc\python\grass\script\task.py", l
 ine 235, in get_cmd
     cmd += [('%s=%s' % (p['name'], _('<required>'))).decode('utf-8')]
   File "C:\OSGEO4~2\apps\Python27\lib\encodings\utf_8.py", line 16, in
 decode
     return codecs.utf_8_decode(input, errors, True)
 UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 14:
 invalid
 start byte

 C:\>
 }}}

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



More information about the grass-dev mailing list