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

Could not update or uninstall external dev-platform #3663

Closed
AnDrEaZaNoLeTtI opened this issue Aug 31, 2020 · 1 comment
Closed

Could not update or uninstall external dev-platform #3663

AnDrEaZaNoLeTtI opened this issue Aug 31, 2020 · 1 comment

Comments

@AnDrEaZaNoLeTtI
Copy link

PIO Core Call Error: "Platform C:\Users\AZANOLETTI\.platformio\platforms\espressif32@src-5f117260f75b328038ec9d3fd0e14a68\r\n--------\r\n\n\nError: Traceback (most recent call last):\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\platformio\main.py", line 109, in main\r\n cli() # pylint: disable=no-value-for-parameter\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\click\core.py", line 764, in call\r\n return self.main(*args, **kwargs)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\click\core.py", line 717, in main\r\n rv = self.invoke(ctx)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\platformio\commands\init.py", line 44, in invoke\r\n return super(PlatformioCLI, self).invoke(ctx)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\click\core.py", line 1137, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\click\core.py", line 1137, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\click\core.py", line 956, in invoke\r\n return ctx.invoke(self.callback, **ctx.params)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\click\core.py", line 555, in invoke\r\n return callback(args, kwargs)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\platformio\commands\platform.py", line 421, in platform_update\r\n platform, only_packages=only_packages, only_check=only_check, silent=silent\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\platformio\package\manager\platform.py", line 98, in update\r\n pkg = self.get_package(from_spec)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\platformio\package\manager\base.py", line 229, in get_package\r\n spec = self.ensure_spec(spec)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\platformio\package\manager\base.py", line 100, in ensure_spec\r\n return spec if isinstance(spec, PackageSpec) else PackageSpec(spec)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\platformio\package\meta.py", line 119, in init\r\n self._parse(raw)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\platformio\package\meta.py", line 221, in _parse\r\n raw = parser(raw)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\platformio\package\meta.py", line 238, in _parse_requirements\r\n self.requirements = tokens[1].strip()\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\platformio\package\meta.py", line 162, in requirements\r\n else semantic_version.SimpleSpec(str(value))\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\semantic_version\base.py", line 618, in init\r\n self.clause = self._parse_to_clause(expression)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\semantic_version\base.py", line 1014, in _parse_to_clause\r\n return cls.Parser.parse(expression)\r\n File "c:\users\azanoletti\.platformio\penv\lib\site-packages\semantic_version\base.py", line 1034, in parse\r\n raise ValueError("Invalid simple block %r" % block)\r\nValueError: Invalid simple block 'src-5f117260f75b328038ec9d3fd0e14a68'\r\n\r\n============================================================\r\n\r\nAn unexpected error occurred. Further steps:\r\n\r\n Verify that you have the latest version of PlatformIO using\r\n pip install -U platformio command\r\n\r\n Try to find answer in FAQ Troubleshooting section\r\n https://docs.platformio.org/page/faq.html\r\n\r\n Report this problem to the developers\r\n https://github.com/platformio/platformio-core/issues\r\n\r\n============================================================"

@ivankravets ivankravets changed the title Could not load platform data Could not update or uninstall external dev-platform Sep 9, 2020
@ivankravets ivankravets transferred this issue from platformio/platformio-home Sep 9, 2020
@ivankravets ivankravets added this to the 5.0.1 milestone Sep 9, 2020
@ivankravets
Copy link
Member

Please re-test with pio upgrade --dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants