Last modified: 2014-09-09 02:23:12 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65568, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63568 - KeyError 'query' in checkimages
KeyError 'query' in checkimages
Status: NEW
Product: Pywikibot
Classification: Unclassified
Other scripts (Other open bugs)
compat-(1.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-05 10:06 UTC by xqt
Modified: 2014-09-09 02:23 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description xqt 2014-04-05 10:06:44 UTC
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
Comment 1 Amir Ladsgroup 2014-07-26 13:09:26 UTC
works for me, can you check again?
Comment 2 xqt 2014-07-26 15:17:43 UTC
I had this again weeks ago.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links