#2918: Error when rendering a ticket page
----------------------------+-----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: 0.9.4
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
When accessing 1 of our tickets, we see the following python error
displayed on the web-browser:
{{{
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 283, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 170, in
dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 219,
in process_request
self._insert_ticket_data(req, db, ticket, reporter_id)
File "/usr/lib/python2.3/site-packages/trac/ticket/web_ui.py", line 393,
in _insert_ticket_data
req.hdf['ticket'] = ticket.values
File "/usr/lib/python2.3/site-packages/trac/web/clearsilver.py", line
194, in __setitem__
self.set_value(name, value, True)
File "/usr/lib/python2.3/site-packages/trac/web/clearsilver.py", line
236, in set_value
add_value(name, value)
File "/usr/lib/python2.3/site-packages/trac/web/clearsilver.py", line
228, in add_value
add_value('%s.%s' % (prefix, k), value[k])
File "/usr/lib/python2.3/site-packages/trac/web/clearsilver.py", line
218, in add_value
self.hdf.setValue(prefix, util.escape(value))
File "/usr/lib/python2.3/site-packages/trac/util/html.py", line 95, in
escape
text = unicode(text).replace('&', '&') \
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 199:
ordinal not in range(128)
}}}
Nothing is reported in the apache log.
All of the other tickets seem to work correctly. This has occurred
recently - at some point in the past this ticket would display correctly.
I am guessing that this may be a unicode related problem (eg #2903)
Our trac server environment is:
* Suse Enterprise Linux 9
* Apache 2.0.49
* trac r3029
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/2918>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets