Ticket #7449 (assigned defect)

Opened 3 years ago

Last modified 3 years ago

Unicode error when TracDependency is enabled

Reported by: andhos@gmail.com Assigned to: okazaki (accepted)
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

Change History

08/05/10 23:09:09 changed by okazaki

  • status changed from new to assigned.

08/07/10 06:45:07 changed by anonymous

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

08/07/10 06:45:53 changed by okazaki

(In [8340]) refs #7449

08/08/10 08:18:48 changed 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?

08/15/10 14:39:53 changed by okazaki

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

08/15/10 14:42:22 changed by okazaki

(In [8365]) refs #7449


Add/Change #7449 (Unicode error when TracDependency is enabled)




Change Properties
Action