Modify

Opened 4 years ago

Closed 4 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 4 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 4 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 4 years ago by YouLi

comment:2 Changed 4 years ago by YouLi

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

comment:3 Changed 4 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 4 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 4 years ago by takanorig

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

comment:6 Changed 4 years ago by takanorig

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from takanorig. Next status will be 'closed'.
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.