Modify ↓
Opened 17 years ago
Closed 7 years ago
#3163 closed defect (wontfix)
tm.py macro error
Reported by: | Owned by: | fsbojason | |
---|---|---|---|
Priority: | high | Component: | TicketMilestoneDisplayMacro |
Severity: | major | Keywords: | tm.py wiki plugin |
Cc: | Trac Release: | 0.10 |
Description (last modified by )
When you go to the Timeline tab of the Trac site using the tm.py or Ticket Milestone Display Macro, it causes the following error in the logs:
cvs Trac[macros] ERROR: Wiki macro tm failed (invalid input syntax for integer: "189/LANL08-100.sql" ) Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/wiki/macros.py", line 459, in render_macro return module.execute(req and req.hdf, content, self.env) File "/files0/trac-sites/webPMIS/plugins/tm.py", line 15, in execute File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 51, in execute return self.cursor.execute(sql) File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 51, in execute return self.cursor.execute(sql) ProgrammingError: invalid input syntax for integer: "189/LANL08-100.sql" Jun 10 15:26:05 cvs Trac[formatter] ERROR: Macro tm(189/LANL08-100.sql) failed Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 441, in _macro_formatter return macro.process(self.req, args, True) File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 114, in process text = self.processor(req, text) File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 102, in _macro_processor return self.macro_provider.render_macro(req, self.name, text) File "/usr/lib/python2.3/site-packages/trac/wiki/macros.py", line 459, in render_macro return module.execute(req and req.hdf, content, self.env) File "/files0/trac-sites/webPMIS/plugins/tm.py", line 15, in execute File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 51, in execute return self.cursor.execute(sql) File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 51, in execute return self.cursor.execute(sql) ProgrammingError: invalid input syntax for Jun 10 15:26:05 cvs Trac[main] WARNING: 500 Internal Error (Repository checkins event provider (<tt>ChangesetModule</tt>) failed:<br /><br />ProgrammingError: current transaction is aborted, commands ignored until end of transaction block <p>You may want to see the other kind of events from the <a href="/webPMIS/timeline?milestone=on&ticket=on&wiki=on">Timeline</a></p>)
Any ideas?
Attachments (0)
Change History (2)
comment:1 Changed 9 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 7 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Deprecated macro removed.