Hi,
I’ve just update my HA from version 2023.12.1 to 2023.12.2 but I see a lot of errors and I understand what is the problem
I run HA with docker and I’ve never had issues with updates and everything worked fine until today. Please help…Thanks.
…Below my completed register
2023-12-14 13:01:37.245 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing platform homeassistant.components.zha.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 834, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 851, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 24, in <module>
from . import repairs, websocket_api
File "/usr/src/homeassistant/homeassistant/components/zha/repairs/__init__.py", line 10, in <module>
from ..core.const import DOMAIN
File "/usr/src/homeassistant/homeassistant/components/zha/core/__init__.py", line 3, in <module>
from .device import ZHADevice
File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 86, in <module>
from .endpoint import Endpoint
File "/usr/src/homeassistant/homeassistant/components/zha/core/endpoint.py", line 16, in <module>
from . import const, discovery, registries
File "/usr/src/homeassistant/homeassistant/components/zha/core/discovery.py", line 20, in <module>
from .. import ( # noqa: F401
File "/usr/src/homeassistant/homeassistant/components/zha/lock.py", line 8, in <module>
from homeassistant.components.lock import STATE_LOCKED, STATE_UNLOCKED, LockEntity
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 936, in exec_module
File "<frozen importlib._bootstrap_external>", line 1069, in get_code
File "<frozen importlib._bootstrap_external>", line 729, in _compile_bytecode
ValueError: bad marshal data (unknown type code)
2023-12-14 13:01:37.337 ERROR (MainThread) [homeassistant.config_entries] Error occurred loading flow for integration zha: Exception importing homeassistant.components.zha.config_flow
2023-12-14 13:01:37.724 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 834, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 851, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1126, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/src/homeassistant/homeassistant/components/zha/__init__.py", line 24, in <module>
from . import repairs, websocket_api
File "/usr/src/homeassistant/homeassistant/components/zha/repairs/__init__.py", line 10, in <module>
from ..core.const import DOMAIN
File "/usr/src/homeassistant/homeassistant/components/zha/core/__init__.py", line 3, in <module>
from .device import ZHADevice
File "/usr/src/homeassistant/homeassistant/components/zha/core/device.py", line 86, in <module>
from .endpoint import Endpoint
File "/usr/src/homeassistant/homeassistant/components/zha/core/endpoint.py", line 16, in <module>
from . import const, discovery, registries
File "/usr/src/homeassistant/homeassistant/components/zha/core/discovery.py", line 20, in <module>
from .. import ( # noqa: F401
File "/usr/src/homeassistant/homeassistant/components/zha/lock.py", line 8, in <module>
from homeassistant.components.lock import STATE_LOCKED, STATE_UNLOCKED, LockEntity
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 936, in exec_module
File "<frozen importlib._bootstrap_external>", line 1069, in get_code
File "<frozen importlib._bootstrap_external>", line 729, in _compile_bytecode
ValueError: bad marshal data (unknown type code)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2075, in _load_integration
integration.get_platform("config_flow")
File "/usr/src/homeassistant/homeassistant/loader.py", line 843, in get_platform
raise ImportError(
ImportError: Exception importing homeassistant.components.zha.config_flow
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 880, in async_init
flow, result = await task
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 898, in _async_init
flow = await self.async_create_flow(handler, context=context, data=data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1000, in async_create_flow
handler = await _async_get_flow_handler(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2096, in _async_get_flow_handler
await _load_integration(hass, domain, hass_config)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2082, in _load_integration
raise data_entry_flow.UnknownHandler
homeassistant.data_entry_flow.UnknownHandler