Bugs item #2897335, was opened at 2009-11-13 11:41 Message generated for change (Tracker Item Submitted) made by nakor-wikipedia You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897335...
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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nakor Wikipedia (nakor-wikipedia) Assigned to: Nobody/Anonymous (nobody) Summary: wikipedia site.getUrl() is broken
Initial Comment: works fine in r7639, broken in r7945:
File "/home/nakor/junior/pywikipedia/almabot/newaccounts.py", line 18, in get_new_accounts account_list = site.getUrl(account_url) File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5565, in getUrl if self.cookies(sysop = sysop) and not no_hostname: File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5198, in cookies self._loadCookies(sysop = sysop) File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5241, in _loadCookies if k not in self._cookies[index]: TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897335...
pywikipedia-bugs@lists.wikimedia.org