Hello
As of recent, I havent been able to make ANY builds. AT ALL. I dont know what is going on. Every time it is the same message. If anyone can please help me I would greatly appreciate it
The message is as follows;
Verbose mode can be enabled via -v, --verbose
option
FileNotFoundError: [WinError 3] The system cannot find the path specified: ‘C:\Users\chris\.platformio\packages\framework-arduinoststm32\variants\MARLIN_BIGTREE_OCTOPUS_V1’:
File “C:\users\chris.platformio\penv\lib\site-packages\platformio\builder\main.py”, line 179:
env.SConscript(item, exports=“env”)
File “C:\Users\chris.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py”, line 597:
return _SConscript(self.fs, *files, **subst_kw)
File “C:\Users\chris.platformio\packages\tool-scons\scons-local-4.3.0\SCons\Script\SConscript.py”, line 285:
exec(compile(scriptdata, scriptname, ‘exec’), call_stack[-1].globals)
File “D:\Coding\Marlin\Marlin-2.0.x\buildroot\share\PlatformIO\scripts\generic_create_variant.py”, line 50:
os.mkdir(variant_dir)
Yes, that was it. Something along the way was broken, dont have time to find out. So, thank you friend.
In summary, the fix was me going in to;
c:users/chris/.platformio/
delete contents INSIDE platforms
delete contents INSIDE packages
then go back to VS CODE and try and hit CLEAN again. You just see a basic loading loop. On the far right of the terminal there is a list of ‘projects’. One of them upon click will show you that platformio is in fact doing a series of downloads and repopulating the necessary folders and docs. It lets you know when it reaches completion.
Environment Status Duration
BIGTREE_OCTOPUS_V1 SUCCESS 00:00:00.582
=================================== 1 succeeded in 00:00:00.582 ===================================
Terminal will be reused by tasks, press any key to close it.
Executing task: C:\Users\chris.platformio\penv\Scripts\platformio.exe run --target clean <
Processing BIGTREE_OCTOPUS_V1 (board: marlin_BigTree_Octopus_v1; platform: ststm32@~12.1; framework: arduino)
---------------------------------------------------------------------------------------------------Platform Manager: Installing ststm32 @ ~12.1
Downloading [####################################] 100%
Unpacking [####################################] 100%
Platform Manager: ststm32 @ 12.1.1 has been installed!
Tool Manager: Installing platformio/toolchain-gccarmnoneeabi @ ~1.90201.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: toolchain-gccarmnoneeabi @ 1.90201.191206 has been installed!
Tool Manager: Installing platformio/framework-cmsis @ ~2.50501.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: framework-cmsis @ 2.50501.200527 has been installed!
Tool Manager: Installing platformio/framework-arduinoststm32 @ ~4.10900.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: framework-arduinoststm32 @ 4.10900.200819 has been installed!
Tool Manager: Installing platformio/tool-scons @ ~4.40300.0
Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: tool-scons @ 4.40300.1 has been installed!
Removed .pio\build\BIGTREE_OCTOPUS_V1.gcc_path
Done cleaning
================================== [SUCCESS] Took 192.84 seconds ==================================
Environment Status Duration
BIGTREE_OCTOPUS_V1 SUCCESS 00:03:12.835