Bugs item #3309460, was opened at 2011-05-31 00:32
Message generated for change (Tracker Item Submitted) made by nettrom
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=330946…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: rewrite
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Morten Wang (nettrom)
Assigned to: Russell Blau (russblau)
Summary: page.editTime() fails when using site.allpages()
Initial Comment:
Iterating over site.allpages() (in my case with namespace=0 and filterredir=False) causes
a call to page.editTime() to fail with a KeyError. Closer inspection shows that _revid is
set for pages in the generator, but _revisions is an empty dictionary. So latestRevision()
returns _revid with no corresponding revision in _revisions, and the KeyError is thrown.
I'm running the rewrite branch, revision 9274, on Python 2.7 on Linux.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=330946…