Modify ↓
Opened 9 years ago
Closed 9 years ago
#13050 closed task (fixed)
Make compatible with Trac 1.2
| Reported by: | Owned by: | Ryan J Ollos | |
|---|---|---|---|
| Priority: | normal | Component: | MilestoneQueryMacro |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 1.2 |
Description
Is it possible to make this macro compatible with Trac 1.2? I get this error:
2017-01-18 08:22:58,710 Trac[formatter] ERROR: Macro MilestoneQuery(rc_%) failed:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/Trac-1.2-py2.7.egg/trac/wiki/formatter.py", line 802, in _macro_formatter
return macro.ensure_inline(macro.process(args))
File "/usr/lib/python2.7/site-packages/Trac-1.2-py2.7.egg/trac/wiki/formatter.py", line 379, in process
text = self.processor(text)
File "/usr/lib/python2.7/site-packages/Trac-1.2-py2.7.egg/trac/wiki/formatter.py", line 351, in _macro_processor
text)
File "build/bdist.linux-x86_64/egg/milestonequery/macro.py", line 35, in expand_macro
db = self.env.get_db_cnx()
AttributeError: 'Environment' object has no attribute 'get_db_cnx'
Attachments (0)
Change History (3)
comment:1 Changed 9 years ago by
| Owner: | changed from Nic Ferrier to Ryan J Ollos |
|---|---|
| Status: | new → accepted |
comment:2 Changed 9 years ago by
Note: See
TracTickets for help on using
tickets.



In 16225: