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 by local_todo #116149

Closed
gieljnssns opened this issue Apr 25, 2024 · 2 comments · Fixed by #116473
Closed

Detected blocking call by local_todo #116149

gieljnssns opened this issue Apr 25, 2024 · 2 comments · Fixed by #116473

Comments

@gieljnssns
Copy link
Contributor

The problem

Since 2025.0b0 there is a warning for local_todo

What version of Home Assistant Core has the issue?

core-2024.5.0b0

What was the last working version of Home Assistant Core?

core-2024.4

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Local todo

Link to integration documentation on our website

https://rc.home-assistant.io/integrations/local_todo/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-04-25 08:20:41.893 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module inside the event loop by integration 'local_todo' at homeassistant/components/local_todo/todo.py, line 72: calendar = IcsCalendarStream.calendar_from_ics(ics) (offender: /usr/local/lib/python3.12/importlib/resources/_common.py, line 82: return importlib.import_module(cand)), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+local_todo%22

Additional information

No response

@home-assistant
Copy link

Hey there @allenporter, mind taking a look at this issue as it has been labeled with an integration (local_todo) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of local_todo can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign local_todo Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


local_todo documentation
local_todo source
(message by IssueLinks)

@joostlek joostlek added this to the 2024.5.0 milestone Apr 25, 2024
@bdraco
Copy link
Member

bdraco commented Apr 25, 2024

Looks like ical.tzif.timezoneinfo is likely doing the I/O

bdraco added a commit that referenced this issue Apr 30, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants