dev-python/pynws depends on python-metar not pymetar #193

Closed
opened 2021-01-15 20:26:32 +01:00 by Ghost · 1 comment

When starting homeassistant and setting up the NWS integration, the following is printed out to the log:

<hassroot>/home-assistant.log.2021-01-14:21:2021-01-14 22:26:56 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration nws: No module named 'metar'

Looking closer at this, pymetar provides the module name "pymetar". The requested "metar" module requested by pynws is provided by the following project: https://github.com/python-metar/python-metar

I was successfully able to setup an ebuild for python-metar, but linked directly to the github repo, since my ebuild foo is not up to the task. I'm sure you have a better way of creating this ebuild, but let me know if you'd like me to submit mine.

Once I installed python-metar, homeassistant was successful in loading the integration and I'm now getting proper NWS connections, data, and lovelace UI.

When starting homeassistant and setting up the NWS integration, the following is printed out to the log: ```<hassroot>/home-assistant.log.2021-01-14:21:2021-01-14 22:26:56 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading configuration flow for integration nws: No module named 'metar'``` Looking closer at this, pymetar provides the module name "pymetar". The requested "metar" module requested by pynws is provided by the following project: https://github.com/python-metar/python-metar I was successfully able to setup an ebuild for python-metar, but linked directly to the github repo, since my ebuild foo is not up to the task. I'm sure you have a better way of creating this ebuild, but let me know if you'd like me to submit mine. Once I installed python-metar, homeassistant was successful in loading the integration and I'm now getting proper NWS connections, data, and lovelace UI.
onkelbeh added the
Bug
label 2021-01-22 00:10:06 +01:00
onkelbeh self-assigned this 2021-01-22 00:10:11 +01:00
Owner

Thanks for reporting, fixed in 858052f3f5

Thanks for reporting, fixed in https://git.edevau.net/onkelbeh/HomeAssistantRepository/commit/858052f3f56e46c5d4800b7566eae6854ee609e2
Sign in to join this conversation.
No Label
Bug
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: onkelbeh/HomeAssistantRepository#193
No description provided.