Bugs item #3278881, was opened at 2011-04-07 06:56 Message generated for change (Tracker Item Submitted) made by clabaut You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3278881...
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: mathieu Clabaut (clabaut) Assigned to: Nobody/Anonymous (nobody) Summary: Unrecognised values for parameter 'usprop'
Initial Comment: Traceback (most recent call last): File "./unspam.py", line 324, in <module> main() File "./unspam.py", line 318, in main bot.run() File "./unspam.py", line 159, in run onAutoblock=True) File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 381, in block if self.isBlocked() and not reBlock: File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 121, in isBlocked self._load() File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 96, in _load getall(self.site(), [self], force=True) File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 538, in getall _GetAllUI(site, users, throttle, force).run() File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 557, in run data = self.getData() File "/home/clabaut/deploy/pywikipedia-svn/userlib.py", line 591, in getData for user in data['query']['users']: KeyError: 'query'
Where data contains : {u'error': {u'info': u"Unrecognised values for parameter 'usprop'", u'code': u'usunknown_usprop'}} When talking to a 1.12.0 mediawiki.
$ python2 version.py Pywikipedia [http] trunk/pywikipedia (r9136, 2011/03/29, 15:55:44) Python 2.7.1 (r271:86832, Feb 21 2011, 01:26:25) [GCC 4.5.2 20110127 (prerelease)] config-settings: use_api = True use_api_login = True unicode test: triggers problem #3081100
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3278881...
pywikipedia-bugs@lists.wikimedia.org