Support Requests item #3065711, was opened at 2010-09-14 04:14 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3065711...
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: Install Problem Group: None Status: Open Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: replace.py appears to be broken with MW 1.15.5 on Ubuntu
Initial Comment: On Ubuntu 10.04 and 8.04, when I try to run replace.py from the 2010-09-13 version in SVN:
Traceback (most recent call last): File "/path/to/pywikipedia/pagegenerators.py", line 1225, in __iter__ for page in self.wrapped_gen: File "/path/to/pywikipedia/pagegenerators.py", line 1157, in DuplicateFilterPageGenerator for page in generator: File "path/to/pywikipedia/pagegenerators.py", line 617, in AllpagesPageGenerator includeredirects=includeredirects): File "/path/to/pywikipedia/wikipedia.py", line 6431, in allpages for p in data['query']['allpages']: KeyError: 'query' 'query'
Replace.py works on an identical installation on a Mac using the same versions of Apache, PHP, and MySQL. This problem showed up when I upgraded to MW 1.15.5 from 1.15.4 on Ubuntu - no problems whatsoever on the Mac after the upgrade.
I would prefer to go to 1.16, but I am using an extension (SMWHalo) that does not yet work with that version.
Any ideas? The problem arises no matter what I put in the command line, but works just fine on the Mac. I can edit locally and upload to the Ubuntu installations, but this is not a viable long-term solution.
Unfortunately, I don't have the time to learn Python to try to identify the error - but I do know that it pywikipediabot shouldn't completely break every time there is a minor upgrade to MediaWiki. It's great when it works, but when it doesn't, I find myself wishing for less fragile solution.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3065711...
pywikipedia-bugs@lists.wikimedia.org