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

TASK DESCRIPTION
  **Command line:**
  
    python pwb.py checkimages -lang:arz
  
  **Output:**
  
    Retrieving the latest 80 files for checking...
    
    Loading the allowed licenses...
    
    
    >> No additional settings found! <<
    Roben1worlldcup.jpg has only text and not the specific license...
    @@ -0,0 +1 @@
    + {{subst:ملم}}
    
    بوت: التعليم على ملف مرفوع حديثا غير موسوم
    Page [[ملف:Roben1worlldcup.jpg]] saved
    The latest user that has written something is: MediaWiki message delivery
    Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pwb.py", line 495, in <module>
        main()
      File "C:\Users\Mohammed\Downloads\core\pwb.py", line 479, in main
        if not execute():
      File "C:\Users\Mohammed\Downloads\core\pwb.py", line 463, 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\checkimages.py", line 1743, in <module>
        ret = main()
      File ".\scripts\checkimages.py", line 1729, in main
        bot.check_step()
      File ".\scripts\checkimages.py", line 1560, in check_step
        self.report(self.unvertext, self.image_name, notification, head, smwl)
      File ".\scripts\checkimages.py", line 594, in report
        self.put_mex_in_talk()
      File ".\scripts\checkimages.py", line 728, in put_mex_in_talk
        self.talk_page.put(new_text, summary=commentox, minor=False)
      File "C:\Users\Mohammed\Downloads\core\pywikibot\page\__init__.py", line 
1308, in put
        self.save(summary=summary, watch=watch, minor=minor, botflag=botflag,
      File "C:\Users\Mohammed\Downloads\core\pywikibot\page\__init__.py", line 
1214, in save
        raise OtherPageSaveError(
    pywikibot.exceptions.OtherPageSaveError: Edit to page [[نقاش 
المستخدم:Islam90]] failed:
    Editing restricted by {{bots}}, {{nobots}} or site's equivalent of {{in 
use}} template
    CRITICAL: Exiting due to uncaught exception <class 
'pywikibot.exceptions.OtherPageSaveError'>
  
  **Output of version.py:**
  
    Pywikibot: [https] r-pywikibot-core (d6acb07, g15986, 2022/02/20, 13:46:41, 
OUTDATED)
    Release version: 7.0.0.dev0
    setuptools version: 60.9.3
    mwparserfromhell version: 0.6.4
    wikitextparser version: n/a
    requests version: 2.27.1
        certificate test: ok
    Python: 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 
bit (AMD64)]
  
  **Notes:**
  
  - This error happened because the page arz:نقاش المستخدم:Islam90 
<https://arz.wikipedia.org/wiki/%D9%86%D9%82%D8%A7%D8%B4_%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:Islam90>
 contains the template arz:قالب:Nobots 
<https://arz.wikipedia.org/w/index.php?title=%D9%82%D8%A7%D9%84%D8%A8:Nobots&redirect=no>
  
  **Request:**
  
  - Please make the bot skip the page (and not crash) when encountering such 
errors. Thank you.

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

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

To: Meno25
Cc: Aklapper, alaa, pywikibot-bugs-list, Meno25, 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