Hello, today HA decided to give up on me. I just don´t know what may have happened, It just won´t load and gives this log:
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.history. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/history.py”, line 20, in
from homeassistant.components.http import HomeAssistantView
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 30, in
from .auth import auth_middleware
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py”, line 8, in
from aiohttp.web import middleware
ImportError: cannot import name ‘middleware’
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Unable to find component history
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.setup] Setup failed for history: Component not found.
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.frontend. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/frontend/init.py”, line 19, in
from homeassistant.components.http import HomeAssistantView
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 30, in
from .auth import auth_middleware
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py”, line 8, in
from aiohttp.web import middleware
ImportError: cannot import name ‘middleware’
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Unable to find component frontend
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.setup] Setup failed for frontend: Component not found.
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.conversation. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/conversation.py”, line 19, in
from homeassistant.components import http
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 30, in
from .auth import auth_middleware
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py”, line 8, in
from aiohttp.web import middleware
ImportError: cannot import name ‘middleware’
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Unable to find component conversation
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.setup] Setup failed for conversation: Component not found.
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.config. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/config/init.py”, line 11, in
from homeassistant.components.http import HomeAssistantView
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 30, in
from .auth import auth_middleware
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py”, line 8, in
from aiohttp.web import middleware
ImportError: cannot import name ‘middleware’
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Unable to find component config
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.setup] Setup failed for config: Component not found.
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.logbook. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/logbook.py”, line 18, in
from homeassistant.components.http import HomeAssistantView
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 30, in
from .auth import auth_middleware
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py”, line 8, in
from aiohttp.web import middleware
ImportError: cannot import name ‘middleware’
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Unable to find component logbook
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.setup] Setup failed for logbook: Component not found.
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.media_player. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/media_player/init.py”, line 21, in
from homeassistant.components.http import KEY_AUTHENTICATED, HomeAssistantView
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 30, in
from .auth import auth_middleware
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py”, line 8, in
from aiohttp.web import middleware
ImportError: cannot import name ‘middleware’
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Unable to find component media_player
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.setup] Setup failed for media_player: Component not found.
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.tts. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/tts/init.py”, line 20, in
from homeassistant.components.http import HomeAssistantView
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 30, in
from .auth import auth_middleware
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py”, line 8, in
from aiohttp.web import middleware
ImportError: cannot import name ‘middleware’
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Unable to find component tts
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.setup] Setup failed for tts: Component not found.
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.frontend. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/frontend/init.py”, line 19, in
from homeassistant.components.http import HomeAssistantView
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 30, in
from .auth import auth_middleware
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py”, line 8, in
from aiohttp.web import middleware
ImportError: cannot import name ‘middleware’
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Unable to find component frontend
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Error loading panel_iframe dependency: frontend
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.setup] Setup failed for panel_iframe: Unable to resolve component or dependencies.
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.automation. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/automation/init.py”, line 21, in
from homeassistant.components import logbook
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/logbook.py”, line 18, in
from homeassistant.components.http import HomeAssistantView
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 30, in
from .auth import auth_middleware
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py”, line 8, in
from aiohttp.web import middleware
ImportError: cannot import name ‘middleware’
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.loader] Unable to find component automation
2017-12-23 11:54:24 ERROR (MainThread) [homeassistant.setup] Setup failed for automation: Component not found.
2017-12-23 11:54:25 ERROR (MainThread) [homeassistant.loader] Error loading homeassistant.components.http. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/homeassistant/loader.py”, line 142, in get_component
module = importlib.import_module(path)
File “/usr/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 986, in _gcd_import
File “”, line 969, in _find_and_load
File “”, line 958, in _find_and_load_unlocked
File “”, line 673, in _load_unlocked
File “”, line 673, in exec_module
File “”, line 222, in _call_with_frames_removed
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/init.py”, line 30, in
from .auth import auth_middleware
File “/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py”, line 8, in
from aiohttp.web import middleware
ImportError: cannot import name ‘middleware’
2017-12-23 11:54:25 ERROR (MainThread) [homeassistant.loader] Unable to find component http
2017-12-23 11:54:25 ERROR (MainThread) [homeassistant.setup] Setup failed for http: Component not found.
2017-12-23 11:54:35 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds.
2017-12-23 11:54:50 ERROR (Thread-3) [homeassistant.components.xiaomi_aqara] No gateway discovered
2017-12-23 11:54:50 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi_aqara: Component failed to initialize.
2017-12-23 11:55:04 WARNING (Thread-5) [netdisco.ssdp] Error fetching description at http://192.168.1.1:1990/WFADevice.xml
Can anyone shed some light? Please?