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 contains the template arz:قالب:Nobots
Request:
- Please make the bot skip the page (and not crash) when encountering such errors. Thank you.