Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- urbanecm@tools-sgebastion-07 ~/Documents/cswiki/removeIABotNotifs
- $ ./script.sh
- /shared/pywikipedia/core/pywikibot/config2.py:1075: _ConfigurationDeprecationWarning:
- "interwiki_contents_on_disk" present in our user-config.py is no
- longer a supported configuration variable and should be removed.
- Please inform the maintainers if you depend on it.
- _ConfigurationDeprecationWarning)
- /shared/pywikipedia/core/pywikibot/config2.py:1075: _ConfigurationDeprecationWarning:
- "use_mwparserfromhell" present in our user-config.py is no longer a
- supported configuration variable and should be removed. Please inform
- the maintainers if you depend on it.
- _ConfigurationDeprecationWarning)
- 0 pages read
- 0 pages written
- 0 pages skipped
- Execution time: 3 seconds
- Script terminated by exception:
- ERROR: TypeError: preloadpages() takes 2 positional arguments but 3 were given
- Traceback (most recent call last):
- File "/home/urbanecm/pwb/scripts/replace.py", line 1170, in <module>
- main()
- File "/home/urbanecm/pwb/scripts/replace.py", line 1162, in main
- bot.run()
- File "/shared/pywikipedia/core/pywikibot/bot.py", line 1400, in run
- for item in self.generator:
- File "/shared/pywikipedia/core/pywikibot/pagegenerators.py", line 2214, in PreloadingGenerator
- yield from site.preloadpages(pages, groupsize)
- TypeError: preloadpages() takes 2 positional arguments but 3 were given
- CRITICAL: Exiting due to uncaught exception <class 'TypeError'>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement