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

GRASS GIS trac at osgeo.org
Tue Jun 16 01:54:59 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 marisn):

 Replying to [comment:7 hellik]:
 > Replying to [comment:6 hellik]:
 > > language is set following:
 > >
 > > GUI preferences -> language -> system
 >
 > ok, I switched the language to englisch:
 >
 > {{{
 > GUI preferences -> language -> en
 > }}}
 >
 > this error disappears.
 >
 > maybe some error in the translation?
 Haven't tested, but it seems like the opposite. A string is translated but
 some python code expects it to be an ascii string. There have been similar
 issues already reported (see #2617 for longer discussion). Traceback
 indicates use of str method on unicode object in 'gui_core\forms.py' file.
 wxgui is full of such issues and in many places it is unknown if adding
 just a u' ' would not introduce problems elsewhere :( Backporting r64834
 could help in some cases but an overhaul of any string processing in wxgui
 is required with strict rules (that need to be created).

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



More information about the grass-dev mailing list