Modify

Opened 8 years ago

Closed 8 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

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by mgood

  • Resolution set to fixed
  • Status changed from new to closed

(In [796]) * use the Milestone model API to be cross-DB compatible and preserve proper sorting (fixes #158, #213, #235, #398)

  • use Markup to make sure HTML is properly escaped for output

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.