#3128: UnicodeDecodeError in /account
------------------------------------------+---------------------------------
Reporter: Markus Tacker <[EMAIL PROTECTED]> | Owner: cboos
Type: defect | Status: assigned
Priority: normal | Milestone: 0.10
Component: general | Version: devel
Severity: normal | Resolution:
Keywords: UnicodeDecodeError |
------------------------------------------+---------------------------------
Changes (by cboos):
* milestone: => 0.10
* owner: jonas => cboos
* status: new => assigned
Comment:
So apparently there are parts of Python which create localized
error messages as `str` object with some encoding (the locale encoding?),
and not using `unicode` objects for that.
Ok, so I think I'll have to apply the above patch.
(Btw, Markus, can you try to apply the patch, as from the line
{{{
PythonHandler trac.web.modpython_frontend: File "/usr/lib/python2.4
/site-packages/trac/util/__init__.py", line 108, in to_unicode\n return
' '.join([unicode(arg) for arg in text.args])
}}}
it doesn't look that you applied it, it must be `[to_unicode(arg) ...`
instead of `[unicode(arg)...`)
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3128>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets