Hello, I have a problem after updating to the latest hass.
I was running hassbian, i believe it was 0.40 or 0.41, and a few hours ago I decided to update to the latest version. I followed instructions on the Hassbian Upgrade page, everything seemed to proceed as expected, but now I can’t start home assistant, and log file is flooded with errors.
What is wrong, how do I fix this?
Thanks.
2017-05-13 19:08:40 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.history. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/history.py", line 20, in <module>
from homeassistant.components.frontend import register_built_in_panel
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/frontend/__init__.py", line 12, in <module>
from homeassistant.components import api, group
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/api.py", line 26, in <module>
from homeassistant.helpers.state import AsyncTrackStates
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/state.py", line 8, in <module>
from homeassistant.components.media_player import (
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/__init__.py", line 24, in <module>
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 16, in <module>
from aiohttp.web_exceptions import HTTPUnauthorized, HTTPMovedPermanently
ImportError: cannot import name 'HTTPUnauthorized'
2017-05-13 19:08:40 ERROR (MainThread) [homeassistant.loader] Unable to find component history
2017-05-13 19:08:40 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Component not found.
2017-05-13 19:08:40 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.frontend. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/frontend/__init__.py", line 12, in <module>
from homeassistant.components import api, group
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/api.py", line 26, in <module>
from homeassistant.helpers.state import AsyncTrackStates
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/state.py", line 8, in <module>
from homeassistant.components.media_player import (
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/__init__.py", line 24, in <module>
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 16, in <module>
from aiohttp.web_exceptions import HTTPUnauthorized, HTTPMovedPermanently
ImportError: cannot import name 'HTTPUnauthorized'
2017-05-13 19:08:40 ERROR (MainThread) [homeassistant.loader] Unable to find component frontend
2017-05-13 19:08:40 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Component not found.
2017-05-13 19:08:42 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.tts. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/tts/__init__.py", line 24, in <module>
from homeassistant.components.http import HomeAssistantView
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 16, in <module>
from aiohttp.web_exceptions import HTTPUnauthorized, HTTPMovedPermanently
ImportError: cannot import name 'HTTPUnauthorized'
2017-05-13 19:08:42 ERROR (MainThread) [homeassistant.loader] Unable to find component tts
2017-05-13 19:08:42 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Component not found.
2017-05-13 19:08:42 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.logbook. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/logbook.py", line 18, in <module>
from homeassistant.components.frontend import register_built_in_panel
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/frontend/__init__.py", line 12, in <module>
from homeassistant.components import api, group
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/api.py", line 26, in <module>
from homeassistant.helpers.state import AsyncTrackStates
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/state.py", line 8, in <module>
from homeassistant.components.media_player import (
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/__init__.py", line 24, in <module>
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 16, in <module>
from aiohttp.web_exceptions import HTTPUnauthorized, HTTPMovedPermanently
ImportError: cannot import name 'HTTPUnauthorized'
2017-05-13 19:08:42 ERROR (MainThread) [homeassistant.loader] Unable to find component logbook
2017-05-13 19:08:42 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Component not found.
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.updater. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/updater.py", line 21, in <module>
from homeassistant.helpers.aiohttp_client import async_get_clientsession
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/aiohttp_client.py", line 6, in <module>
from aiohttp.hdrs import USER_AGENT, CONTENT_TYPE
ImportError: cannot import name 'USER_AGENT'
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Unable to find component updater
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.setup] Setup failed for updater: Component not found.
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.config. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/config/__init__.py", line 11, in <module>
from homeassistant.components.frontend import register_built_in_panel
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/frontend/__init__.py", line 12, in <module>
from homeassistant.components import api, group
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/api.py", line 26, in <module>
from homeassistant.helpers.state import AsyncTrackStates
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/state.py", line 8, in <module>
from homeassistant.components.media_player import (
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/__init__.py", line 24, in <module>
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 16, in <module>
from aiohttp.web_exceptions import HTTPUnauthorized, HTTPMovedPermanently
ImportError: cannot import name 'HTTPUnauthorized'
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Unable to find component config
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Component not found.
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.automation. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/automation/__init__.py", line 20, in <module>
from homeassistant.components import logbook
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/logbook.py", line 18, in <module>
from homeassistant.components.frontend import register_built_in_panel
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/frontend/__init__.py", line 12, in <module>
from homeassistant.components import api, group
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/api.py", line 26, in <module>
from homeassistant.helpers.state import AsyncTrackStates
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/state.py", line 8, in <module>
from homeassistant.components.media_player import (
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/__init__.py", line 24, in <module>
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 16, in <module>
from aiohttp.web_exceptions import HTTPUnauthorized, HTTPMovedPermanently
ImportError: cannot import name 'HTTPUnauthorized'
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Unable to find component automation
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.setup] Setup failed for automation: Component not found.
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.zwave. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/zwave/__init__.py", line 29, in <module>
from homeassistant.components.frontend import register_built_in_panel
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/frontend/__init__.py", line 12, in <module>
from homeassistant.components import api, group
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/api.py", line 26, in <module>
from homeassistant.helpers.state import AsyncTrackStates
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/state.py", line 8, in <module>
from homeassistant.components.media_player import (
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/__init__.py", line 24, in <module>
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 16, in <module>
from aiohttp.web_exceptions import HTTPUnauthorized, HTTPMovedPermanently
ImportError: cannot import name 'HTTPUnauthorized'
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Unable to find component zwave
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.setup] Setup failed for zwave: Component not found.
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.panel_iframe. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/panel_iframe.py", line 10, in <module>
from homeassistant.components.frontend import register_built_in_panel
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/frontend/__init__.py", line 12, in <module>
from homeassistant.components import api, group
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/api.py", line 26, in <module>
from homeassistant.helpers.state import AsyncTrackStates
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/state.py", line 8, in <module>
from homeassistant.components.media_player import (
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/__init__.py", line 24, in <module>
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 16, in <module>
from aiohttp.web_exceptions import HTTPUnauthorized, HTTPMovedPermanently
ImportError: cannot import name 'HTTPUnauthorized'
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Unable to find component panel_iframe
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.setup] Setup failed for panel_iframe: Component not found.
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.http. Make sure all dependencies are installed
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
module = importlib.import_module(path)
File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 16, in <module>
from aiohttp.web_exceptions import HTTPUnauthorized, HTTPMovedPermanently
ImportError: cannot import name 'HTTPUnauthorized'
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.loader] Unable to find component http
2017-05-13 19:08:43 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Component not found.