[thuban-Bugs][404] UnicodeDecodeError with windows-1250 shapefile when generating classes
Bernhard Reiter
bernhard at intevation.de
Tue May 22 20:26:46 CEST 2007
Bram,
your code would do this?
At least there is a new example for your new code.
Can I assign the issue to you? ;)
Bernhard
On Tuesday 22 May 2007 13:02, thuban-bugs at wald.intevation.org wrote:
> Bugs item #404, was opened at 2007-05-22 13:02
> Status: Open
> Submitted By: Jachym Cepicky (jachym)
>
> 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
>
> _______________________________________________
> Thuban-devel mailing list
> Thuban-devel at intevation.de
> https://intevation.de/mailman/listinfo/thuban-devel
--
Managing Director - Owner: www.intevation.net (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20070522/9a8e4844/attachment.bin
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)