Opened 14 years ago
Closed 14 years ago
#9687 closed defect (cantfix)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
Reported by: | Owned by: | bobbysmith007 | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
has installed: setuptools-0.6c11-py2.4.egg Genshi-0.6-py2.4.egg Babel-1.0dev_r546-py2.4.egg pytz-2010l-py2.4.egg simplejson-2.1.1-py2.4-linux-i686.egg docutils-0.7-py2.4.egg epydoc-3.0.1-py2.4.egg Pygments-1.3.1-py2.4.egg elementtree-1.2.7_20070827_preview-py2.4.egg Trac-0.12-py2.4.egg SvnAuthzAdminPlugin-0.1.2._Moved.to.Trac.0.11_-py2.4.egg TracHTTPAuth-1.1-py2.4.egg TracAccountManager-0.2.1dev_r9263-py2.4.egg TracGanttCalendarPlugin-0.1.0-py2.4.egg timingandestimationplugin-1.0.6b-py2.4.egg |
||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /report/11
, Trac issued an internal error.
I'm using Chinese to name milestones. When I'm trying show "Milestone Work Summary". It show me this error.
Request parameters:
{'ACCEPTED': u'accepted', 'ASSIGNED': u'assigned', 'BILLABLE': u'1', 'CLOSED': u'closed', 'ENDDATE': u'2000000000000000', 'NEW': u'new', 'REOPENED': u'reopened', 'STARTDATE': u'0', 'UNBILLABLE': u'1', 'id': u'11'}
User agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; zh-CN; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
System Information
Trac | 0.12
|
Babel | 1.0dev-r546
|
Docutils | 0.7
|
Genshi | 0.6
|
Pygments | 1.3.1
|
pysqlite | 2.6.0
|
Python | 2.4.3 (#1, Sep 3 2009, 15:37:12) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
|
pytz | 2010l
|
setuptools | 0.6c11
|
SQLite | 3.3.6
|
Subversion | 1.6.13 (r1002816)
|
jQuery | 1.4.2
|
Enabled Plugins
SvnAuthzAdminPlugin | 0.1.2.-Moved.to.Trac.0.11-
|
timingandestimationplugin | 1.0.6b
|
TracAccountManager | 0.2.1dev-r9263
|
TracGanttCalendarPlugin | 0.1.0
|
TracHTTPAuth | 1.1
|
Python Traceback
Traceback (most recent call last): File "build/bdist.linux-i686/egg/trac/web/main.py", line 513, in _dispatch_request File "build/bdist.linux-i686/egg/trac/web/main.py", line 235, in dispatch File "build/bdist.linux-i686/egg/trac/ticket/report.py", line 118, in process_request File "build/bdist.linux-i686/egg/trac/ticket/report.py", line 520, in _render_view File "build/bdist.linux-i686/egg/trac/perm.py", line 553, in has_permission File "build/bdist.linux-i686/egg/trac/perm.py", line 566, in _has_permission File "build/bdist.linux-i686/egg/trac/perm.py", line 454, in check_permission File "build/bdist.linux-i686/egg/timingandestimationplugin/ticket_policy.py", line 23, in check_permission File "build/bdist.linux-i686/egg/timingandestimationplugin/ticket_policy.py", line 53, in check_ticket_access UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-2: ordinal not in range(128)
PluginIssue (TH:TimingAndEstimationPlugin).
Btw, creative use of the release notes… ;-)