Last modified: 2013-10-05 04:50:14 UTC
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