Page MenuHomePhabricator
Paste P13882

Error replace.py pywikibot
ActivePublic

Authored by Paucabot on Jan 21 2021, 8:27 PM.
Referenced Files
F34011325: Error replace.py pywikibot
Jan 21 2021, 8:27 PM
Subscribers
File "/data/project/shared/pywikibot/core/scripts/replace.py", line 1098, in <module>
main()
File "/data/project/shared/pywikibot/core/scripts/replace.py", line 841, in main
if genFactory.handle_arg(arg):
AttributeError: 'GeneratorFactory' object has no attribute 'handle_arg'
CRITICAL: Exiting due to uncaught exception <class 'AttributeError'>

Event Timeline

Your script is Pywkibot 5.6 but your Pywikibot library is 5.5 or prior?

Thanks for your reply, xqt.

I'm sorry, I'm a newbie. I use the pywikibot version available in Toolforge. How can I check these program versions?