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 reflinks -ignorepdf -lang:ary -start:! **Output:** Traceback (most recent call last): File ".\scripts\reflinks.py", line 506, in setup with codecs.open(listof404pages, 'r', 'latin_1') as f: File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.1520.0_x64__qbz5n2kfra8p0\lib\codecs.py", line 905, in open file = builtins.open(filename, mode, buffering) PermissionError: [Errno 13] Permission denied: '404-links.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\Users\Mohammed\Downloads\core\pwb.py", line 365, in <module> if not main(): File "C:\Users\Mohammed\Downloads\core\pwb.py", line 357, in main run_python_file(filename, File "C:\Users\Mohammed\Downloads\core\pwb.py", line 73, in run_python_file exec(compile(source, filename, 'exec', dont_inherit=True), File ".\scripts\reflinks.py", line 772, in <module> main() File ".\scripts\reflinks.py", line 768, in main bot.run() File "C:\Users\Mohammed\Downloads\core\pywikibot\bot.py", line 1501, in run self.setup() File ".\scripts\reflinks.py", line 509, in setup raise NotImplementedError( NotImplementedError: 404-links.txt is required for reflinks.py You need to download http://www.twoevils.org/files/wikipedia/404-links.txt.gz and to unzip it in the same directory CRITICAL: Exiting due to uncaught exception <class 'NotImplementedError'> **Output of version.py:** Pywikibot: [https] r-pywikibot-core (56766b1, g14811, 2021/05/10, 19:14:14, master) Release version: 6.2.0.dev0 requests version: 2.25.1 certificate test: ok Python: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] TASK DETAIL https://phabricator.wikimedia.org/T282569 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Meno25 Cc: Aklapper, alaa, Meno25, pywikibot-bugs-list, Shalomori123, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org