Bugs item #2886313, was opened at 2009-10-26 15:13 Message generated for change (Tracker Item Submitted) made by tatata7 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2886313...
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: interwiki Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Tatata@Wikitravel (tatata7) Assigned to: Nobody/Anonymous (nobody) Summary: wikipedia.py _getEditPage raise RuntimeError
Initial Comment: I could use interwiki.py on the target wiki below when revision was 7314. So, I guess, this error is caused by codes related to api query which was added after revision 7314. Maybe , MediaWiki: 1.11.2 returns results in slightly different format or there are some api queries which MediaWiki: 1.11.2 cannot handle.
== Target wiki ==
MediaWiki: 1.11.2 (wikitravel)
== version.py ==
~/pywikipedia$ python version.py Pywikipedia [http] trunk/pywikipedia (r7540, 2009/10/25, 13:39:52) Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3]
== messages ==
~/pywikipedia$ python interwiki.py -lang:wts Which page to check: Category:Hachinohe Getting 1 pages from wikitravel:wts... [[Category:Hachinohe]]: [[wts:Category:Hachinohe]] gives new interwiki [[ja:八戸市]] Getting 1 pages from wikitravel:ja... [[Category:Hachinohe]]: [[ja:八戸市]] gives new interwiki [[en:Hachinohe]] Getting 1 pages from wikitravel:en... ======Post-processing [[wts:Category:Hachinohe]]====== Updating links on page [[ja:八戸市]]. Changes to be made: 追加: [[wts:Category:Hachinohe]] + + [[wts:Category:Hachinohe]] +
NOTE: Performing a recursive query first to save time.... NOTE: Nothing left to do 2 NOTE: Updating live wiki... WARNING: Token not found on wikitravel:ja. You will not be able to edit any page. WARNING: Token not found on wikitravel:ja. You will not be able to edit any page. WARNING: Token not found on wikitravel:ja. You will not be able to edit any page. Dump wts (wikitravel) saved Traceback (most recent call last): File "interwiki.py", line 2190, in <module> bot.run() File "interwiki.py", line 1892, in run self.queryStep() File "interwiki.py", line 1870, in queryStep subj.finish(self) File "interwiki.py", line 1424, in finish if self.replaceLinks(page, new, bot): File "interwiki.py", line 1600, in replaceLinks status, reason, data = page.put(newtext, comment = mcomment) File "/home/vmuser/pywikipedia/wikipedia.py", line 1513, in put if not self.botMayEdit(username): File "/home/vmuser/pywikipedia/wikipedia.py", line 1120, in botMayEdit self.site().family.bot_control(self.site()) File "/home/vmuser/pywikipedia/families/wikitravel_family.py", line 583, in bot_control wt_user_run_text = wt_page.get(get_redirect = True) File "/home/vmuser/pywikipedia/wikipedia.py", line 684, in get self._contents = self._getEditPage(get_redirect = get_redirect, throttle = throttle, sysop = sysop) File "/home/vmuser/pywikipedia/wikipedia.py", line 754, 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'}}
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2886313...