VSCode: 1.82.2
PIO IDE: v2.5.0
System: Linux, 5.15.0-1041-azure, x64
%23 Exception
Error: Error: Compatible PlatformIO Core not found.
Reason: Could not run `/home/codespace/.platformio/penv/bin/platformio --help`.
Error: Traceback (most recent call last):
File "/home/codespace/.platformio/penv/lib/python3.10/site-packages/platformio/project/helpers.py", line 74, in get_default_projects_dir
assert IS_WINDOWS
AssertionError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/codespace/.platformio/penv/bin/platformio", line 5, in
from platformio.main import main
File "/home/codespace/.platformio/penv/lib/python3.10/site-packages/platformio/main.py", line 21, in
from platformio import version, exception, maintenance
File "/home/codespace/.platformio/penv/lib/python3.10/site-packages/platformio/maintenance.py", line 22, in
from platformio import version, app, exception, fs, telemetry
File "/home/codespace/.platformio/penv/lib/python3.10/site-packages/platformio/app.py", line 59, in
"value": get_default_projects_dir(),
File "/home/codespace/.platformio/penv/lib/python3.10/site-packages/platformio/project/helpers.py", line 84, in get_default_projects_dir
subprocess.check_output(["xdg-user-dir", "DOCUMENTS"])
File "/home/codespace/.python/current/lib/python3.10/subprocess.py", line 421, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/codespace/.python/current/lib/python3.10/subprocess.py", line 503, in run
with Popen(popenargs, **kwargs) as process:
File "/home/codespace/.python/current/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/codespace/.python/current/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'xdg-user-dir'
at callback (/home/codespace/.vscode-remote/extensions/platformio.platformio-ide-2.5.0/node_modules/platformio-node-helpers/dist/webpack:/platformio-node-helpers/src/proc.js:184:23)
at ChildProcess.c (/home/codespace/.vscode-remote/extensions/platformio.platformio-ide-2.5.0/node_modules/platformio-node-helpers/dist/webpack:/platformio-node-helpers/src/proc.js:157:5)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1091:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
%23 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.82.2 PIO IDE: v2.5.0 System: Linux, 5.15.0-1041-azure, x64
%23 Exception
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/codespace/.platformio/penv/bin/platformio", line 5, in
from platformio.main import main
File "/home/codespace/.platformio/penv/lib/python3.10/site-packages/platformio/main.py", line 21, in
from platformio import version, exception, maintenance
File "/home/codespace/.platformio/penv/lib/python3.10/site-packages/platformio/maintenance.py", line 22, in
from platformio import version, app, exception, fs, telemetry
File "/home/codespace/.platformio/penv/lib/python3.10/site-packages/platformio/app.py", line 59, in
"value": get_default_projects_dir(),
File "/home/codespace/.platformio/penv/lib/python3.10/site-packages/platformio/project/helpers.py", line 84, in get_default_projects_dir
subprocess.check_output(["xdg-user-dir", "DOCUMENTS"])
File "/home/codespace/.python/current/lib/python3.10/subprocess.py", line 421, in check_output
return run(popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/home/codespace/.python/current/lib/python3.10/subprocess.py", line 503, in run
with Popen(popenargs, **kwargs) as process:
File "/home/codespace/.python/current/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/codespace/.python/current/lib/python3.10/subprocess.py", line 1847, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'xdg-user-dir'