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)
Change History (4)
Changed 16 years ago by
Attachment: | ticketdelete_bug.jpg added |
---|
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
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
Resolution: | → fixed |
---|---|
Status: | new → 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?
Please read the following articles:
http://trac.edgewall.org/wiki/UnicodeDecodeError
http://trac.edgewall.org/wiki/TracDev/UnicodeGuidelines