Bugs item #3596617, was opened at 2012-12-16 10:55 Message generated for change (Comment added) made by nu11zer0 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3596617...
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: trunk Status: Open Resolution: None Priority: 6 Private: No Submitted By: Multichill (multichill) Assigned to: Nobody/Anonymous (nobody) Summary: getFilesFromAnHash stopped working
Initial Comment: Pywikipedia [svn+ssh] multichill@trunk/pywikipedia (r10797, 2012/12/15, 13:08:17 ) Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] config-settings: use_api = True use_api_login = True unicode test: ok
Traceback (most recent call last): File "C:\pywikipedia\data_ingestion.py", line 170, in <module> bot.run() File "C:\pywikipedia\data_ingestion.py", line 162, in run self._doUpload(photo) File "C:\pywikipedia\data_ingestion.py", line 135, in _doUpload duplicates = photo.findDuplicateImages(self.site) File "C:\pywikipedia\data_ingestion.py", line 53, in findDuplicateImages return site.getFilesFromAnHash(base64.b16encode(hashObject.digest())) File "C:\pywikipedia\wikipedia.py", line 8213, in getFilesFromAnHash allimages = query.GetData(params, self)['query']['allimages'] KeyError: 'query'
See https://bugzilla.wikimedia.org/show_bug.cgi?id=43177
----------------------------------------------------------------------
Comment By: Nullzer0 (nu11zer0) Date: 2013-01-26 07:27
Message: From http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10802, the bug have been fixed, right? If so, please change the status to close. :-)
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3596617...
pywikipedia-bugs@lists.wikimedia.org