integration icon indicating copy to clipboard operation
integration copied to clipboard

Detected blocking call to open with args ('/config/custom_components/hacs/manifest.json', 'wb')

Open nielswest65 opened this issue 2 years ago • 3 comments

System Health details

Please create a bug report at https://github.com/hacs/integration/issues For

Checklist

  • [X] I'm running the newest version of HACS https://github.com/hacs/integration/releases/latest
  • [X] I have enabled debug logging for my installation.
  • [X] I have filled out the issue template to the best of my ability.
  • [X] I have read https://hacs.xyz/docs/issues
  • [X] This issue is related to the backend (integration part) of HACS.
  • [X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • [X] This is a bug and not a feature request.
  • [X] This issue is not a duplicate issue of currently open or issues pending release.

Describe the issue

Please create a bug report at https://github.com/hacs/integration/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response await func(hass, connection, msg) File "/config/custom_components/hacs/websocket/repository.py", line 234, in hacs_repository_download File "/config/custom_components/hacs/repositories/base.py", line 893, in async_install File "/config/custom_components/hacs/repositories/base.py", line 975, in async_install_repository File "/config/custom_components/hacs/repositories/base.py", line 566, in download_zip_files File "/config/custom_components/hacs/repositories/base.py", line 600, in async_download_zip_file

Reproduction steps

  1. after OS 13 AddOns and HACS is generating errors. I restart, then everthing ok, after a while this is the error. It sais create a bug ::

3. 4. ...

Debug logs

lease create a bug report at https://github.com/hacs/integration/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response await func(hass, connection, msg) File "/config/custom_components/hacs/websocket/repository.py", line 234, in hacs_repository_download File "/config/custom_components/hacs/repositories/base.py", line 893, in async_install File "/config/custom_components/hacs/repositories/base.py", line 975, in async_install_repository File "/config/custom_components/hacs/repositories/base.py", line 566, in download_zip_files File "/config/custom_components/hacs/repositories/base.py", line 600, in async_download_zip_file

Diagnostics dump

"", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 28, in _handle_async_response await func(hass, connection, msg) File "/config/custom_components/hacs/websocket/repository.py", line 234, in hacs_repository_download File "/config/custom_components/hacs/repositories/base.py", line 893, in async_install File "/config/custom_components/hacs/repositories/base.py", line 975, in async_install_repository File "/config/custom_components/hacs/repositories/base.py", line 566, in download_zip_files File "/config/custom_components/hacs/repositories/base.py", line 600, in async_download_zip_file

nielswest65 avatar Aug 15 '24 18:08 nielswest65

Make sure you have read the issue guidelines and that you filled out the entire template.

If you have an issue identical to this, do not add comments like "same here", "i have this too", instead add a :+1: reaction to the issue description. Thanks! :+1:

hacs-bot avatar Aug 15 '24 18:08 hacs-bot

HACS version 2.0.0 was released. For more information on updating, check the blog post: https://www.home-assistant.io/blog/2024/08/21/hacs-the-best-way-to-share-community-made-projects/. Please check if this warning is still present.

tjorim avatar Aug 21 '24 22:08 tjorim

Resolved in 2.0.0

ludeeus avatar Aug 22 '24 07:08 ludeeus