Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pio home crash at initial install #80

Open
xsbear opened this issue Dec 18, 2024 · 1 comment
Open

Pio home crash at initial install #80

xsbear opened this issue Dec 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@xsbear
Copy link

xsbear commented Dec 18, 2024

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:

============================================================

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)

@Jason2866 Jason2866 self-assigned this Dec 18, 2024
@Jason2866
Copy link

Follow up of #70 (comment)

@Jason2866 Jason2866 added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants