Bugs item #3433676, was opened at 2011-11-04 14:17 Message generated for change (Tracker Item Submitted) made by grondin85 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3433676...
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: Bertrand Grondin (grondin85) Assigned to: Nobody/Anonymous (nobody) Summary: Not enough arguments for format string pagegenerators.py
Initial Comment: When launching interwiki.py or replace.py by exemple, I"ve the following message.
Traceback (most recent call last): File "/home/bertrand/pywikipedia/pagegenerators.py", line 1193, in __iter__ for loaded_page in self.preload(somePages): File "/home/bertrand/pywikipedia/pagegenerators.py", line 1212, in preload pywikibot.getall(site, pagesThisSite) File "/home/bertrand/pywikipedia/wikipedia.py", line 4440, in getall % (len(pages), (u'', u'via API ')[site.has_api() and debug])) TypeError: not enough arguments for format string not enough arguments for format string
For replace.by, this bug crashes it.
Pywikipedia version :
python version.py
Python 2.7.2+ (default, Oct 4 2011, 15:44:37) [GCC 4.6.1] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3433676...