Bugs item #2021398, was opened at 2008-07-18 07:17 Message generated for change (Comment added) made by russblau You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2021398...
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: interwiki Group: None
Status: Closed Resolution: Invalid
Priority: 5 Private: No Submitted By: Purodha B Blissenbach (purodha) Assigned to: Nobody/Anonymous (nobody) Summary: Pywikipedia: TypeError: argument of type 'NoneType' is not i
Initial Comment: python /home/.../interwiki.py -v -initialredirect -familiy:wikipedia -lang:ksh Edelweipirate Checked for running processes. 1 processes currently running, including the current process. Pywikipediabot (r5706 (wikipedia.py), Jul 10 2008, 05:46:47) Python 2.5.2 (r252:60911, May 28 2008, 19:19:25) [GCC 4.2.4 (Debian 4.2.4-1)] Retrieving mediawiki messages from Special:Allmessages WARNING: No character set found. Not a wiki page. Missing main page name Getting 1 pages from wikipedia:ksh... Not a wiki page. [[Edelweipirate]]: [[ksh:Edelweipirate]] gives new interwiki [[ru:?????? ??????????]] [[Edelweipirate]]: [[ksh:Edelweipirate]] gives new interwiki [[en:Edelweiss Pirates]] [[Edelweipirate]]: [[ksh:Edelweipirate]] gives new interwiki [[fr:Pirates Edelweiss]] [[Edelweipirate]]: [[ksh:Edelweipirate]] gives new interwiki [[de:Edelweipiraten]] [[Edelweipirate]]: [[ksh:Edelweipirate]] gives new interwiki [[sv:Edelweisspiraten]] [[Edelweipirate]]: [[ksh:Edelweipirate]] gives new interwiki [[pt:Piratas de Edelweiss]] Getting 1 pages from wikipedia:ru... Not a wiki page. Getting 1 pages from wikipedia:en... Not a wiki page. Dump ksh (wikipedia) saved Traceback (most recent call last): File "/home/purodha/pywikipedia/interwiki.py", line 1755, in <module> bot.run() File "/home/purodha/pywikipedia/interwiki.py", line 1492, in run self.queryStep() File "/home/purodha/pywikipedia/interwiki.py", line 1466, in queryStep self.oneQuery() File "/home/purodha/pywikipedia/interwiki.py", line 1462, in oneQuery subject.workDone(self) File "/home/purodha/pywikipedia/interwiki.py", line 796, in workDone (skip, alternativePage) = self.disambigMismatch(page) File "/home/purodha/pywikipedia/interwiki.py", line 671, in disambigMismatch elif not self.originPage.isDisambig() and page.isDisambig(): File "/home/purodha/pywikipedia/wikipedia.py", line 991, in isDisambig foo = self.templates() File "/home/purodha/pywikipedia/wikipedia.py", line 1701, in templates return [template for (template, param) in self.templatesWithParams(get_redirect=get_redirect)] File "/home/purodha/pywikipedia/wikipedia.py", line 1769, in templatesWithParams name in self.site().family.disambig(self.site().lang): TypeError: argument of type 'NoneType' is not iterable
~$
----------------------------------------------------------------------
Comment By: Russell Blau (russblau)
Date: 2008-07-18 09:43
Message: Logged In: YES user_id=855050 Originator: NO
Your wikipedia.py is out of date. Update to the latest version (apparently you updated your family file, but not your wikipedia.py).
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2021398...
pywikipedia-l@lists.wikimedia.org