PlatformIO Community

Version of OpenWeatherOneCall on repo is 2.0.2, should be 3.1.0


Platformio’s library registry version of OpenWeatherOneCall is 2.0.2. According to a reply with the maintainer, it seems the issue is on the library repo side:

The library.json manifest contains an unknown key board

that may cause the PIO registry to reject the library.

CC ivankravets,

1 Like

Okay no the library manifest is definitely unparsable with an additional error in the repository field, when doing a global library install of the git version, it immediately crashes because repository is supposed to be one object, not an array (docs).

>pio lib -g install
Library Storage: C:\Users\Max\.platformio\lib
Library Manager: Installing
Error: Traceback (most recent call last):
  File "c:\users\max\appdata\local\programs\python\python38\lib\site-packages\platformio\package\manifest\", line 155, in __init__
    self._data = self.normalize_repository(self._data)
  File "c:\users\max\appdata\local\programs\python\python38\lib\site-packages\platformio\package\manifest\", line 213, in normalize_repository
    url = (data.get("repository") or {}).get("url")
AttributeError: 'list' object has no attribute 'get'


Until the fix is merged, please include the fixed fork of the library as follows in the platformio.ini:

lib_deps =

(or if you have git installed, just with the URL)

Thanks, I saw you already proactively fixed and notified them. Great work!

@ivankravets can you please retrigger the crawler for The PR for the library.json fix was merged but no change in the recognized versions.

1 Like

Thanks, updated!