https://bugzilla.wikimedia.org/show_bug.cgi?id=55245
Web browser: --- Bug ID: 55245 Summary: Unrecognised values for parameter 'usprop' Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1306/ Reported by: clabaut Created on: 2011-04-07 06:56:31 Subject: Unrecognised values for parameter 'usprop' Original description: 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