Welcome! Log In Create A New Profile

Advanced

Marlin 2.0x no longer builds in OS X

Posted by Modmike 
Marlin 2.0x no longer builds in OS X
June 04, 2020 01:28PM
I've had zero issues for 2 years and all of a sudden I can't build Marlin anymore. I spent nearly 5 days straight trying to fix this, hoping someone here can shed some light.

OS:
Both Macs are running Catalina 10.15.5

Steps:
1) Installed VSCode on another mac
2) Installed PalformIO IDE
3) Downloaded Marlin2.0X
4) Built using the check mark (default build env)

Result: Successful build with 2 warnings

On my main machine:

1) Uninstalled all home brew or other python installs
2) Reinstalled Python 3.8.3 and then used App Cleaner to remove it and VS Code
3) Deleted the hidden files .platformio and .vscode in my home directory
4) Deleted .zsh profile
5) Deleted .bash profile (no longer use it but, hey, can't hurt)
6) Checked my private frameworks to make sure there were no Python stragglers (there weren't)
7) exceuted "Echo $Path" in Terminal to make sure no weird paths were still exported
8) Rebooted
9) Downloaded VSCode from Microsoft and installed it
10) Opened VSCode and installed PlatformIO IDE
11) Restarted VSCode as instructed by PIO installation
12) Tried to build Marlin2.0x as downloaded
13) Failed with these errors:

Fatal Python error: deletion of interned string failed

If I build again I get:

AttributeError: 'WeakSet' object has no attribute 'data':
File "/Users/Michael/.platformio/packages/tool-scons/script/../engine/SCons/Script/Main.py", line 1346:
_exec_main(parser, values)
File "/Users/Michael/.platformio/packages/tool-scons/script/../engine/SCons/Script/Main.py", line 1309:
_main(parser)
File "/Users/Michael/.platformio/packages/tool-scons/script/../engine/SCons/Script/Main.py", line 1091:
nodes = _build_targets(fs, options, targets, target_top)
File "/Users/Michael/.platformio/packages/tool-scons/script/../engine/SCons/Script/Main.py", line 1283:
jobs.run(postfunc = jobs_postfunc)
File "/Users/Michael/.platformio/packages/tool-scons/script/../engine/SCons/Job.py", line 111:
self.job.start()
File "/Users/Michael/.platformio/packages/tool-scons/script/../engine/SCons/Job.py", line 381:
task = self.taskmaster.next_task()
File "/Users/Michael/.platformio/packages/tool-scons/script/../engine/SCons/Taskmaster.py", line 938:
node = self._find_next_ready_node()
File "/Users/Michael/.platformio/packages/tool-scons/script/../engine/SCons/Taskmaster.py", line 828:
for child in chain(executor.get_all_prerequisites(), children):
File "/Users/Michael/.platformio/penv/lib/python2.7/_abcoll.py", line 605:
v = self
File "/Users/Michael/.platformio/packages/tool-scons/script/../engine/SCons/Util.py", line 1256:
return UserList.__getitem__(self, i)
File "/Users/Michael/.platformio/penv/lib/python2.7/abc.py", line 132:
if subclass is not None and subclass in cls._abc_cache:
File "/Users/Michael/.platformio/penv/lib/python2.7/_weakrefset.py", line 75:

Edited 4 time(s). Last edit at 06/04/2020 01:40PM by Modmike.
Sorry, only registered users may post in this forum.

Click here to login