Bugs item #3278877, was opened at 2011-04-07 08:53 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3278877...
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: mathieu Clabaut (clabaut)
Assigned to: xqt (xqt)
Summary: RuntimeError: API query error: {u'error': {u'info': u"Unreco
Initial Comment: I get the following exception when talking to a 1.12.0 mediawiki installation.
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 147, in run bltext = self.load(blpage) File "./unspam.py", line 236, in load text = page.get() File "/home/clabaut/deploy/pywikipedia-svn/wikipedia.py", line 669, in get expandtemplates = expandtemplates) File "/home/clabaut/deploy/pywikipedia-svn/wikipedia.py", line 740, in _getEditPage raise RuntimeError("API query error: %s" % data) RuntimeError: API query error: {u'error': {u'info': u"Unrecognised values for parameter 'inprop'", u'code': u'inunknown_inprop'}}
$ 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
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-04 06:01
Message: fixed in r9212
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3278877...
pywikipedia-bugs@lists.wikimedia.org