Bugs item #3583215, was opened at 2012-11-04 03:08 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583215...
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: xqt (xqt) Assigned to: Russell Blau (russblau) Summary: missing attribut page._pagid after Site.loadinfo(page)
Initial Comment: 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!
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2012-11-04 06:25
Message: a simple example for that is the following command line: pwb.py interwiki -auto -page:"Liste der Episoden von White Collar" -lang:de
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3583215...
pywikipedia-bugs@lists.wikimedia.org