Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#8458 closed defect (invalid)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Reported by: tsn@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11) Gecko/2009060309 Ubuntu/9.04 (jaunty) Firefox/3.0.11

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 (1)

comment:1 by Emmanuel Blot, 15 years ago

Resolution: invalid
Status: newclosed

PluginIssue (/hours is not part of Trac core)

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.