Opened 15 years ago

Closed 15 years ago

#3731 closed defect (fixed)

UnicodeDecodeError in latest version

Reported by: Ross Owned by: Noah Kantrowitz
Priority: high Component: TicketDeletePlugin
Severity: critical Keywords:
Cc: Trac Release: 0.11


There is a "standard" Unicode bug still present in your plugin.

When you select "Delete Changes" enter ticket id, and press button, you get an error:

Attachments (1)

ticketdelete_bug.jpg (133.1 KB) - added by anonymous 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by anonymous

Attachment: ticketdelete_bug.jpg added

comment:2 Changed 15 years ago by Alexander Malaev

this is a bug in on line 105.

c_dataprettydata? returns not in utf format, and this produces a "UnicodeDecodeError"

see my fix from

comment:3 Changed 15 years ago by Ross

Resolution: fixed
Status: newclosed

Your patch did not solve the problem with "UnicodeDecodeError".

I commented out c_dataprettydata? assignment statements, recompiled python egg, reinstalled, and still the same.

Think there are several places in the code where this stupid mistake happens.

Could you tell how I can debug this plugin to know exactly what causes it?

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.