Dvorapa created this task. Dvorapa added a project: Pywikibot-Scripts. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. Restricted Application added a project: Pywikibot.
TASK DESCRIPTION Since https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/589892/ template.py script does not work anymore. template.py calls `Bot.__init__(self, ...)`, but since https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/589892/ ReplaceRobot does not use Bot class anymore, which results in this error **Steps to reproduce** $ python pwb.py template 'Test' 'Test2' ERROR: Fatal error: Traceback (most recent call last): File "./scripts/template.py", line 384, in <module> main() File "./scripts/template.py", line 378, in main bot = TemplateRobot(gen, templates, site=site, **options) File "./scripts/template.py", line 200, in __init__ Bot.__init__(self, generator=generator, **kwargs) File "/home/pavel/pywikibot/pywikibot/bot.py", line 1476, in __init__ super(Bot, self).__init__(**kwargs) TypeError: super(type, obj): obj must be an instance or subtype of type TASK DETAIL https://phabricator.wikimedia.org/T250818 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dvorapa Cc: Urbanecm, Xqt, Aklapper, pywikibot-bugs-list, Dvorapa, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs