Meno25 added a comment.

  In T223045#5174996 <https://phabricator.wikimedia.org/T223045#5174996>, 
@Dvorapa wrote:
  
  > Did it help to solve the issue for you?
  
  
  No, sir. This is the output after running touch.py again (after the 
submodules command):
  
    python pwb.py touch.py -lang:ar -cat:"تحويلات متصلة بعنصر ويكي بيانات"
    Retrieving 50 pages from wikipedia:ar.
    
    0 pages read
    0 pages written
    Execution time: 11 seconds
    Script terminated by exception:
    
    ERROR: TranslationError: No English translation has been defined for 
TranslateWiki key
    "pywikibot-touch". It can happen due to lack of i18n submodule or
    files or an outdated submodule. See
    https://www.mediawiki.org/wiki/Manual:Pywikibot/i18n
    Traceback (most recent call last):
      File "pwb.py", line 250, in <module>
        if not main():
      File "pwb.py", line 243, in main
        run_python_file(filename, [filename] + args, argvu, file_package)
      File "pwb.py", line 95, in run_python_file
        main_mod.__dict__)
      File "./scripts/touch.py", line 135, in <module>
        main()
      File "./scripts/touch.py", line 127, in main
        bot.run()
      File 
"/mnt/nfs/labstore-secondary-tools-home/meno25/core/pywikibot/bot.py", line 
1702, in run
        super(MultipleSitesBot, self).run()
      File 
"/mnt/nfs/labstore-secondary-tools-home/meno25/core/pywikibot/bot.py", line 
1505, in run
        self.treat(page)
      File "./scripts/touch.py", line 60, in treat
        page.touch(botflag=self.getOption('botflag'))
      File 
"/mnt/nfs/labstore-secondary-tools-home/meno25/core/pywikibot/page.py", line 
1425, in touch
        summary = i18n.twtranslate(self.site, 'pywikibot-touch')
      File 
"/mnt/nfs/labstore-secondary-tools-home/meno25/core/pywikibot/tools/__init__.py",
 line 1738, in wrapper
        return obj(*__args, **__kw)
      File 
"/mnt/nfs/labstore-secondary-tools-home/meno25/core/pywikibot/i18n.py", line 
756, in twtranslate
        twtitle, __url__)))
    pywikibot.i18n.TranslationError: No English translation has been defined 
for TranslateWiki key
    "pywikibot-touch". 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.i18n.TranslationError'>

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

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

To: Meno25
Cc: Dvorapa, Aklapper, alanajjar, pywikibot-bugs-list, Meno25, Viztor, 
DannyS712, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, 
jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to