Xqt created this task.
Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
C:\pwb\SVN\core>pwb.py xqbot/imagereview -check -total:1
Processing 1 images...
Retrieving 18 pages from wikipedia:de.
Traceback (most recent call last):
File "C:\pwb\SVN\core\pwb.py", line 256, in <module>
if not main():
File "C:\pwb\SVN\core\pwb.py", line 250, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "C:\pwb\SVN\core\pwb.py", line 121, in run_python_file
main_mod.__dict__)
File ".\scripts\xqbot\imagereview.py", line 932, in <module>
main()
File ".\scripts\xqbot\imagereview.py", line 927, in main
bot.run()
File ".\scripts\xqbot\imagereview.py", line 755, in run
self.run_check()
File ".\scripts\xqbot\imagereview.py", line 722, in run_check
self.build_table(True)
File ".\scripts\xqbot\imagereview.py", line 627, in build_table
for image in self.generator:
File ".\scripts\xqbot\imagereview.py", line 358, in generator
item.editTime())
File ".\scripts\xqbot\imagereview.py", line 230, in __init__
for t in self.templatesWithParams():
File "C:\pwb\SVN\core\pywikibot\tools\__init__.py", line 1370, in wrapper
return obj(*__args, **__kw)
File "C:\pwb\SVN\core\pywikibot\page.py", line 2133, in
templatesWithParams
titles = list(t.title() for t in self.templates())
TypeError: 'list' object is not callable
<type 'exceptions.TypeError'>
CRITICAL: Closing network session.
TASK DETAIL
https://phabricator.wikimedia.org/T131951
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, codynguyen1116, jayvdb
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs