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 load platform data #1195

Closed
klotzmando opened this issue Sep 5, 2020 · 1 comment
Closed

Could not load platform data #1195

klotzmando opened this issue Sep 5, 2020 · 1 comment

Comments

@klotzmando
Copy link

PIO Core Call Error: "Platform C:\Users\dklot\.platformio\platforms\nxplpc-arduino-lpc176x@src-48df7c40646077dcb9b837ea66aff7b8\n--------\n\n\nError: Traceback (most recent call last):\n File "c:\users\dklot\.platformio\penv\lib\site-packages\platformio\main.py", line 109, in main\n cli() # pylint: disable=no-value-for-parameter\n File "c:\users\dklot\.platformio\penv\lib\site-packages\click\core.py", line 700, in call\n return self.main(*args, **kwargs)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\click\core.py", line 680, in main\n rv = self.invoke(ctx)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\platformio\commands\init.py", line 44, in invoke\n return super(PlatformioCLI, self).invoke(ctx)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\click\core.py", line 1027, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "c:\users\dklot\.platformio\penv\lib\site-packages\click\core.py", line 1027, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File "c:\users\dklot\.platformio\penv\lib\site-packages\click\core.py", line 873, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\click\core.py", line 508, in invoke\n return callback(args, kwargs)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\platformio\commands\platform.py", line 421, in platform_update\n platform, only_packages=only_packages, only_check=only_check, silent=silent\n File "c:\users\dklot\.platformio\penv\lib\site-packages\platformio\package\manager\platform.py", line 98, in update\n pkg = self.get_package(from_spec)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\platformio\package\manager\base.py", line 229, in get_package\n spec = self.ensure_spec(spec)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\platformio\package\manager\base.py", line 100, in ensure_spec\n return spec if isinstance(spec, PackageSpec) else PackageSpec(spec)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\platformio\package\meta.py", line 119, in init\n self._parse(raw)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\platformio\package\meta.py", line 221, in _parse\n raw = parser(raw)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\platformio\package\meta.py", line 238, in _parse_requirements\n self.requirements = tokens[1].strip()\n File "c:\users\dklot\.platformio\penv\lib\site-packages\platformio\package\meta.py", line 162, in requirements\n else semantic_version.SimpleSpec(str(value))\n File "c:\users\dklot\.platformio\penv\lib\site-packages\semantic_version\base.py", line 610, in init\n self.clause = self._parse_to_clause(expression)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\semantic_version\base.py", line 975, in _parse_to_clause\n return cls.Parser.parse(expression)\n File "c:\users\dklot\.platformio\penv\lib\site-packages\semantic_version\base.py", line 995, in parse\n raise ValueError("Invalid simple block %r" % block)\nValueError: Invalid simple block 'src-48df7c40646077dcb9b837ea66aff7b8'\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

Resolved in platformio/platformio-core#3663

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