platformio / platformio-home

PlatformIO Home
https://docs.platformio.org/page/home/index.html
Apache License 2.0
112 stars 65 forks source link

Could not load platform updates #9042

Open heurstc opened 6 days ago

heurstc commented 6 days ago

PIO Core Call Error: "AttributeError: Traceback (most recent call last):\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/platformio/main.py\", line 103, in main\n cli() # pylint: disable=no-value-for-parameter\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/click/core.py\", line 1157, in call\n return self.main(args, kwargs)\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/click/core.py\", line 1078, in main\n rv = self.invoke(ctx)\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/platformio/cli.py\", line 85, in invoke\n return super().invoke(ctx)\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/click/core.py\", line 1688, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/click/core.py\", line 1688, in invoke\n return _process_result(sub_ctx.command.invoke(sub_ctx))\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/click/core.py\", line 1434, in invoke\n return ctx.invoke(self.callback, ctx.params)\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/click/core.py\", line 783, in invoke\n return __callback(args, *kwargs)\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/click/decorators.py\", line 33, in new_func\n return f(get_current_context(), args, *kwargs)\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/platformio/commands/platform.py\", line 269, in platform_update\n and not PlatformFactory.new(pkg).are_outdated_packages()\n File \"/home/james/.platformio/penv/lib/python3.10/site-packages/platformio/platform/factory.py\", line 79, in new\n platform_cls = getattr(\nAttributeError: module 'platformio.platform.platform' has no attribute 'PlatformPlatform'\n\n============================================================\n\nAn unexpected error occurred. Further steps:\n\n Verify that you have the latest version of PlatformIO using\n python -m pip install -U platformio command\n\n Try to find answer in FAQ Troubleshooting section\n https://docs.platformio.org/page/faq/index.html\n\n Report this problem to the developers\n https://github.com/platformio/platformio-core/issues\n\n============================================================"