[thuban-Bugs][307] about.py raise utf8 exception in utf8 locales !
thuban-bugs@wald.intevation.org
thuban-bugs at wald.intevation.org
Wed Feb 21 10:18:04 CET 2007
Bugs item #307, was opened at 2007-02-21 10:18
Status: Open
Priority: 3
Submitted By: Didrik Pinte (dpinte)
Assigned to: Nobody (None)
Summary: about.py raise utf8 exception in utf8 locales !
Resolution: None
Version: None
Category: None
Initial Comment:
With the latest svn version, I receive the following exception when showing the About box :
did at geru-itae:~/projets/python/thuban/export/thuban$ python thuban.py
GTK Accessibility Module initialized
Problems with PyOGCLib (not installed?)
An unhandled exception occurred:
'utf8' codec can't decode bytes in position 2865-2870: unsupported Unicode code range
(please report to http://thuban.intevation.org/bugtracker.html)
Traceback (most recent call last):
File "/home/did/projets/python/thuban/export/thuban/Thuban/UI/mainwindow.py", line 297, in invoke_command
command.Execute(self.Context())
File "/home/did/projets/python/thuban/export/thuban/Thuban/UI/command.py", line 121, in Execute
apply(self.function, (context,) + self.args + args, kw)
File "/home/did/projets/python/thuban/export/thuban/Thuban/UI/mainwindow.py", line 1071, in call_method
apply(getattr(context.mainwindow, methodname), args)
File "/home/did/projets/python/thuban/export/thuban/Thuban/UI/mainwindow.py", line 546, in About
dlg = About(self)
File "/home/did/projets/python/thuban/export/thuban/Thuban/UI/about.py", line 154, in __init__
style=wx.TE_READONLY|wx.TE_MULTILINE|wx.TE_LINEWRAP)
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_controls.py", line 1777, in __init__
newobj = _controls_.new_TextCtrl(*args, **kwargs)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 2865-2870: unsupported Unicode code range
My locales are fr_BE at UTF-8.
I think this bug is a little bit annoying since Debian/Etch release will be using utf8 locales by default !
----------------------------------------------------------------------
You can respond by visiting:
http://wald.intevation.org/tracker/?func=detail&atid=105&aid=307&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)