platformio / platformio-core

Your Gateway to Embedded Software Development Excellence :alien:
https://platformio.org
Apache License 2.0
7.95k stars 792 forks source link

Could not load platform data #3680

Closed noman1228 closed 4 years ago

noman1228 commented 4 years ago

PIO Core Call Error: "****\r\nObsolete PIO Core v5.0.1 is used (previous was 5.0.2b2)\r\nPlease remove multiple PIO Cores from a system:\r\nhttps://docs.platformio.org/page/faq.html#multiple-platformio-cores-in-a-system\r\n****\r\n\n\nError: Traceback (most recent call last):\r\n File \"C:\Users\jaymt\.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\jaymt\.platformio\penv\lib\site-packages\click\core.py\", line 829, in call\r\n return self.main(args, kwargs)\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\click\core.py\", line 782, in main\r\n rv = self.invoke(ctx)\r\n File \"C:\Users\jaymt\.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\jaymt\.platformio\penv\lib\site-packages\click\core.py\", line 1259, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\click\core.py\", line 1259, in invoke\r\n return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\click\core.py\", line 1066, in invoke\r\n return ctx.invoke(self.callback, ctx.params)\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\click\core.py\", line 610, in invoke\r\n return callback(args, *kwargs)\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\platformio\commands\platform.py\", line 348, in platform_uninstall\r\n if pm.uninstall(platform):\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\platformio\package\manager\platform.py\", line 76, in uninstall\r\n pkg = self.get_package(spec)\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\platformio\package\manager\base.py\", line 232, in get_package\r\n spec = self.ensure_spec(spec)\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\platformio\package\manager\base.py\", line 103, in ensure_spec\r\n return spec if isinstance(spec, PackageSpec) else PackageSpec(spec)\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\platformio\package\meta.py\", line 119, in init\r\n self._parse(raw)\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\platformio\package\meta.py\", line 222, in _parse\r\n raw = parser(raw)\r\n File \"C:\Users\jaymt\.platformio\penv\lib\site-packages\platformio\package\meta.py\", line 245, in _parse_requirements\r\n self.requirements = tokens[1].strip()\r\n File \"C:\Users\jaymt\.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\jaymt\.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\jaymt\.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\jaymt\.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-eb7495f88eb0afa18fedff98bfb5e40f'\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 commented 4 years ago

Should be fixed in the previous release.

noman1228 commented 4 years ago

Thanks Ivan, I haven't had any issues lately. I think this came from a re-configuration operation and launched mid-stream. Fantastic efforts on an amazing product that fits a maker's budget :-)

On Fri, Oct 30, 2020, 8:23 AM Ivan Kravets notifications@github.com wrote:

Should be fixed in the previous release.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/platformio/platformio-core/issues/3680#issuecomment-719521747, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABIAY36A5KGKI7Q4N6YSDTSNKV3FANCNFSM4RWCQBFQ .