Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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


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/", line 480, in _macro_formatter
    return macro.process(args, in_paragraph=True)
  File "/usr/lib/python2.5/site-packages/trac/wiki/", line 180, in process
    text = self.processor(text)
  File "/usr/lib/python2.5/site-packages/trac/wiki/", line 167, in _macro_processor
  File "/usr/local/lib/python2.5/site-packages/TracListOfWikiPagesMacro-0.3.-py2.5.egg/traclistofwikipages/", 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/", line 242, in ListOfWikiPages
    cursor.log = self.env.log
AttributeError: 'IterableCursor' object has no attribute 'log'

Attachments (0)

Change History (5)

comment:1 Changed 9 years ago by Martin Scharrer

Resolution: fixed
Status: newclosed

(In [7109]) traclistofwikipages/ Removed cursor logging to fix #6177.

comment:2 Changed 9 years ago by Martin Scharrer

Should be fixed in the current version. Please also tell me what DB backend you are using.

comment:3 Changed 9 years ago by Martin Scharrer

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.

comment:4 Changed 9 years ago by anonymous

Trac 0.11.4 sqlite

comment:5 Changed 9 years ago by anonymous

Thank you, now it works.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Martin Scharrer.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.