Opened 14 years ago
Last modified 14 years ago
#7449 assigned defect
Unicode error when TracDependency is enabled
Reported by: | 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
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
comment:4 Changed 14 years ago by
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
Thank you. I have reproduced new error. It may occur on a project that have not custom fields for this plugin.
I can not reproduce this error, however I found a problem in xmlrpc.py. Could you try a following patch.