Open HeyITGuyFixIt opened 6 hours ago
Hey there @bdraco, mind taking a look at this issue as it has been labeled with an integration (dhcp
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
dhcp documentation dhcp source (message by IssueLinks)
This is running on a Raspberry Pi 4B in a Docker Container. I tried rebooting HA in safe made and it still gets this warning. And other components are still complaining about aiodns.
Looks like I had previously modified the container command to also install GCC and G++, upgrade pip, and run pip install globally, and then call init. After commenting out that in my docker-compose.yaml, it started working without issue. Not sure why those commands caused issues, but it seems like that was the culprit.
I spoke too soon. Looks like it didn't change anything. I may have looked at the system too soon after restarting it with docker compose up.
Another issue mentioned running pip3 install --upgrade --force-reinstall
for another package. So I tried that for aiodns and restarted HA. That fixed both this issue and the aiodns issue. Not sure what that means the issue was, but it seems to be working now.
I took a screenshot of the installation output. (Running from Termius on my phone) I didn't get a chance to copy the output.
It looks like the blocking call was a result of missing required deps and the import was failing. Do you have any custom components installs that may have downgraded one of the required deps to a non-working version?
The problem
I'm getting an error in the logs that says to report it: "Detected blocking call to import_module with args ('homeassistant.components.dhcp',) in /usr/src/homeassistant/homeassistant/loader.py". Full log is below.
Not sure if this is related, could have a common cause, but I am also getting other errors and warnings after this one that the aiodns module wasn't found or couldn't load. My installation is largely broken due to that.
What version of Home Assistant Core has the issue?
core-2024.11.3
What was the last working version of Home Assistant Core?
core-2024.10.*
What type of installation are you running?
Home Assistant Container
Integration causing the issue
homeassistant.components.dhcp
Link to integration documentation on our website
https://www.home-assistant.io/integrations/dhcp/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response