platformio / platformio-home

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

Could not load boards list #7586

Open GrossoRoberto opened 6 months ago

GrossoRoberto commented 6 months ago

PIO Core Call Error: "UnknownPlatform: Unknown development platform 'PackageItem <path=C:\Users\rober\.platformio\platforms\ststm32@14.1.0 metadata=PackageMetadata <type=platform name=ststm32 version=14.1.0 spec={'owner': 'platformio', 'id': 8020, 'name': 'ststm32', 'requirements': None, 'uri': None}'"

robertlipe commented 6 months ago

Not terribly helpful, but this seems a duplicate of #7587. This just helps the project maintainers NOT drown in a sea of duplicated efforts. Please consider closing this one and marking it in favor of that one.

In fact, please consider helping everyone involved (probably not me specifically - I'm just an insomniac PlatformIO with more than a little Open Source support...) by including enough information to completely reproduce the problem from scratch. Not having to chase it actross three host operating systems, across STM, LX6, LX7, RV32G, RV64G, X86, X64, MIPS, and bunches of others all can help reduce the developer/debugger's search area when looking for a solution.

In short, a terse, but completely reproducile way to recreate a problem is a HUGELY benefecial way to help move things along. "From a fresh install of version X of package Y onto version XX of OS YY, I type AAA and see error message EEE" is pretty darned handy if you can get it. That's not always possible, but for errors like you're describing, I suspect you can get pretty close.

Maybe there's something zany in a pathname like a tilde (used for home directories on UNIX) or a colonn (used in CPM-era OSes to separate drive letters from everything else) or (gasp) a space in a pathname which just causes carnage in way too many systems that can'te tell the difference between a list of two entries "one two" and one entry that happens to have a space in the middle. Just approach the problem trying to figure out what makes your case special from everyone else that prefents rioting in the streets because "Platformio can't even get $X right".

If yu're able to help figure it out, be sure to try to get a doc or code change made to help safe future /u/GrossoRoberto s in your shoes from suffering. That really was part of the point of open source - to share that analyzing/debugging/fixing costs.

May The Source Be With You.