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

Start PIO Home Server #4251

Open
Murffyp opened this issue Feb 9, 2025 · 0 comments
Open

Start PIO Home Server #4251

Murffyp opened this issue Feb 9, 2025 · 0 comments

Comments

@Murffyp
Copy link

Murffyp commented Feb 9, 2025

%23 Description of problem
After installing the platform io extension.. this permissions error upon reload...

BEFORE SUBMITTING, PLEASE SEARCH FOR DUPLICATES IN

%23 Configuration

VSCode: 1.97.0
PIO IDE: v3.3.4
System: Linux, 6.6.74 rpt-rpi-v8, arm

%23 Exception

Error: PermissionError: Traceback (most recent call last):
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/platformio/__main__.py", line 103, in main
  cli()  %23 pylint: disable=no-value-for-parameter
  ^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1161, in __call__
  return self.main(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1082, in main
  rv = self.invoke(ctx)
       ^^^^^^^^^^^^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/platformio/cli.py", line 85, in invoke
  return super().invoke(ctx)
         ^^^^^^^^^^^^^^^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1697, in invoke
  return _process_result(sub_ctx.command.invoke(sub_ctx))
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1443, in invoke
  return ctx.invoke(self.callback, **ctx.params)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 788, in invoke
  return __callback(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/platformio/home/cli.py", line 92, in cli
  run_server(
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/platformio/home/run.py", line 65, in run_server
  contrib_dir = get_core_package_dir("contrib-piohome")
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/platformio/package/manager/core.py", line 42, in get_core_package_dir
  pkg = pm.get_package(spec)
        ^^^^^^^^^^^^^^^^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/platformio/package/manager/base.py", line 265, in get_package
  for pkg in self.get_installed():
             ^^^^^^^^^^^^^^^^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/platformio/package/manager/base.py", line 241, in get_installed
  spec = self.build_legacy_spec(pkg.path)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/murffyp/.platformio/penv/lib/python3.11/site-packages/platformio/package/manager/_legacy.py", line 26, in build_legacy_spec
  for name in os.listdir(pkg_dir):
              ^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/home/murffyp/.platformio/packages/contrib-piohome'

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

An unexpected error occurred. Further steps:

* Verify that you have the latest version of PlatformIO using
`python -m pip install -U platformio` command

* Try 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 /home/murffyp/.vscode/extensions/platformio.platformio-ide-3.3.4-linux-armhf/node_modules/platformio-node-helpers/dist/index.js:1:10943
  at ChildProcess.i (/home/murffyp/.vscode/extensions/platformio.platformio-ide-3.3.4-linux-armhf/node_modules/platformio-node-helpers/dist/index.js:1:4548)
  at ChildProcess.emit (node:events:518:28)
  at ChildProcess.emit (node:domain:489:12)
  at maybeClose (node:internal/child_process:1104:16)
  at Socket.<anonymous> (node:internal/child_process:456:11)
  at Socket.emit (node:events:518:28)
  at Socket.emit (node:domain:489:12)
  at Pipe.<anonymous> (node:net:343:12)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant