Page MenuHomePhabricator

imagerecat fails on attempting to process any page
Closed, ResolvedPublic


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

File "", line 157, in <module>
  run_python_file(fn, argv, argvu)
File "", line 67, in run_python_file
  exec(compile(source, filename, "exec"), main_mod.__dict__)
File "scripts/", line 482, in <module>
File "scripts/", line 478, in main
  categorizeImages(generator, onlyFilter, onlyUncat)
File "scripts/", line 79, in categorizeImages
  imagepage = pywikibot.ImagePage(, 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



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

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