Opened 19 years ago
Closed 19 years ago
#398 closed defect (fixed)
Error: Macro PlannedMilestones(None) failed tuple indices must be integers
Reported by: | anonymous | Owned by: | jornh |
---|---|---|---|
Priority: | high | Component: | PlannedMilestonesMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.9 |
Description
16:49:04 Trac[formatter] ERROR: Macro PlannedMilestones(None) failed Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 369, in _macro_formatter
return macro.process(self.req, args, 1)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 108, in process
text = self.processor(req, text)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 98, in _macro_processor
return macro_provider.render_macro(req, self.name, text)
File "/usr/lib/python2.3/site-packages/trac/wiki/macros.py", line 439, in render_macro
return module.execute(req and req.hdf, content, self.env)
File "/home/devel/trac_isy_site/wiki-macros/PlannedMilestones.py", line 22, in execute
name = rowname?
TypeError: tuple indices must be integers
(In [796]) * use the
Milestone
model API to be cross-DB compatible and preserve proper sorting (fixes #158, #213, #235, #398)Markup
to make sure HTML is properly escaped for output