Detailed description |
|
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 |
|