bigtreetech / bigtreetech/Octopus-Max-EZ

marlin compilation error

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
114
Forks
29
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the PlatformIO build and inspect buildroot/share/PlatformIO/scripts/offset_and_rename.py and marlin.py at the reported lines. Read the linked PlatformIO discussion for the referenced fix, then verify that the Marlin firmware compiles without the deque-mutation RuntimeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.