#4 error when trying to install hacs integration

Atvērta
glenlivet81 atvēra 4 mēneši atpakaļ · 0 komentāri

Logger: homeassistant.config_entries Source: config_entries.py:2757 First occurred: 4:51:53 PM (1 occurrences) Last logged: 4:51:53 PM

Error occurred loading flow for integration hacs: Exception importing custom_components.hacs.config_flow

Logger: homeassistant.loader Source: loader.py:1249 First occurred: 4:51:53 PM (2 occurrences) Last logged: 4:51:53 PM

Unexpected exception importing platform custom_components.hacs.config_flow Traceback (most recent call last): File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/loader.py", line 1249, in _load_platform

cache[full_name] = self._import_platform(platform_name)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/loader.py", line 1281, in _import_platform

return importlib.import_module(f"{self.pkg_path}.{platform_name}")
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/util/loop.py", line 131, in protected_loop_func

return func(*args, **kwargs)
       ^^^^^^^^^^^^^^^^^^^^^

File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module

return _bootstrap._gcd_import(name[level:], package, level)
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1310, in _find_and_load_unlocked File "", line 488, in _call_with_frames_removed File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "/var/snap/home-assistant-snap/617/custom_components/hacs/init.py", line 12, in

from aiogithubapi import AIOGitHubAPIException, GitHub, GitHubAPI

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiogithubapi/init.py", line 20, in

from .device import GitHubDeviceAPI

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiogithubapi/device.py", line 14, in

from .client import GitHubClient

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiogithubapi/client.py", line 27, in

from .legacy.client import AIOGitHubAPIClient as LegacyAIOGitHubAPIClient

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiogithubapi/legacy/client.py", line 15, in

from ..helpers import async_call_api

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiogithubapi/helpers.py", line 8, in

