List of steps to reproduce:
- Add self.threads.stop_all() to weblinkchecker.py e.g. within this at in line 623 before the break statement.
- run pwb weblinkchecker -simulate -cat:Neapel
What happens?:
The script fails with AttributeError because a threading.Thread does not have a` stop()` method
self.exit()
File "C:\pwb\GIT\core\pywikibot\bot.py", line 1484, in exit
self.teardown()
File ".\scripts\weblinkchecker.py", line 623, in teardown
self.threads.stop_all()
File "C:\pwb\GIT\core\pywikibot\tools\__init__.py", line 818, in stop_all
thd.stop()
AttributeError: 'LinkCheckThread' object has no attribute 'stop'. Did you mean: '_stop'?
CRITICAL: Exiting due to uncaught exception <class 'AttributeError'>Software version:
introduced with rPWBC4d756b3