Hi,
I had a power outage and my Raspberry Pi4 Core that hosts a HA Core install rebooted. Upon restart, I got the following notification:
The following integrations and platforms could not be set up:
* [cloud](https://www.home-assistant.io/integrations/cloud)
The logs show:
Setup failed for cloud: Could not set up all dependencies.
Home Assistant is starting, not everything will be available until it is finished.
Unable to set up dependencies of cloud. Setup failed for dependencies: alexa
Logger: homeassistant.setup
Source: components/alexa/intent.py:8
First occurred: 7:43:47 PM (1 occurrences)
Last logged: 7:43:47 PM
Setup failed for alexa: unknown error
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/setup.py", line 166, in _async_setup_component
component = integration.get_component()
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/loader.py", line 414, in get_component
cache[self.domain] = importlib.import_module(self.pkg_path)
File "/home/pi/.local/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/alexa/__init__.py", line 7, in <module>
from . import flash_briefings, intent, smart_home_http
File "/srv/homeassistant/lib/python3.8/site-packages/homeassistant/components/alexa/intent.py", line 8, in <module>
from homeassistant.helpers import intent
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 779, in exec_module
File "<frozen importlib._bootstrap_external>", line 911, in get_code
File "<frozen importlib._bootstrap_external>", line 580, in _compile_bytecode
ValueError: bad marshal data (invalid reference)
I don’t use alexa, but I use google so this has crashed my Mini and my Chromecast. Also, probably because of this, i constantly get:
Home Assistant is starting, not everything will be available until it is finished.DISMISS
Not sure where to even start to fix this. Could anybody help?
Thank you!
Gabriel