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 open inside the event loop - Google Tasks #118407

Closed
Anto79-ops opened this issue May 29, 2024 · 2 comments · Fixed by #118418
Closed

Detected blocking call to open inside the event loop - Google Tasks #118407

Anto79-ops opened this issue May 29, 2024 · 2 comments · Fixed by #118418

Comments

@Anto79-ops
Copy link

Anto79-ops commented May 29, 2024

The problem

hello,

Received these logs when upateding to 2024.6.0b0, thanks

2024-05-29 12:48:58.880 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by integration 'google_tasks' at homeassistant/components/google_tasks/api.py, line 55: return build("tasks", "v1", credentials=Credentials(token=token)) (offender: /usr/local/lib/python3.12/site-packages/googleapiclient/discovery_cache/__init__.py, line 72: with open(os.path.join(DISCOVERY_DOC_DIR, doc_name), "r") as f:), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+google_tasks%22

What version of Home Assistant Core has the issue?

2024.6.0b0

What was the last working version of Home Assistant Core?

2024.5.x

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Google Tasks

Link to integration documentation on our website

https://www.home-assistant.io/integrations/google_tasks/

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

@home-assistant
Copy link

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

Code owner commands

Code owners of google_tasks 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 google_tasks 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)


google_tasks documentation
google_tasks source
(message by IssueLinks)

@Anto79-ops
Copy link
Author

Anto79-ops commented May 29, 2024

missed another one

2024-05-29 12:49:00.451 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by integration 'google_tasks' at homeassistant/components/google_tasks/api.py, line 55: return build("tasks", "v1", credentials=Credentials(token=token)) (offender: /usr/local/lib/python3.12/site-packages/googleapiclient/discovery_cache/__init__.py, line 72: with open(os.path.join(DISCOVERY_DOC_DIR, doc_name), "r") as f:), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+google_tasks%22

bdraco added a commit that referenced this issue May 29, 2024

Verified

This commit was signed with the committer’s verified signature.
bdraco J. Nick Koston
fixes #118407
@joostlek joostlek added this to the 2024.6.0 milestone May 29, 2024
balloob pushed a commit that referenced this issue May 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fixes #118407
frenck pushed a commit that referenced this issue May 29, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
frenck Franck Nijhof
fixes #118407
@github-actions github-actions bot locked and limited conversation to collaborators Jun 28, 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