Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#2529 closed defect (worksforme)

unicode error viewing ticket (with workaround)

Reported by: koral Owned by: Jonas Borgström
Priority: normal Milestone:
Component: ticket system Version: 0.9.2
Severity: normal Keywords: unicode
Cc: koral@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

after modifying some information to a ticket, that ticket page got an error showing a backtrace that lead to UnicodeDecodeError exception in db.py's _convert_row(self, row). other tickets were viewable but that one always lead to that error.

  • using the attached patch I can get the page back to work, but every commend added after the revision when problem occourred, are not shown.

this bug is nasty on our production server.
thanks for developing such a great app, we love it.

Attachments (1)

db_unicodedecodeerror_workaround.diff (765 bytes ) - added by koral 18 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by koral, 18 years ago

about the patch

note: this attachment is only a loosy workaround, since I know nothing about python and trac internals.

comment:2 by Christian Boos, 18 years ago

Keywords: unicode added
Resolution: worksforme
Status: newclosed

You somehow managed to get non-UTF8 encoded data in your database… With the recent switch to unicode, the proposed patch is not relevant anymore, so I'm closing this report.

I'd suggest that you track down the reason why non-UTF-8 encoded data made it into your database, and that you manually remove/fix the offending content. This might be related to #1310

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.