Modify

Opened 14 years ago

Last modified 14 years ago

#7449 assigned defect

Unicode error when TracDependency is enabled

Reported by: andhos@… Owned by: Yuji OKAZAKI
Priority: normal Component: TracDependencyPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

The following error occurs when i enable TracDependency of the TracDependency plugin.

Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/trac/web/api.py", line 367, in send_error

'text/html')

File "/usr/lib/python2.6/site-packages/trac/web/chrome.py", line 758, in render_template

location=location))

TracError: Genshi UnicodeDecodeError error while rendering template '/usr/lib/python2.6/site-packages/trac/templates/error.html', line 81, char -1

Attachments (0)

Change History (6)

comment:1 Changed 14 years ago by Yuji OKAZAKI

Status: newassigned

comment:2 Changed 14 years ago by anonymous

I can not reproduce this error, however I found a problem in xmlrpc.py. Could you try a following patch.

comment:3 Changed 14 years ago by Yuji OKAZAKI

(In [8340]) refs #7449

comment:4 Changed 14 years ago by anonymous

I remove the following lines before line 81 in /usr/lib/pytho2.6/site-packages/trac/templates/error.html:

{{{
${traceback}
}}}

and it fixed the issue. Now I get the

Trac detected an internal error:

AttributeError: 'NoneType' object has no attribute 'split'

Is this because of the database script issue?

comment:5 Changed 14 years ago by Yuji OKAZAKI

Thank you. I have reproduced new error. It may occur on a project that have not custom fields for this plugin.

comment:6 Changed 14 years ago by Yuji OKAZAKI

(In [8365]) refs #7449

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Yuji OKAZAKI.

Add Comment


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

 
Note: See TracTickets for help on using tickets.