Opened 6 years ago

Last modified 6 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


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/", line 367, in send_error


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


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 6 years ago by okazaki

  • Status changed from new to assigned

comment:2 Changed 6 years ago by anonymous

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

comment:3 Changed 6 years ago by okazaki

(In [8340]) refs #7449

comment:4 Changed 6 years ago by anonymous

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


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 6 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 6 years ago by okazaki

(In [8365]) refs #7449

Add Comment

Modify Ticket

as assigned The owner will remain okazaki.

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

Note: See TracTickets for help on using tickets.