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 Mail #118411

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

Detected blocking call to open inside the event loop - Google Mail #118411

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

Comments

@Anto79-ops
Copy link

Anto79-ops commented May 29, 2024

The problem

hello,

Received this log error on updating to 2024.6.0b0, thanks

2024-05-29 12:49:00.273 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by integration 'google_mail' at homeassistant/components/google_mail/api.py, line 61: return build("gmail", "v1", credentials=credentials) (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_mail%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 Mail

Link to integration documentation on our website

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

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 @tkdrob, mind taking a look at this issue as it has been labeled with an integration (google_mail) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of google_mail 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_mail 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_mail documentation
google_mail source
(message by IssueLinks)

@joostlek joostlek added this to the 2024.6.0 milestone May 29, 2024
@bdraco
Copy link
Member

bdraco commented May 29, 2024

fix should be the same as #118418

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.

3 participants