Page MenuHomePhabricator

nowcommons.py fails when _treat_counter is 0
Closed, ResolvedPublic

Description

>>> Datei:Kemeny Boehme und Company.png <<<
Traceback (most recent call last):
  File "C:\pwb\GIT\core\pwb.py", line 255, in <module>
    if not main():
  File "C:\pwb\GIT\core\pwb.py", line 249, in main
    run_python_file(filename, [filename] + args, argvu, file_package)
  File "C:\pwb\GIT\core\pwb.py", line 121, in run_python_file
    main_mod.__dict__)
  File ".\scripts\nowcommons.py", line 414, in <module>
    main()
  File ".\scripts\nowcommons.py", line 411, in main
    bot.run()
  File ".\scripts\nowcommons.py", line 380, in run
    'No transcluded files found for %s.' % self.ncTemplates[0])
TypeError: 'instancemethod' object has no attribute '__getitem__'
<type 'exceptions.TypeError'>
CRITICAL: Closing network session.

ncTemplates is a method not a property

Details

Event Timeline

Xqt triaged this task as Low priority.Sep 4 2016, 9:58 AM

Change 308426 had a related patch set uploaded (by Xqt):
[bugfix] ncTemplates is a method not a property

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

Change 308426 merged by jenkins-bot:
[bugfix] ncTemplates is a method not a property

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