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.
Description
Description
Event Timeline
Comment Actions
Yes indeed. I was converting my last active script from compat to core and found some problems. You'll find a history on my xqbot repository. One of the problem was the templates method in core's Page we hadn't in compat before.