Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#6177 closed defect (fixed)

IterableCursor object has no attribute log

Reported by: anonymous Owned by: martin_s
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 7 years ago by martin_s

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 7 years ago by martin_s

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

comment:3 Changed 7 years ago by martin_s

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 7 years ago by anonymous

Trac 0.11.4 sqlite

comment:5 Changed 7 years ago by anonymous

Thank you, now it works.

Add Comment

Modify Ticket

as closed The owner will remain martin_s.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.