﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
373	Weird 'StripDirective' object is not iterable error	cboos	cmlenz	"Found the following traceback in the trac.log for the demo instance for Trac 0.11:
{{{
2010-01-08 09:52:35,605 Trac[main] ERROR: Internal Server Error:
Traceback (most recent call last):
  File ""/usr/local/virtualenv-0.11/lib/python2.5/site-packages/Trac-0.11.7stable_r8997-py2.5.egg/trac/web/main.py"", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File ""/usr/local/virtualenv-0.11/lib/python2.5/site-packages/Trac-0.11.7stable_r8997-py2.5.egg/trac/web/main.py"", line 227, in dispatch
    data, content_type)
  File ""/usr/local/virtualenv-0.11/lib/python2.5/site-packages/Trac-0.11.7stable_r8997-py2.5.egg/trac/web/chrome.py"", line 741, in render_template
    stream = template.generate(**data)
  File ""build/bdist.linux-x86_64/egg/genshi/template/base.py"", line 519, in generate
    stream = self.stream
  File ""build/bdist.linux-x86_64/egg/genshi/template/base.py"", line 429, in stream
    self._stream = list(self._prepare(self._stream))
  File ""build/bdist.linux-x86_64/egg/genshi/template/base.py"", line 480, in _prepare
    for event in tmpl.stream:
  File ""build/bdist.linux-x86_64/egg/genshi/template/base.py"", line 429, in stream
    self._stream = list(self._prepare(self._stream))
  File ""build/bdist.linux-x86_64/egg/genshi/template/base.py"", line 458, in _prepare
    for _, cls, value, namespaces, pos in sorted(data[0]):
TypeError: 'StripDirective' object is not iterable
}}}

At that time, the Genshi version used was r1092.

Too bad I realized that so late, the access.log files from that period are long gone, so I have no clue which template triggered that error.
"	defect	assigned	minor	0.9	Template processing	devel		patch	rjollos
