Modify ↓
Opened 15 years ago
Closed 14 years ago
#5482 closed defect (duplicate)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range#128#
Reported by: | Owned by: | Jeff Hammel | |
---|---|---|---|
Priority: | normal | Component: | TracHoursPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
How to Reproduce
While doing a GET operation on /hours
, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'format': u'rss', 'from_day': u'30', 'from_month': u'6', 'from_year': u'2009', 'to_day': u'7', 'to_month': u'7', 'to_year': u'2009'}
User Agent was: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
System Information
Trac | 0.11.4
|
Python | 2.4.2 (#1, Sep 25 2007, 16:14:01) [GCC 4.1.2 20070115 (prerelease) (SUSE Linux)]
|
setuptools | 0.6c9
|
SQLite | 3.3.17
|
pysqlite | 1.1.8
|
Genshi | 0.5.1
|
mod_python | < 3.2
|
Pygments | 1.0
|
Subversion | 1.6.2 (r37639)
|
jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 435, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib64/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/main.py", line 205, in dispatch resp = chosen_handler.process_request(req) File "/usr/local/lib64/python2.4/site-packages/TracHoursPlugin-0.3.1-py2.4.egg/trachours/hours.py", line 150, in process_request return self.process_timeline(req) File "/usr/local/lib64/python2.4/site-packages/TracHoursPlugin-0.3.1-py2.4.egg/trachours/hours.py", line 491, in process_timeline return self.display_html(req, query) File "/usr/local/lib64/python2.4/site-packages/TracHoursPlugin-0.3.1-py2.4.egg/trachours/hours.py", line 804, in display_html return self.queryhours2rss(req, data) File "/usr/local/lib64/python2.4/site-packages/TracHoursPlugin-0.3.1-py2.4.egg/trachours/hours.py", line 874, in queryhours2rss adapted['title'] = '%s: Hours worked on %s from %s to %s' % (data['title'], UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range#128#
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
Severity: | normal → major |
---|
comment:2 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
See #4855. There also points a solutions.