Modify

Opened 14 years ago

Last modified 14 years ago

#7296 new enhancement

0.12 compatability

Reported by: Jay Owned by: Takanori Suzuki
Priority: normal Component: TicketExtPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

I love this plugin. However we have moved to 0.12 and this plugin doesn't seem to work with it. Hopefully 0.12 is on your roadmap.

2010-06-24 14:35:24,826 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File "C:\usr\bin\Python26\lib\site-packages\trac\web\main.py", line 513, in _dispatch_request
    dispatcher.dispatch(req)
  File "C:\usr\bin\Python26\lib\site-packages\trac\web\main.py", line 235, in dispatch
    resp = chosen_handler.process_request(req)
  File "build\bdist.win32\egg\ticketext\template.py", line 93, in process_request
    template_api.process_tickettemplate(self.env, req, 'type')
  File "build\bdist.win32\egg\ticketext\api.py", line 62, in process_tickettemplate
    req.write(response)
  File "C:\usr\bin\Python26\lib\site-packages\trac\web\api.py", line 530, in write
    raise ValueError("Can't send unicode content")
ValueError: Can't send unicode content

Attachments (0)

Change History (2)

comment:1 Changed 14 years ago by anonymous

Trac Release: 0.110.12

comment:2 Changed 14 years ago by evb

probably related to http://trac.edgewall.org/ticket/8675

Did change line 62 in file api.py from

req.write(response)

to

req.write(response.encode("UTF-8"))

The error did go away, but the plugin doesn't seam to work. Selecting another type of ticket does not update the screen to reflect the template configuration for the new selected type of ticket...

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Takanori Suzuki.

Add Comment


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

 
Note: See TracTickets for help on using tickets.