Bugs item #3611406, was opened at 2013-04-19 14:01 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3611406...
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: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: api error
Initial Comment: Interwiki.py, category.py and other scripts after last update:
interwiki.py -new -wiktionary -async -autonomous -family:wiktionary -cleanup
NOTE: Number of pages queued is 0, trying to add 60 more. Traceback (most recent call last): File "E:\Pywikipedia\pagegenerators.py", line 1228, in __iter__ for loaded_page in self.preload(somePages): File "E:\Pywikipedia\pagegenerators.py", line 1253, in preload pywikibot.getall(site, pagesThisSite) File "E:\Pywikipedia\wikipedia.py", line 5445, in getall (u'', u'via API ')[site.has_api() and debug], site)) TypeError: tuple indices must be integers, not function tuple indices must be integers, not function
version.py Pywikipedia trunk/pywikipedia/ (r11392, 2013/04/19, 15:37:30, ok) Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-04-20 10:07
Message: should be fixed in r11397
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3611406...