Opened 5 years ago

Closed 4 years ago

#5482 closed defect (duplicate)

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

Reported by: tsn@… Owned by: k0s
Priority: normal Component: TracHoursPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11


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/", line 435, in _dispatch_request
  File "/usr/lib64/python2.4/site-packages/Trac-0.11.4-py2.4.egg/trac/web/", 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/", 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/", 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/", 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/", 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 5 years ago by anonymous

  • Severity changed from normal to major

comment:2 Changed 4 years ago by AdrianFritz

  • Resolution set to duplicate
  • Status changed from new to closed

See #4855. There also points a solutions.

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from k0s. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.