Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
`py -3.13 -m pwb -site:wikidata -simulate welcome` leads to
[Match] Dasldal has enough edits to be welcomed.
[Warn ] wikidata:wikidata doesn't allow random signature, force disable.
1 read operation
Execution time: 2 seconds
Read operation time: 2.0 seconds
Script terminated by exception:
ERROR: 'welcome.py is not localized for site wikidata:wikidata in WELCOME
dict.' (KeyError)
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\pwb\GIT\core\pwb.py", line 40, in <module>
sys.exit(main())
~~~~^^
File "C:\pwb\GIT\core\pwb.py", line 36, in main
runpy.run_path(str(path), run_name='__main__')
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen runpy>", line 287, in run_path
File "<frozen runpy>", line 98, in _run_module_code
File "<frozen runpy>", line 88, in _run_code
File "C:\pwb\GIT\core\pywikibot\scripts\wrapper.py", line 566, in <module>
main()
~~~~^^
File "C:\pwb\GIT\core\pywikibot\scripts\wrapper.py", line 550, in main
if not execute():
~~~~~~~^^
File "C:\pwb\GIT\core\pywikibot\scripts\wrapper.py", line 537, in execute
run_python_file(filename, script_args, module)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\pwb\GIT\core\pywikibot\scripts\wrapper.py", line 154, in
run_python_file
exec(compile(source, filename, 'exec', dont_inherit=True),
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
main_mod.__dict__)
^^^^^^^^^^^^^^^^^^
File "C:\pwb\GIT\core\scripts\welcome.py", line 1053, in <module>
main()
~~~~^^
File "C:\pwb\GIT\core\scripts\welcome.py", line 1049, in main
bot.run()
~~~~~~~^^
File "C:\pwb\GIT\core\pywikibot\bot.py", line 1593, in run
self.treat(page)
~~~~~~~~~~^^^^^^
File "C:\pwb\GIT\core\scripts\welcome.py", line 873, in treat
welcome_text = get_welcome_text(self.site,
sign=choice(signs) if signs else '')
File "C:\pwb\GIT\core\scripts\welcome.py", line 513, in get_welcome_text
raise KeyError(f'{script}.py is not localized for site {site} in '
f'{welcome}WELCOME dict.')
KeyError: 'welcome.py is not localized for site wikidata:wikidata in
WELCOME dict.'
CRITICAL: Exiting due to uncaught exception KeyError: 'welcome.py is not
localized for site wikidata:wikidata in WELCOME dict.'
C:\pwb\GIT\core>
TASK DETAIL
https://phabricator.wikimedia.org/T414007
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]