Page MenuHomePhabricator

imagerecat fails on attempting to process any page
Closed, ResolvedPublic

Description

$ python pwb.py scripts/imagerecat -simulate
Traceback (most recent call last):

File "pwb.py", line 157, in <module>
  run_python_file(fn, argv, argvu)
File "pwb.py", line 67, in run_python_file
  exec(compile(source, filename, "exec"), main_mod.__dict__)
File "scripts/imagerecat.py", line 482, in <module>
  main()
File "scripts/imagerecat.py", line 478, in main
  categorizeImages(generator, onlyFilter, onlyUncat)
File "scripts/imagerecat.py", line 79, in categorizeImages
  imagepage = pywikibot.ImagePage(page.site(), page.title())

TypeError: 'APISite' object is not callable
<type 'exceptions.TypeError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort


Version: core-(2.0)
Severity: normal

Details

Reference
bz68658

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:39 AM
bzimport set Reference to bz68658.
bzimport added a subscriber: Unknown Object (????).

Change 153720 had a related patch set uploaded by Mpaa:
Bug 68658-imagerecat without parameters results in obtuse backtrace

https://gerrit.wikimedia.org/r/153720

Change 153720 merged by jenkins-bot:
Bug 68658-imagerecat fails to process pages

https://gerrit.wikimedia.org/r/153720