Meno25 created this task.
Meno25 added projects: Pywikibot, Pywikibot-i18n.
Restricted Application added subscribers: pywikibot-bugs-list, alaa, Aklapper.

TASK DESCRIPTION
  **List of steps to reproduce** (step by step, including full links if 
applicable):
  
    python pwb.py replace -fix:isbn -lang:ar
  
  **What happens?**:
  
    Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pwb.py", line 499, in <module>
        main()
      File "C:\Users\Mohammed\Downloads\core\pwb.py", line 483, in main
        if not execute():
      File "C:\Users\Mohammed\Downloads\core\pwb.py", line 466, in execute
        run_python_file(filename, script_args, module)
      File "C:\Users\Mohammed\Downloads\core\pwb.py", line 143, in 
run_python_file
        exec(compile(source, filename, 'exec', dont_inherit=True),
      File ".\scripts\replace.py", line 1100, in <module>
        main()
      File ".\scripts\replace.py", line 1001, in main
        set_summary = i18n.twtranslate(site, str(fix['msg']))
      File "C:\Users\Mohammed\Downloads\core\pywikibot\i18n.py", line 749, in 
twtranslate
        raise pywikibot.exceptions.TranslationError(fill(
    pywikibot.exceptions.TranslationError: No English translation has been 
defined for TranslateWiki key "isbn-
    formatting". It can happen due to lack of i18n submodule or files or
    an outdated submodule. See
    https://www.mediawiki.org/wiki/Manual:Pywikibot/i18n
    CRITICAL: Exiting due to uncaught exception <class 
'pywikibot.exceptions.TranslationError'>
  
  **Notes**:
  
  - The message "isbn-formatting" was deleted in 
rPWIN732cd7013894585eca3dc06659027a816d663731 
<https://phabricator.wikimedia.org/rPWIN732cd7013894585eca3dc06659027a816d663731>
  - That commit should be partially reverted to readd the missing message.
  
  **Software version (if not a Wikimedia wiki), browser information, 
screenshots, other information, etc.**:
  
    Pywikibot: [https] r-pywikibot-core (e78d4a6, g16314, 2022/04/13, 13:56:43, 
master)
    Release version: 7.2.0.dev0
    setuptools version: 62.1.0
    mwparserfromhell version: 0.6.4
    wikitextparser version: n/a
    requests version: 2.27.1
        certificate test: ok
    Python: 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 
bit (AMD64)]

TASK DETAIL
  https://phabricator.wikimedia.org/T306166

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Meno25
Cc: Aklapper, alaa, Meno25, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to