New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detected blocking call to import_module inside the event loop by integration 'environment_canada' #116425
Comments
Hey there @gwww, @michaeldavie, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) environment_canada documentation |
Call is here: https://github.com/imageio/imageio/blob/master/imageio/config/plugins.py#L100 I see a few issues with the same call to |
The import needs to run in the executor |
Example art frenck/spook#722 |
wanted to bring this into here, in case its related you can close this old one too. if its not related. sorry for polluting this. |
The link to the old issue is helpful. @michaeldavie seems like the best place to fix this is in env_canada lib. Thoughts? |
@home-assistant close |
The problem
WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module inside the event loop by integration 'environment_canada' at homeassistant/components/environment_canada/__init__.py, line 117: await self.ec_data.update() (offender: /usr/local/lib/python3.12/site-packages/imageio/config/plugins.py, line 100: module = importlib.import_module(self.module_name, self.package_name)), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+environment_canada%22
What version of Home Assistant Core has the issue?
core-2024.5.0b3
What was the last working version of Home Assistant Core?
core-2024.4.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Environment Canada
Link to integration documentation on our website
https://www.home-assistant.io/integrations/environment_canada/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: