Advertisement
Urbanecm

Untitled

Jul 18th, 2020
440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. urbanecm@tools-sgebastion-07 ~/Documents/cswiki/removeIABotNotifs
  2. $ ./script.sh
  3. /shared/pywikipedia/core/pywikibot/config2.py:1075: _ConfigurationDeprecationWarning:
  4. "interwiki_contents_on_disk" present in our user-config.py is no
  5. longer a supported configuration variable and should be removed.
  6. Please inform the maintainers if you depend on it.
  7. _ConfigurationDeprecationWarning)
  8. /shared/pywikipedia/core/pywikibot/config2.py:1075: _ConfigurationDeprecationWarning:
  9. "use_mwparserfromhell" present in our user-config.py is no longer a
  10. supported configuration variable and should be removed. Please inform
  11. the maintainers if you depend on it.
  12. _ConfigurationDeprecationWarning)
  13.  
  14. 0 pages read
  15. 0 pages written
  16. 0 pages skipped
  17. Execution time: 3 seconds
  18. Script terminated by exception:
  19.  
  20. ERROR: TypeError: preloadpages() takes 2 positional arguments but 3 were given
  21. Traceback (most recent call last):
  22. File "/home/urbanecm/pwb/scripts/replace.py", line 1170, in <module>
  23. main()
  24. File "/home/urbanecm/pwb/scripts/replace.py", line 1162, in main
  25. bot.run()
  26. File "/shared/pywikipedia/core/pywikibot/bot.py", line 1400, in run
  27. for item in self.generator:
  28. File "/shared/pywikipedia/core/pywikibot/pagegenerators.py", line 2214, in PreloadingGenerator
  29. yield from site.preloadpages(pages, groupsize)
  30. TypeError: preloadpages() takes 2 positional arguments but 3 were given
  31. CRITICAL: Exiting due to uncaught exception <class 'TypeError'>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement