Skip to content
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 #740

Closed
tjorim opened this issue Apr 24, 2024 · 1 comment
Closed

Detected blocking call to import_module inside the event loop #740

tjorim opened this issue Apr 24, 2024 · 1 comment

Comments

@tjorim
Copy link

tjorim commented Apr 24, 2024

What version of Spook are you using?

v2.2.4

What version of Home Assistant are you using?

2024.5.0b0

The problem

Logger: homeassistant.util.loop
Source: util/loop.py:99
First occurred: 22:13:11 (140 occurrences)
Last logged: 22:15:28

Detected blocking call to import_module inside the event loop by custom integration 'spook' at custom_components/spook/templating.py, line 122: module = importlib.import_module(f".{module_path}", __package__) (offender: /config/custom_components/spook/templating.py, line 122: module = importlib.import_module(f".{module_path}", __package__)), please create a bug report at https://github.com/frenck/spook/issues
Detected blocking call to import_module inside the event loop by custom integration 'spook' at custom_components/spook/services.py, line 272: module = importlib.import_module(f".{module_path}", __package__) (offender: /config/custom_components/spook/services.py, line 272: module = importlib.import_module(f".{module_path}", __package__)), please create a bug report at https://github.com/frenck/spook/issues
Detected blocking call to import_module inside the event loop by custom integration 'spook' at custom_components/spook/util.py, line 76: module = importlib.import_module(f".{module_path}", __package__) (offender: /config/custom_components/spook/util.py, line 76: module = importlib.import_module(f".{module_path}", __package__)), please create a bug report at https://github.com/frenck/spook/issues
Detected blocking call to import_module inside the event loop by custom integration 'spook' at custom_components/spook/repairs.py, line 276: module = importlib.import_module(f".{module_path}", __package__) (offender: /config/custom_components/spook/repairs.py, line 276: module = importlib.import_module(f".{module_path}", __package__)), please create a bug report at https://github.com/frenck/spook/issues

Anything in the logs? Paste it here!

No response

@frenck
Copy link
Owner

frenck commented Apr 24, 2024

Duplicate of #681, fixed by #722

@frenck frenck closed this as not planned Won't fix, can't repro, duplicate, stale Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants