Edgewall Software

Opened 5 years ago

Closed 5 years ago

#11549 closed defect (fixed)

TracAdminHelp macro leads Genshi UnicodeDecodeError if the help has unicode characters

Reported by: Jun Omae Owned by: Jun Omae
Priority: normal Milestone: 0.12.6
Component: general Version: 0.12-stable
Severity: normal Keywords: unicode
Cc: Branch:
Release Notes:

Fix Genshi UnicodeDecodeError from TracAdminHelp macro if the command's help has unicode characters.

API Changes:


[[TracAdminHelp()]] macro leads Genshi UnicodeDecodeError for commands with unicode help text. Especially, after r12277, help text for milestone due command has unicode characters.

Therefore, TracAdmin page currently shows the exception….

Also, 0.12-stable has the issue.

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by Jun Omae

Owner: set to Jun Omae
Status: newassigned

Proposed changes in jomae.git@t11549.

comment:2 Changed 5 years ago by Christian Boos

Tested, ported and applied patch locally. Thanks for the quick fix!

What I don't get is why this suddenly broke after the upgrade…

comment:3 Changed 5 years ago by Jun Omae

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Thanks for testing!

Committed in [12590] and merged to 1.0-stable and trunk in [12591-12592].

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jun Omae.
The resolution will be deleted.
to The owner will be changed from Jun Omae 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.