Modify ↓
Opened 18 years ago
Closed 18 years ago
#5089 closed defect (wontfix)
'utf8' codec can't decode byte 0x96 in position 18: unexpected code byte
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | ticket system | Version: | 0.9.3 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When trying to access: http://code.campware.org/projects/campsite/ticket/266
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler dispatch_request(mpr.path_info, mpr, env) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 211, in process_request self._insert_ticket_data(req, db, ticket, reporter_id) File "/usr/lib/python2.4/site-packages/trac/ticket/web_ui.py", line 392, in _insert_ticket_data changelog = ticket.get_changelog(db=db) File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line 271, in get_changelog for t, author, field, oldvalue, newvalue in cursor: File "/usr/lib/python2.4/site-packages/trac/db.py", line 83, in __iter__ row = self.cursor.fetchone() File "/usr/lib/python2.4/site-packages/trac/db.py", line 230, in fetchone return row and self._convert_row(row) or None File "/usr/lib/python2.4/site-packages/trac/db.py", line 226, in _convert_row return tuple([(isinstance(v, unicode) and [v.encode('utf-8')] or [v])[0] UnicodeDecodeError: 'utf8' codec can't decode byte 0x96 in position 18: unexpected code byte
Attachments (0)
Note:
See TracTickets
for help on using tickets.
You have to inform the maintainers of that Trac that they have some bogus content in that ticket - they need to fix it manually in the database.
That was probably some latin1 data created by the trac-post-commit-hook. Recent versions of this hook (for 0.10.x and 0.11dev, but not for 0.9.x) have already been fixed.