#9363 closed defect (cantfix)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 192-193: ordinal not in range(128)
Reported by: | keny | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.11.5 |
Severity: | normal | Keywords: | |
Cc: | support@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /backlog/Sprint Backlog
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'bscope': u'Defini\xe7\xe3o Arquitetura', 'name': u'Sprint Backlog', 'scope': None, 'view': u'View'}
User Agent was: Mozilla/5.0 (X11; U; Linux i686; pt-BR; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.6.3
System Information
Trac | 0.11.5
|
Python | 2.4.3 (#1, Sep 3 2009, 15:37:12) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
|
setuptools | 0.6c9
|
psycopg2 | 2.0.12
|
Genshi | 0.5.1
|
mod_python | 3.2.8
|
Agilo | 0.8.2.0.2-r1872-20090828
|
Subversion | 1.4.2 (r22196)
|
jQuery: | 1.3.2
|
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py", line 444, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/web/main.py", line 205, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/agilo-0.8.2.0.2_r1872_20090828-py2.4.egg/agilo/api/view.py", line 160, in process_request chrome.add_warning(req, unicode(e)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 192-193: ordinal not in range(128)
Attachments (0)
Change History (2)
follow-up: 2 comment:1 by , 15 years ago
Cc: | added |
---|---|
Resolution: | → cantfix |
Status: | new → closed |
comment:2 by , 15 years ago
Reporter: Please update to the latest Agilo for Scrum version, should be fixed there.
Replying to cboos:
(Hint for Agilo people: use
chrome.add_warning(req, exception_to_unicode(e))
, fromtrac.util.text
)
Yes, we're doing that now (even though we ship a custom fall-back implementation because exception_to_unicode is not in trac 0.11.1.
AgiloForScrum issue.
(Hint for Agilo people: use
chrome.add_warning(req, exception_to_unicode(e))
, fromtrac.util.text
)