Run an interactive script pwb.py replace and confirm an edit.
What happens?:
RuntimeError: dictionary changed size during iteration Traceback (most recent call last): File "C:\Users\matej\Dokumenty\core\pwb.py", line 495, in <module> main() File "C:\Users\matej\Dokumenty\core\pwb.py", line 479, in main if not execute(): File "C:\Users\matej\Dokumenty\core\pwb.py", line 463, in execute run_python_file(filename, script_args, module) File "C:\Users\matej\Dokumenty\core\pwb.py", line 143, in run_python_file exec(compile(source, filename, 'exec', dont_inherit=True), File ".\scripts\replace.py", line 1096, in <module> main() File ".\scripts\replace.py", line 1092, in main bot.run() File "C:\Users\matej\Dokumenty\core\pywikibot\bot.py", line 1565, in run self.treat(page) File ".\scripts\replace.py", line 705, in treat choice = pywikibot.input_choice( File "C:\Users\matej\Dokumenty\core\pywikibot\bot.py", line 536, in wrapper init_handlers() File "C:\Users\matej\Dokumenty\core\pywikibot\bot.py", line 447, in init_handlers writelogheader() File "C:\Users\matej\Dokumenty\core\pywikibot\bot.py", line 506, in writelogheader for module in sys.modules.values(): RuntimeError: dictionary changed size during iteration CRITICAL: Exiting due to uncaught exception <class 'RuntimeError'>
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
Pywikibot: [ssh] pywikibot-core.git (eccb6ab, g16023, 2022/02/28, 18:44:18, master) Release version: 7.1.0.dev0 Python: 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)]