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 #228

Closed
ReneNulschDE opened this issue May 17, 2024 · 2 comments
Closed

Detected blocking call to open inside the event loop #228

ReneNulschDE opened this issue May 17, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ReneNulschDE
Copy link
Owner

The problem

Problem with upcoming HA2024.06

What version of MBAPI2020 do use?

0.14.0

What was the last working version of MBAPI2020?

No response

What type of installation are you running?

Home Assistant Core

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.util.loop
Source: util/loop.py:90
First occurred: 10:34:08 AM (2 occurrences)
Last logged: 10:34:08 AM

Detected blocking call to open inside the event loop by custom integration 'mbapi2020' at custom_components/mbapi2020/oauth.py, line 184

Additional information

No response

@ReneNulschDE ReneNulschDE added the bug Something isn't working label May 17, 2024
@ReneNulschDE ReneNulschDE self-assigned this May 17, 2024
@ReneNulschDE
Copy link
Owner Author

More issues...

Logger: homeassistant.util.loop
Source: util/loop.py:90
First occurred: 10:34:25 AM (899 occurrences)
Last logged: 1:24:21 PM

Detected blocking call to open inside the event loop by custom integration 'mbapi2020' at custom_components/mbapi2020/oauth.py, line 239: with open(self._config_entry_token_path, "w") as token_file: (offender: /home/rene/projects/hadev/custom_components/mbapi2020/oauth.py, line 239: with open(self._config_entry_token_path, "w") as token_file:), please create a bug report at https://github.com/ReneNulschDE/mbapi2020/issues
Detected blocking call to open inside the event loop by custom integration 'mbapi2020' at custom_components/mbapi2020/client.py, line 1195: current_file = open(f"{path}/{datatype}{int(round(time.time() * 1000))}.json", "w") (offender: /home/rene/projects/hadev/custom_components/mbapi2020/client.py, line 1195: current_file = open(f"{path}/{datatype}{int(round(time.time() * 1000))}.json", "w")), please create a bug report at https://github.com/ReneNulschDE/mbapi2020/issues
Detected blocking call to open inside the event loop by custom integration 'mbapi2020' at custom_components/mbapi2020/client.py, line 1182: current_file = open(f"{path}/{datatype}{int(round(time.time() * 1000))}", "wb") (offender: /home/rene/projects/hadev/custom_components/mbapi2020/client.py, line 1182: current_file = open(f"{path}/{datatype}{int(round(time.time() * 1000))}", "wb")), please create a bug report at https://github.com/ReneNulschDE/mbapi2020/issues

ReneNulschDE added a commit that referenced this issue May 30, 2024
Detected blocking call to open inside the event loop  #228
@ReneNulschDE
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant