[5.0] Utf-8 error in project_gtd when context contain éèà

Bug #343778 reported by Christophe CHAUVET
2
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Server revno: 1736
Addons revno: 2235
Client revno: 940

In Project Management -> Configuration -> Time Management -> Contexts

Context contain é è à ....

Open: Project management -> Time Management -> All my timeboxes

and see the server log

--------------8<---------------8<-------------
[2009-03-16 18:19:05,174] ERROR:web-services:[01]: Traceback (most recent call last):
[2009-03-16 18:19:05,175] ERROR:web-services:[02]: File "/home/kryskool/dev/5.0/dms/server/bin/osv/osv.py", line 59, in wrapper
[2009-03-16 18:19:05,175] ERROR:web-services:[03]: return f(self, dbname, *args, **kwargs)
[2009-03-16 18:19:05,176] ERROR:web-services:[04]: File "/home/kryskool/dev/5.0/dms/server/bin/osv/osv.py", line 119, in execute
[2009-03-16 18:19:05,176] ERROR:web-services:[05]: res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
[2009-03-16 18:19:05,177] ERROR:web-services:[06]: File "/home/kryskool/dev/5.0/dms/server/bin/osv/osv.py", line 111, in execute_cr
[2009-03-16 18:19:05,177] ERROR:web-services:[07]: return getattr(object, method)(cr, uid, *args, **kw)
[2009-03-16 18:19:05,177] ERROR:web-services:[08]: File "/home/kryskool/dev/5.0/dms/addons/project_gtd/project_gtd.py", line 140, in fields_view_get
[2009-03-16 18:19:05,178] ERROR:web-services:[09]: doc = dom.minidom.parseString(res['arch'])
[2009-03-16 18:19:05,178] ERROR:web-services:[10]: File "/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/minidom.py", line 1925, in parseString
[2009-03-16 18:19:05,178] ERROR:web-services:[11]: return expatbuilder.parseString(string)
[2009-03-16 18:19:05,179] ERROR:web-services:[12]: File "/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/expatbuilder.py", line 942, in parseString
[2009-03-16 18:19:05,179] ERROR:web-services:[13]: return builder.parseString(string)
[2009-03-16 18:19:05,179] ERROR:web-services:[14]: File "/usr/lib/python2.5/site-packages/oldxml/_xmlplus/dom/expatbuilder.py", line 223, in parseString
[2009-03-16 18:19:05,180] ERROR:web-services:[15]: parser.Parse(string, True)
[2009-03-16 18:19:05,180] ERROR:web-services:[16]: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 155: ordinal not in range(128)
--------------8<---------------8<-------------

Distribution: Ubuntu
Version: 8.10 (intrepid)
Python 2.5.2

Locale:
  LANG=fr_FR.UTF-8

Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

thanks applied

Changed in openobject-addons:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.