Edgewall Software
Modify

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#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)

comment:1 by Christian Boos, 14 years ago

Cc: support@… added
Resolution: cantfix
Status: newclosed

AgiloForScrum issue.

(Hint for Agilo people: use chrome.add_warning(req, exception_to_unicode(e)), from trac.util.text)

in reply to:  1 comment:2 by Felix Schwarz, 14 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)), from trac.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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.