Modify

Opened 4 years ago

Last modified 4 years ago

#7449 assigned defect

Unicode error when TracDependency is enabled

Reported by: andhos@… Owned by: 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 4 years ago by okazaki

  • Status changed from new to assigned

comment:2 Changed 4 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 4 years ago by okazaki

(In [8340]) refs #7449

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

(In [8365]) refs #7449

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.