[thuban-Bugs][404] can not retrieve dat from attribute table

thuban-bugs@wald.intevation.org thuban-bugs at wald.intevation.org
Tue May 22 13:02:44 CEST 2007


Bugs item #404, was opened at 2007-05-22 13:02
Status: Open
Priority: 3
Submitted By: Jachym Cepicky (jachym)
Assigned to: Nobody (None)
Summary: can not retrieve dat from attribute table 
Resolution: None
Version: None
Category: None


Initial Comment:
Hi,

in my shape file, several non-utf (mainly windows-1250) encoding text appeard. When I want to generate classes in properties window, based on this column, I get this error:

An unhandled exception occurred:
'utf8' codec can't decode bytes in position 3-6: invalid data
(please report to http://thuban.intevation.org/bugtracker.html)

Traceback (most recent call last):
  File "/usr/lib/thuban/Thuban/UI/classgen.py", line 762, in _OnRetrieve
    i = self.list_avail.InsertStringItem(index, str(v))
  File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_controls.py", line 4698, in InsertStringItem
    return _controls_.ListCtrl_InsertStringItem(*args, **kwargs)
  File "encodings/utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 3-6: invalid data

thuban svn

----------------------------------------------------------------------

You can respond by visiting: 
http://wald.intevation.org/tracker/?func=detail&atid=105&aid=404&group_id=6




More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)