Modify

Opened 16 years ago

Closed 16 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

Description

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 16 years ago.

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by anonymous

Attachment: ticketdelete_bug.jpg added

comment:2 Changed 16 years ago by Alexander Malaev

this is a bug in web_ui.py on line 105.

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

see my fix from http://trac-hacks.org/ticket/3649.

comment:3 Changed 16 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
Action
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.