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

Libraries: Updates #1301

Closed
gcl8a opened this issue Sep 18, 2020 · 2 comments
Closed

Libraries: Updates #1301

gcl8a opened this issue Sep 18, 2020 · 2 comments

Comments

@gcl8a
Copy link

gcl8a commented Sep 18, 2020

PIO Core Call Error: "Error: Traceback (most recent call last):\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/platformio/main.py", line 109, in main\n cli() # pylint: disable=no-value-for-parameter\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/click/core.py", line 829, in call\n return self.main(*args, **kwargs)\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/click/core.py", line 782, in main\n rv = self.invoke(ctx)\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/platformio/commands/init.py", line 44, in invoke\n return super(PlatformioCLI, self).invoke(ctx)\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/click/core.py", line 1259, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/click/core.py", line 1066, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/click/core.py", line 610, in invoke\n return callback(*args, **kwargs)\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/click/decorators.py", line 21, in new_func\n return f(get_current_context(), args, kwargs)\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/platformio/commands/lib/command.py", line 247, in lib_update\n lm = LibraryPackageManager(storage_dir)\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/platformio/package/manager/library.py", line 29, in init\n super(LibraryPackageManager, self).init(\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/platformio/package/manager/base.py", line 54, in init\n self.package_dir = self.ensure_dir_exists(package_dir)\n File "/Users/greg/.platformio/penv/lib/python3.8/site-packages/platformio/package/manager/base.py", line 98, in ensure_dir_exists\n assert os.path.isdir(path)\nAssertionError\n\n============================================================\n\nAn unexpected error occurred. Further steps:\n\n Verify that you have the latest version of PlatformIO using\n pip install -U platformio command\n\n Try to find answer in FAQ Troubleshooting section\n https://docs.platformio.org/page/faq.html\n\n Report this problem to the developers\n https://github.com/platformio/platformio-core/issues\n\n============================================================"

@ivankravets
Copy link
Member

Please open VSCode > Left Side Bar > PlatformIO (Icon) > Quik Access > PlatformIO Core CLI and type

pio upgrade --dev

Restart VSCode. Does it work now?

Screen Shot 2020-09-19 at 19 33 06

Ref. platformio/platformio-core#3677

@gcl8a
Copy link
Author

gcl8a commented Sep 19, 2020 via email

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

2 participants