Modify

Opened 5 years ago

Closed 5 years ago

#6683 closed defect (fixed)

[Patch] TicketExtPlugin template does't not work with trac 11.6 (Unicode issue)

Reported by: YouLi Owned by: takanorig
Priority: normal Component: TicketExtPlugin
Severity: critical Keywords: Unicode
Cc: Trac Release: 0.11

Description

When I deploy this plugin in Trac 11.6, the Ticket Template throws out a error" TypeError: decoding Unicode is not supported". Then I removed the unicode from the plugin, but now it throw error about unable to find the right trac.ini file. The file name"trac.ini" become something like"trac.iniEe9d". I am guessing this is because this plugin is not calling the right function in 11.6 so it fails to decode the file name.

Attachments (1)

patch.diff (481 bytes) - added by YouLi 5 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 5 years ago by YouLi

the "trac.ini" file writing is due to upgrade from 11.5 to 11.6. So the only defect here is the unicode thing. I am attaching a diff file so you can upgrade.

Changed 5 years ago by YouLi

comment:2 Changed 5 years ago by YouLi

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

comment:3 Changed 5 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Summary changed from Ticketext template does't not work with trac 11.6 to [Patch] TicketExtPlugin template does't not work with trac 11.6

Nice idea to keep it open until:

  • Author/Maintainer integrates in trunk
  • others can see the error and benefit themselves with the fix

comment:4 Changed 5 years ago by anonymous

  • Keywords Unicode added
  • Summary changed from [Patch] TicketExtPlugin template does't not work with trac 11.6 to [Patch] TicketExtPlugin template does't not work with trac 11.6 (Unicode issue)

comment:5 Changed 5 years ago by takanorig

(In [7739]) (refs #6683)Trac 11.6 でエラーが発生するのを修正。

comment:6 Changed 5 years ago by takanorig

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

Add Comment

Modify Ticket

Action
as closed The owner will remain takanorig.
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.