from sigstore.verify import (

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/sigstore/verify/init.py", line 54, in

from sigstore.verify.models import (

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/sigstore/verify/models.py", line 30, in

from sigstore._internal.rekor import RekorClient

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/sigstore/_internal/rekor/init.py", line 19, in

from .client import RekorClient

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/sigstore/_internal/rekor/client.py", line 45, in

class RekorBundle(BaseModel):

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/pydantic/main.py", line 286, in new

cls.__try_update_forward_refs__()

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/pydantic/main.py", line 807, in try_update_forward_refs

update_model_forward_refs(cls, cls.__fields__.values(), cls.__config__.json_encoders, localns, (NameError,))

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/pydantic/typing.py", line 554, in update_model_forward_refs

update_field_forward_refs(f, globalns=globalns, localns=localns)

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/pydantic/typing.py", line 520, in update_field_forward_refs

field.type_ = evaluate_forwardref(field.type_, globalns, localns or None)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/pydantic/typing.py", line 66, in evaluate_forwardref

return cast(Any, type_)._evaluate(globalns, localns, set())
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard'

Logger: homeassistant.util.loop Source: util/loop.py:84 First occurred: 4:51:53 PM (1 occurrences) Last logged: 4:51:53 PM

Detected blocking call to import_module inside the event loop by integration 'config' at homeassistant/components/config/config_entries.py, line 179: return await super()._post_impl(request, data) (offender: /snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/loader.py, line 1281: return importlib.import_module(f"{self.pkg_path}.{platform_name}")), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+config%22 Traceback (most recent call last): File "/snap/home-assistant-snap/617/bin/hass", line 8, in sys.exit(main()) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/lib/python3.12/asyncio/base_events.py", line 1987, in _run_once handle._run() File "/usr/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request resp = await request_handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle resp = await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/request_context.py", line 26, in request_context_middleware return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/ban.py", line 85, in ban_middleware return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/auth.py", line 242, in auth_middleware return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/headers.py", line 32, in headers_middleware response = await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/helpers/http.py", line 73, in handle result = await handler(request, **request.match_info) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/decorators.py", line 81, in with_admin return await func(self, request, *args, **kwargs) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/data_validator.py", line 70, in wrapper return await method(view, request, data, *args, **kwargs) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/config/config_entries.py", line 172, in post return await self._post_impl(request, data) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/config/config_entries.py", line 179, in _post_impl return await super()._post_impl(request, data)

Logger: homeassistant.config_entries Source: config_entries.py:2757 First occurred: 4:51:53 PM (1 occurrences) Last logged: 4:51:53 PM Error occurred loading flow for integration hacs: Exception importing custom_components.hacs.config_flow Logger: homeassistant.loader Source: loader.py:1249 First occurred: 4:51:53 PM (2 occurrences) Last logged: 4:51:53 PM Unexpected exception importing platform custom_components.hacs.config_flow Traceback (most recent call last): File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/loader.py", line 1249, in _load_platform cache[full_name] = self._import_platform(platform_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/loader.py", line 1281, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/util/loop.py", line 131, in protected_loop_func return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1310, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 995, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/var/snap/home-assistant-snap/617/custom_components/hacs/__init__.py", line 12, in <module> from aiogithubapi import AIOGitHubAPIException, GitHub, GitHubAPI File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiogithubapi/__init__.py", line 20, in <module> from .device import GitHubDeviceAPI File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiogithubapi/device.py", line 14, in <module> from .client import GitHubClient File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiogithubapi/client.py", line 27, in <module> from .legacy.client import AIOGitHubAPIClient as LegacyAIOGitHubAPIClient File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiogithubapi/legacy/client.py", line 15, in <module> from ..helpers import async_call_api File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiogithubapi/helpers.py", line 8, in <module> from sigstore.verify import ( File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/sigstore/verify/__init__.py", line 54, in <module> from sigstore.verify.models import ( File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/sigstore/verify/models.py", line 30, in <module> from sigstore._internal.rekor import RekorClient File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/sigstore/_internal/rekor/__init__.py", line 19, in <module> from .client import RekorClient File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/sigstore/_internal/rekor/client.py", line 45, in <module> class RekorBundle(BaseModel): File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/pydantic/main.py", line 286, in __new__ cls.__try_update_forward_refs__() File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/pydantic/main.py", line 807, in __try_update_forward_refs__ update_model_forward_refs(cls, cls.__fields__.values(), cls.__config__.json_encoders, localns, (NameError,)) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/pydantic/typing.py", line 554, in update_model_forward_refs update_field_forward_refs(f, globalns=globalns, localns=localns) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/pydantic/typing.py", line 520, in update_field_forward_refs field.type_ = evaluate_forwardref(field.type_, globalns, localns or None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/pydantic/typing.py", line 66, in evaluate_forwardref return cast(Any, type_)._evaluate(globalns, localns, set()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument: 'recursive_guard' Logger: homeassistant.util.loop Source: util/loop.py:84 First occurred: 4:51:53 PM (1 occurrences) Last logged: 4:51:53 PM Detected blocking call to import_module inside the event loop by integration 'config' at homeassistant/components/config/config_entries.py, line 179: return await super()._post_impl(request, data) (offender: /snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/loader.py, line 1281: return importlib.import_module(f"{self.pkg_path}.{platform_name}")), please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue+label%3A%22integration%3A+config%22 Traceback (most recent call last): File "/snap/home-assistant-snap/617/bin/hass", line 8, in <module> sys.exit(main()) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/lib/python3.12/asyncio/base_events.py", line 1987, in _run_once handle._run() File "/usr/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request resp = await request_handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle resp = await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/request_context.py", line 26, in request_context_middleware return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/ban.py", line 85, in ban_middleware return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/auth.py", line 242, in auth_middleware return await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/headers.py", line 32, in headers_middleware response = await handler(request) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/helpers/http.py", line 73, in handle result = await handler(request, **request.match_info) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/decorators.py", line 81, in with_admin return await func(self, request, *args, **kwargs) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/http/data_validator.py", line 70, in wrapper return await method(view, request, data, *args, **kwargs) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/config/config_entries.py", line 172, in post return await self._post_impl(request, data) File "/snap/home-assistant-snap/617/lib/python3.12/site-packages/homeassistant/components/config/config_entries.py", line 179, in _post_impl return await super()._post_impl(request, data)
Pierakstieties, lai pievienotos šai sarunai.
Nav etiķešu
Nav atskaites punktu
Nav atbildīgā
1 dalībnieki
Notiek ielāde...
Atcelt
Saglabāt
Vēl nav satura.