Dvorapa created this task.
Dvorapa added projects: Pywikibot-core, Pywikibot-General.
Herald added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION

Category.articles(namespaces=generator.namespaces) (category tidy before 765965cb1223e46fee42fc11835b5082105af707) works as expected.
Category.members(namespaces=generator.namespaces) (category tidy after 765965cb1223e46fee42fc11835b5082105af707) throws the following error:

Traceback (most recent call last):
  File "pwb.py", line 251, in <module>
    if not main():
  File "pwb.py", line 244, in main
    run_python_file(filename, [filename] + args, argvu, file_package)
  File "pwb.py", line 115, in run_python_file
    main_mod.__dict__)
  File "./scripts/category.py", line 1410, in <module>
    main()
  File "./scripts/category.py", line 1374, in main
    bot = CategoryTidyRobot(catTitle, catDB, genFactory.namespaces)
  File "./scripts/category.py", line 981, in __init__
    self.cat.members(namespaces=namespaces)))
  File "/home/pavel/pywikibot/pywikibot/bot.py", line 1480, in __init__
    super(Bot, self).__init__(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'generator'
<class 'TypeError'>
CRITICAL: Closing network session.

TASK DETAIL
https://phabricator.wikimedia.org/T195062

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Aklapper, pywikibot-bugs-list, Dvorapa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to