Bugs item #2795879, was opened at 2009-05-24 01:38 Message generated for change (Tracker Item Submitted) made by ronga You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879...
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: General Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Ronga (ronga) Assigned to: Nobody/Anonymous (nobody) Summary: AttributeError at replace.py
Initial Comment: Command: replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Error message: AttributeError: 'NoneType' object has no attribute 'query' 'NoneType' object has no attribute 'query'
Details: C:\pywikipedia>replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg" Traceback (most recent call last): File "C:\pywikipedia\pagegenerators.py", line 787, in __iter__ for page in self.wrapped_gen: File "C:\pywikipedia\pagegenerators.py", line 719, in DuplicateFilterPageGener ator for page in generator: File "C:\pywikipedia\pagegenerators.py", line 250, in AllpagesPageGenerator for page in site.allpages(start = start, namespace = namespace, includeredir ects = includeredirects): File "C:\pywikipedia\wikipedia.py", line 5508, in allpages for p in soup.api.query.allpages: AttributeError: 'NoneType' object has no attribute 'query' 'NoneType' object has no attribute 'query'
File version: Pywikipedia nightly:pywikipedia (r6854, May 07 2009, 13:07:14) Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879...
pywikipedia-bugs@lists.wikimedia.org