Bugs item #3602373, was opened at 2013-01-28 04:39 Message generated for change (Tracker Item Submitted) made by russblau You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3602373...
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: 9 Private: No Submitted By: Russell Blau (russblau) Assigned to: Russell Blau (russblau) Summary: Bot crashes on all Wikimedia sites
Initial Comment: Some recent changes to family.py are causing the bot to be unable to function on any Wikimedia site:
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win 32 Type "help", "copyright", "credits" or "license" for more information.
import pywikibot s = pywikibot.Site()
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Documents and Settings\HP_Administrator\rewrite\pywikibot__init__.py ", line 124, in wrapper return method(*__args, **__kw) File "C:\Documents and Settings\HP_Administrator\rewrite\pywikibot__init__.py ", line 172, in Site _sites[key] = __Site(code=code, fam=fam, user=user, sysop=sysop) File "C:\Documents and Settings\HP_Administrator\rewrite\pywikibot\site.py", l ine 657, in __init__ BaseSite.__init__(self, code, fam, user, sysop) File "C:\Documents and Settings\HP_Administrator\rewrite\pywikibot\site.py", l ine 117, in __init__ self.__family = Family(fam, fatal=False) File "C:\Documents and Settings\HP_Administrator\rewrite\pywikibot\site.py", l ine 95, in Family return myfamily.Family() File "C:\Documents and Settings\HP_Administrator\rewrite\pywikibot\families\wi kipedia_family.py", line 10, in __init__ super(Family, self).__init__() File "C:\Documents and Settings\HP_Administrator\rewrite\pywikibot\family.py", line 923, in __init__ self.namespacesWithSubpage.extend([4, 12]) AttributeError: 'Family' object has no attribute 'namespacesWithSubpage'
Output of version.py is:
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3602373...