Modify

Opened 6 years ago

Closed 6 years ago

#3731 closed defect (fixed)

UnicodeDecodeError in latest version

Reported by: Ross Owned by: coderanger
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 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by anonymous

comment:2 Changed 6 years ago by amalaev@…

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 6 years ago by Ross

  • Resolution set to fixed
  • Status changed from new to closed

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?

Add Comment

Modify Ticket

Action
as closed The owner will remain coderanger.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.