Modify ↓
#6177 closed defect (fixed)
IterableCursor object has no attribute log
Reported by: | anonymous | Owned by: | Martin Scharrer |
---|---|---|---|
Priority: | normal | Component: | ListOfWikiPagesMacro |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I installed the plugin, and trying to list all the pages in a wikipage results in:
2009-11-08 15:50:58,344 Trac[formatter] ERROR: Macro ListOfWikiPages(exclude=Trac*) failed: Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/trac/wiki/formatter.py", line 480, in _macro_formatter return macro.process(args, in_paragraph=True) File "/usr/lib/python2.5/site-packages/trac/wiki/formatter.py", line 180, in process text = self.processor(text) File "/usr/lib/python2.5/site-packages/trac/wiki/formatter.py", line 167, in _macro_processor text) File "/usr/local/lib/python2.5/site-packages/TracListOfWikiPagesMacro-0.3.-py2.5.egg/traclistofwikipages/macro.py", line 143, in expand_macro return self.ListOfWikiPages(formatter, content) File "/usr/local/lib/python2.5/site-packages/TracListOfWikiPagesMacro-0.3.-py2.5.egg/traclistofwikipages/macro.py", line 242, in ListOfWikiPages cursor.log = self.env.log AttributeError: 'IterableCursor' object has no attribute 'log'
Attachments (0)
Change History (5)
comment:1 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by
Should be fixed in the current version. Please also tell me what DB backend you are using.
comment:3 Changed 15 years ago by
And the version number of your Trac and DB tool would be good to know as well.
I just tested the old version with sqlite, postgress and mysql backends and it worked fine for me.
Note: See
TracTickets for help on using
tickets.
(In [7109]) traclistofwikipages/macro.py:: Removed cursor logging to fix #6177.