You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VSCode: 1.96.0
PIO IDE: v1.0.4
System: Darwin, 24.2.0, arm64
%23 Exception
Error: TypeError: Traceback (most recent call last):
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/platformio/main.py", line 103, in main
cli() %23 pylint: disable=no-value-for-parameter
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/platformio/cli.py", line 85, in invoke
return super().invoke(ctx)
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/platformio/home/cli.py", line 92, in cli
run_server(
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/platformio/home/run.py", line 66, in run_server
if not os.path.isdir(contrib_dir):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/genericpath.py", line 42, in isdir
st = os.stat(s)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
at /Users/didi/.vscode/extensions/pioarduino.pioarduino-ide-1.0.4/node_modules/pioarduino-node-helpers/dist/index.js:1:10938
at ChildProcess.d (/Users/didi/.vscode/extensions/pioarduino.pioarduino-ide-1.0.4/node_modules/pioarduino-node-helpers/dist/index.js:1:4560)
at ChildProcess.emit (node:events:518:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1104:16)
at Socket. (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Socket.emit (node:domain:489:12)
at Pipe. (node:net:343:12)
The text was updated successfully, but these errors were encountered:
Description of problem
Leave a comment...
BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN
https://github.com/platformio/platformio-vscode-ide/issues%3Fq=is%3Aissue
%23 Configuration
VSCode: 1.96.0
PIO IDE: v1.0.4
System: Darwin, 24.2.0, arm64
%23 Exception
Error: TypeError: Traceback (most recent call last):
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/platformio/main.py", line 103, in main
cli() %23 pylint: disable=no-value-for-parameter
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/platformio/cli.py", line 85, in invoke
return super().invoke(ctx)
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/platformio/home/cli.py", line 92, in cli
run_server(
File "/Users/didi/.platformio/penv/lib/python3.9/site-packages/platformio/home/run.py", line 66, in run_server
if not os.path.isdir(contrib_dir):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/genericpath.py", line 42, in isdir
st = os.stat(s)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
============================================================
An unexpected error occurred. Further steps:
Verify that you have the latest version of PlatformIO using
python -m pip install -U platformio
commandTry to find answer in FAQ Troubleshooting section
https://docs.platformio.org/page/faq/index.html
Report this problem to the developers
https://github.com/platformio/platformio-core/issues
============================================================
at /Users/didi/.vscode/extensions/pioarduino.pioarduino-ide-1.0.4/node_modules/pioarduino-node-helpers/dist/index.js:1:10938
at ChildProcess.d (/Users/didi/.vscode/extensions/pioarduino.pioarduino-ide-1.0.4/node_modules/pioarduino-node-helpers/dist/index.js:1:4560)
at ChildProcess.emit (node:events:518:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1104:16)
at Socket. (node:internal/child_process:456:11)
at Socket.emit (node:events:518:28)
at Socket.emit (node:domain:489:12)
at Pipe. (node:net:343:12)
The text was updated successfully, but these errors were encountered: