https://bugzilla.wikimedia.org/show_bug.cgi?id=55167
Web browser: --- Bug ID: 55167 Summary: missing attribut page._pagid after Site.loadinfo(page) Product: Pywikibot Version: unspecified Hardware: All OS: All Status: ASSIGNED Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1534/ Reported by: xqt Created on: 2012-11-04 11:08:35 Subject: missing attribut page._pagid after Site.loadinfo(page) Assigned to: russblau Original description: Another missing attribut:
Retrieving 50 pages from wikipedia:en. WARNING: preloadpages: Query returned unexpected title 'International law' Dump de (wikipedia) appended. Traceback (most recent call last): File "C:\Pywikipedia\rw\pwb.py", line 42, in <module> execfile(sys.argv[0]) File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2516, in <module> if __name__ == "__main__": File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2490, in main try: File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2248, in run """Start the process until finished""" File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2221, in queryStep
File "C:\Pywikipedia\rw\scripts\interwiki.py", line 2217, in oneQuery # Tell all of the subjects that the promised work is done File "C:\Pywikipedia\rw\scripts\interwiki.py", line 1224, in batchLoaded if not page.exists(): File "C:\Pywikipedia\rw\pywikibot\page.py", line 411, in exists return self.site.page_exists(self) File "C:\Pywikipedia\rw\pywikibot\site.py", line 1153, in page_exists return page._pageid > 0 AttributeError: 'Page' object has no attribute '_pageid'
and btw "en:International law" exists!