Modify

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

Attachments (0)

Change History (1)

comment:1 Changed 19 years ago by Matt Good

Resolution: fixed
Status: newclosed

(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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain jornh.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.