platformio-vscode-ide icon indicating copy to clipboard operation
platformio-vscode-ide copied to clipboard

Start PIO Home Server

Open xrust83 opened this issue 10 months ago • 1 comments

%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.88.0-insider PIO IDE: v3.3.3 System: Darwin, 23.3.0, x64

%23 Exception

Error: PermissionError: Traceback (most recent call last):
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/platformio/__main__.py", line 103, in main
  cli()  %23 pylint: disable=no-value-for-parameter
  ^^^^^
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
  return self.main(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1078, in main
  rv = self.invoke(ctx)
       ^^^^^^^^^^^^^^^^
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/platformio/cli.py", line 85, in invoke
  return super().invoke(ctx)
         ^^^^^^^^^^^^^^^^^^^
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1685, in invoke
  super().invoke(ctx)
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
  return ctx.invoke(self.callback, **ctx.params)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/click/core.py", line 783, in invoke
  return __callback(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/click/decorators.py", line 33, in new_func
  return f(get_current_context(), *args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/platformio/__main__.py", line 56, in cli
  maintenance.on_cmd_start(ctx, caller)
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/platformio/maintenance.py", line 38, in on_cmd_start
  after_upgrade(ctx)
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/platformio/maintenance.py", line 153, in after_upgrade
  cleanup_content_cache("http")
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/platformio/cache.py", line 164, in cleanup_content_cache
  with ContentCache(namespace) as cc:
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/platformio/cache.py", line 36, in __enter__
  self.delete()
File "/Users/xrust/.platformio/penv/lib/python3.11/site-packages/platformio/cache.py", line 132, in delete
  with open(self._db_path, mode="w", encoding="utf8") as fp:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/Users/xrust/.platformio/.cache/http/db.data'

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

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 /Users/xrust/.vscode-insiders/extensions/platformio.platformio-ide-3.3.3-darwin-x64/node_modules/platformio-node-helpers/dist/index.js:1:11001
	at ChildProcess.i (/Users/xrust/.vscode-insiders/extensions/platformio.platformio-ide-3.3.3-darwin-x64/node_modules/platformio-node-helpers/dist/index.js:1:4621)
	at ChildProcess.emit (node:events:517:28)
	at ChildProcess.emit (node:domain:489:12)
	at maybeClose (node:internal/child_process:1098:16)
	at Socket.<anonymous> (node:internal/child_process:450:11)
	at Socket.emit (node:events:517:28)
	at Socket.emit (node:domain:489:12)
	at Pipe.<anonymous> (node:net:350:12)

xrust83 avatar Apr 03 '24 19:04 xrust83

https://github.com/platformio/platformio-vscode-ide/issues/2811#issuecomment-974678431

xrust83 avatar Apr 03 '24 20:04 xrust83