Open toshinari123 opened 1 year ago
This error is due to non maintained code. Python was updated, breaking the old buildroot/share/PlatformIO/scripts/marlin.py
In MarlinFirware provided code this fix has been applied for some time... https://github.com/MarlinFirmware/Marlin/commit/c2decc3e2e30c7cb0f517b7e40d8138a8c1d4a81
RuntimeError: deque mutated during iteration: File "C:\Users\toshi.platformio\penv\Lib\site-packages\platformio\builder\main.py", line 180:
env.SConscript(env.GetExtraScripts("post"), exports="env") File "C:\Users\toshi.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 598: return _SConscript(self.fs, *files, **subst_kw) File "C:\Users\toshi.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 285: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "D:\PROJECTS\nestspace\Octopus-Max-EZ\Firmware\Marlin-bugfix-2.1.x\buildroot\share\PlatformIO\scripts\offset_and_rename.py", line 24: marlin.relocate_vtab(LD_FLASH_OFFSET) File "D:\PROJECTS\nestspace\Octopus-Max-EZ\Firmware\Marlin-bugfix-2.1.x\buildroot\share\PlatformIO\scripts\marlin.py", line 30: replace_define("VECT_TAB_OFFSET", address) O\scripts\marlin.py", line 19:
https://community.platformio.org/t/marlin-runtimeerror-deque-mutated-during-iteration/34661/5 apply the fix in the bottommost post in above website