Page MenuHomePhabricator
Paste P16730

(An Untitled Masterwork)
ActivePublic

Authored by Urbanecm on Jun 27 2021, 10:57 AM.
tools.urbanecmbot@tools-sgebastion-07 ~/11bots/cswiki/userbots/badProtectTemplates
$ python3 ~/pwb/scripts/archive/blockpageschecker.py -catr:"Údržba:Stránky s chybným použitím šablony o zamčení" -always
/shared/pywikipedia/core/pywikibot/config.py:1010: _ConfigurationDeprecationWarning:
"db_hostname" 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)
Retrieving 41 pages from wikipedia:cs.
Loading [[Jan Blatný]]...
Traceback (most recent call last):
File "/data/project/urbanecmbot/pwb/scripts/archive/blockpageschecker.py", line 514, in <module>
main()
File "/data/project/urbanecmbot/pwb/scripts/archive/blockpageschecker.py", line 343, in main
.format(replaceToPerform, '', text))
TypeError: subn() missing 2 required positional arguments: 'repl' and 'string'
CRITICAL: Exiting due to uncaught exception <class 'TypeError'>
tools.urbanecmbot@tools-sgebastion-07 ~/11bots/cswiki/userbots/badProtectTemplates
$