[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 14:09:48 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 annakrat):

 Please try this (with r64834 in place):
 {{{
 #!diff
 Index: task.py
 ===================================================================
 --- task.py     (revision 65450)
 +++ task.py     (working copy)
 @@ -232,7 +232,7 @@
                  if p.get('default', '') != '':
                      cmd += ['%s=%s' % (p['name'], p['default'])]
                  elif ignoreErrors and not suppress_required and not
 ignoreRequired:
 -                    cmd += [('%s=%s' % (p['name'],
 _('<required>'))).decode('utf-8')]
 +                    cmd += ['%s=%s' % (p['name'], _('<required>'))]
              elif p.get('value', '') == '' and p.get('default', '') != ''
 and not ignoreDefault:
                  cmd += ['%s=%s' % (p['name'], p['default'])]
              elif p.get('value', '') != '' and \

 }}}

 This was introduced in r61704 and seems to be not needed with r64834.

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



More information about the grass-dev mailing list