Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION creating a family file for http://en.wikisource.beta.wmflabs.org/ fails with server error 500 See https://github.com/wikimedia/pywikibot/actions/runs/11926649141/job/33240776798 for example Run if [ 0 == wpbeta ]; then if [ 0 == wpbeta ]; then python pwb.py generate_family_file http://.wikipedia.beta.wmflabs.org/ wpbeta y fi if [ wsbeta:en == 'wsbeta:en' ]; then python pwb.py generate_family_file http://en.wikisource.beta.wmflabs.org/ wsbeta y fi shell: /usr/bin/bash -e {0} env: PYWIKIBOT_TEST_RUNNING: 1 PYWIKIBOT_USERNAME: Pywikibot-test pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64 PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/pkgconfig Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64 Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64 Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib Generating family file from http://en.wikisource.beta.wmflabs.org/ Traceback (most recent call last): File "pwb.py", line 40, in <module> sys.exit(main()) File "pwb.py", line 36, in main runpy.run_path(str(path), run_name='__main__') File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/runpy.py", line 265, in run_path return _run_module_code(code, init_globals, run_name, File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/runpy.py", line 97, in _run_module_code _run_code(code, mod_globals, init_globals, File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "pywikibot/scripts/wrapper.py", line 544, in <module> main() File "pywikibot/scripts/wrapper.py", line 528, in main if not execute(): File "pywikibot/scripts/wrapper.py", line 515, in execute run_python_file(filename, script_args, module) File "pywikibot/scripts/wrapper.py", line 153, in run_python_file exec(compile(source, filename, 'exec', dont_inherit=True), File "pywikibot/scripts/generate_family_file.py", line 338, in <module> main() File "pywikibot/scripts/generate_family_file.py", line 334, in main FamilyFileGenerator(*sys.argv[1:]).run() File "pywikibot/scripts/generate_family_file.py", line 152, in run w, verify = self.get_wiki() File "pywikibot/scripts/generate_family_file.py", line 134, in get_wiki w = self.Wiki(self.base_url, verify=verify) File "/home/runner/work/pywikibot/pywikibot/pywikibot/site_detect.py", line 51, in __init__ r = fetch(fromurl, **kwargs) File "/home/runner/work/pywikibot/pywikibot/pywikibot/comms/http.py", line 452, in fetch callback(response) File "/home/runner/work/pywikibot/pywikibot/pywikibot/comms/http.py", line 349, in error_handling_callback raise ServerError( pywikibot.exceptions.ServerError: 500 Server Error: Internal Server Error CRITICAL: Exiting due to uncaught exception ServerError: 500 Server Error: Internal Server Error Error: Process completed with exit code 1. TASK DETAIL https://phabricator.wikimedia.org/T380377 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
