Closed csoltenborn closed 3 years ago
I think your system (TrueNAS-12.0-U2) is missing the required packages as you already mentioned. Maybe these are not included in the first place, because your system is focussed on running mainly as a NAS.
Can you please install the packages?
sudo apt-get install libxml2-dev libxslt-dev python-dev
and maybe also
libxslt1-dev
Is it working afterwards?
The solution was in fact even easier: I figured that I'd update the Home Assistant Jail's OS (TrueNAS is based on FreeBSD, Home Assistant is running in a jail, which is a very light-weight "VM"). Afterwards, I wanted to install the packages, but they were not known to the backing repository. I thought that I tried to add the integration anyways, and now it works. My guess is that the packages are not known to the backing package repository explicitly, but have been installed as dependencies during the update. But that's just a guess - I'm a Windows guy myself, so this is all a bit strange to me. Thanks for your fast help anyways (and for the integration :-) )!
Works like a charm now. I am just a bit confused about the selected weather station (based on the displayed coordinates, which appear to be fine according to Google Maps). Can I maybe drop you an email because of that? I don't want to reveal my exact location on GitHub...
Despite that: issue can be closed from my point of view.
Ok, thanks for your response.
Sure, but I would prefer Discord rather than publishing my Email address here on GitHub. If you have Discord, you can contact me there: FL550#6993
Ok, I've sent you a friend request on Discord (I guess that's needed to communicate - I am not an experienced Discord user, to put it mildly).
Version of home_assistant
Home Assistant Core 2021.2.2 (running on TrueNAS-12.0-U2)
Version of the custom_component
Deutscher Wetterdienst v1.1.9
Describe the bug
I installed the integration via HACS. If I then choose Configuration -> Integrations -> Add Integration and choose Deutscher Wetterdienst, the Please wait while the integration is being installed dialog disappears rather quickly (and the dialog to choose the integration reappears), and nothing else seems to happen. If I do that again, that dialog stays for (much) longer, but still nothing seems to happen. This in fact sounds a bit like #6 to me.
The log below talks about some missing packages:
Error: Please make sure the libxml2 and libxslt development packages are installed.
Is my Python installation lacking some packages?Edit: Or is this the solution? Then why are these packages missing on my installation?
Debug log