Hi,
My Hacs is not starting anymore… and I absolutely don’t know what I could I have done recently that cause that (the last thing may be the update of HA…)
This is the error message… any idea ?
Logger: homeassistant.config_entries
Source: util/json.py:38
First occurred: 3:08:59 PM (1 occurrences)
Last logged: 3:08:59 PM
Error setting up entry for hacs
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/util/json.py”, line 32, in load_json
return json.loads(fdesc.read()) # type: ignore
File “/usr/local/lib/python3.8/codecs.py”, line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xdf in position 946416: invalid continuation byte
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 248, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File “/config/custom_components/hacs/init.py”, line 27, in async_setup_entry
return await hacs_ui_setup(hass, config_entry)
File “/config/custom_components/hacs/operational/setup.py”, line 68, in async_setup_entry
return await async_startup_wrapper_for_config_entry()
File “/config/custom_components/hacs/operational/setup.py”, line 92, in async_startup_wrapper_for_config_entry
startup_result = await async_hacs_startup()
File “/config/custom_components/hacs/operational/setup.py”, line 185, in async_hacs_startup
if not await hacs.data.restore():
File “/config/custom_components/hacs/hacsbase/data.py”, line 102, in restore
repositories = await async_load_from_store(self.hacs.hass, “repositories”)
File “/config/custom_components/hacs/helpers/functions/store.py”, line 22, in async_load_from_store
restored = await store.async_load()
File “/usr/src/homeassistant/homeassistant/helpers/storage.py”, line 105, in async_load
return await self._load_task
File “/usr/src/homeassistant/homeassistant/helpers/storage.py”, line 110, in _async_load
return await self._async_load_data()
File “/usr/src/homeassistant/homeassistant/helpers/storage.py”, line 124, in _async_load_data
data = await self.hass.async_add_executor_job(
File “/usr/local/lib/python3.8/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/src/homeassistant/homeassistant/util/json.py”, line 38, in load_json
raise HomeAssistantError(error) from error
homeassistant.exceptions.HomeAssistantError: ‘utf-8’ codec can’t decode byte 0xdf in position 946416: invalid continuation byte