https://bugzilla.wikimedia.org/show_bug.cgi?id=63568
Bug ID: 63568 Summary: KeyError 'query' in checkimages Product: Pywikibot Version: compat (1.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Web browser: --- Mobile Platform: ---
Execution time: 9251 seconds
Traceback (most recent call last): File "C:\pwb\compat\checkimages.py", line 1985, in <module> main() File "C:\pwb\compat\checkimages.py", line 1971, in main if Bot.checkStep(): File "C:\pwb\compat\checkimages.py", line 1738, in checkStep (license_found, hiddenTemplateFound) = self.smartDetection() File "C:\pwb\compat\checkimages.py", line 1402, in smartDetection self.licenses_found = self.image.getTemplates() File "C:\pwb\compat\wikipedia.py", line 1484, in getTemplates self.site)['query']['pages'].values()[0] KeyError: 'query'
C:\pwb\compat>version.py Pywikibot: pywikibot-compat (1a90af7, s10887, 2014/03/31, 21:29:43, ok) Release version: 1.0b1 Python: 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)] config-settings: use_api = True use_api_login = True unicode test: ok