Ticket #373 (assigned defect)
Weird 'StripDirective' object is not iterable error
| Reported by: | cboos | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.6.1 |
| Component: | Template processing | Version: | devel |
| Keywords: | patch | Cc: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
