Modify ↓
Opened 13 years ago
Closed 13 years ago
#10701 closed defect (cantfix)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 2-4: ordinal not in range(128)
Reported by: | admin | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.12.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to Reproduce
While doing a GET operation on /report/10
, Trac issued an internal error.
(please provide additional details here)
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'10'}
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5
System Information
Trac | 0.12.3
|
Babel | 0.9.5
|
Docutils | 0.8.1
|
Genshi | 0.6
|
mod_python | 3.3.1
|
Pygments | 1.4
|
pysqlite | 2.6.0
|
Python | 2.7.3 (default, Apr 20 2012, 23:04:22) [GCC 4.6.3]
|
pytz | 2011k
|
RPC | 1.1.2-r11439
|
setuptools | 0.6c11
|
SQLite | 3.7.9
|
Subversion | 1.6.17 (r1128011)
|
jQuery | 1.4.4
|
Enabled Plugins
IniAdmin | 0.2-r10454
|
timingandestimationplugin | 1.2.7b
|
TracAccountManager | 0.4dev-r11364
|
TracXMLRPC | 1.1.2-r11439
|
Python Traceback
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.3-py2.7.egg/trac/web/main.py", line 522, in _dispatch_request dispatcher.dispatch(req) File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.3-py2.7.egg/trac/web/main.py", line 243, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.3-py2.7.egg/trac/ticket/report.py", line 118, in process_request template, data, content_type = self._render_view(req, id) File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.3-py2.7.egg/trac/ticket/report.py", line 532, in _render_view if resource.realm.upper()+'_VIEW' not in req.perm(resource): File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.3-py2.7.egg/trac/perm.py", line 553, in has_permission return self._has_permission(action, resource) File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.3-py2.7.egg/trac/perm.py", line 567, in _has_permission check_permission(action, perm.username, resource, perm) File "/usr/local/lib/python2.7/dist-packages/Trac-0.12.3-py2.7.egg/trac/perm.py", line 454, in check_permission perm) File "/usr/local/lib/python2.7/dist-packages/timingandestimationplugin-1.2.7b-py2.7.egg/timingandestimationplugin/ticket_policy.py", line 23, in check_permission rtn = self.check_ticket_access(perm, resource, username) File "/usr/local/lib/python2.7/dist-packages/timingandestimationplugin-1.2.7b-py2.7.egg/timingandestimationplugin/ticket_policy.py", line 61, in check_ticket_access self.log.warning("Internal: TandE ticket_policy failed to find a ticket for %s : error: %s" % (res, e)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 2-4: ordinal not in range(128)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
PluginIssue (TimingAndEstimationPlugin).