Hi all,
I have recently upgraded from 0.39.x to 0.40.1 and get lots of errors, and canβt reach the frontend anymore. Python3 version is 3.4.2, running on a Raspberry with 4.9.0-v7+ kernel. I have a simple Home Assistant configuration (with 4x MySenors sensors and 1 Hue lamp), running in a Python Virtualenv installation. I tried so far to upgrade all pip3 packages, but that did not help (in the past I only had to update always netdisco manually to the required version). Here is the startup log shortly after starting Home Assistant:
[details=Summary] INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_off, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=turn_on, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=toggle, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=stop, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=restart, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=check_config, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=reload_core_config, domain=homeassistant>
INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=create, domain=persistent_notification>
INFO:homeassistant.bootstrap:Home Assistant core initialized
INFO:homeassistant.loader:Loaded updater from homeassistant.components.updater
INFO:homeassistant.loader:Loaded mysensors from homeassistant.components.mysensors
INFO:homeassistant.loader:Loaded sun from homeassistant.components.sun
ERROR:homeassistant.loader:Error loading homeassistant.components.history. Make sure all dependencies are installed
Traceback (most recent call last):
File β/srv/homeass/homeass_venv/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 ββ, line 2254, in _gcd_import
File ββ, line 2237, in _find_and_load
File ββ, line 2226, in _find_and_load_unlocked
File ββ, line 1200, in _load_unlocked
File ββ, line 1129, in _exec
File ββ, line 1471, in exec_module
File ββ, line 321, in _call_with_frames_removed
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/history.pyβ, line 20, in
from homeassistant.components.frontend import register_built_in_panel
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/frontend/init.pyβ, line 12, in
from homeassistant.components import api, group
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/api.pyβ, line 26, in
from homeassistant.helpers.state import AsyncTrackStates
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/helpers/state.pyβ, line 8, in
from homeassistant.components.media_player import (
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/init.pyβ, line 24, in
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/init.pyβ, line 34, in
from .static import FILE_SENDER, CACHING_FILE_SENDER, staticresource_middleware
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/static.pyβ, line 6, in
from aiohttp.file_sender import FileSender
ImportError: No module named βaiohttp.file_senderβ
ERROR:homeassistant.loader:Unable to find component history
ERROR:homeassistant.setup:Setup failed for history: Component not found.
ERROR:homeassistant.loader:Error loading homeassistant.components.http. Make sure all dependencies are installed
Traceback (most recent call last):
File β/srv/homeass/homeass_venv/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 ββ, line 2254, in _gcd_import
File ββ, line 2237, in _find_and_load
File ββ, line 2226, in _find_and_load_unlocked
File ββ, line 1200, in _load_unlocked
File ββ, line 1129, in _exec
File ββ, line 1471, in exec_module
File ββ, line 321, in _call_with_frames_removed
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/init.pyβ, line 34, in
from .static import FILE_SENDER, CACHING_FILE_SENDER, staticresource_middleware
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/static.pyβ, line 6, in
from aiohttp.file_sender import FileSender
ImportError: No module named βaiohttp.file_senderβ
ERROR:homeassistant.loader:Unable to find component http
ERROR:homeassistant.setup:Setup failed for http: Component not found.
ERROR:homeassistant.loader:Error loading homeassistant.components.tts. Make sure all dependencies are installed
Traceback (most recent call last):
File β/srv/homeass/homeass_venv/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 ββ, line 2254, in _gcd_import
File ββ, line 2237, in _find_and_load
File ββ, line 2226, in _find_and_load_unlocked
File ββ, line 1200, in _load_unlocked
File ββ, line 1129, in _exec
File ββ, line 1471, in exec_module
File ββ, line 321, in _call_with_frames_removed
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/tts/init.pyβ, line 24, in
from homeassistant.components.http import HomeAssistantView
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/init.pyβ, line 34, in
from .static import FILE_SENDER, CACHING_FILE_SENDER, staticresource_middleware
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/static.pyβ, line 6, in
from aiohttp.file_sender import FileSender
ImportError: No module named βaiohttp.file_senderβ
ERROR:homeassistant.loader:Unable to find component tts
ERROR:homeassistant.setup:Setup failed for tts: Component not found.
INFO:homeassistant.loader:Loaded conversation from homeassistant.components.conversation
ERROR:homeassistant.loader:Error loading homeassistant.components.logbook. Make sure all dependencies are installed
Traceback (most recent call last):
File β/srv/homeass/homeass_venv/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 ββ, line 2254, in _gcd_import
File ββ, line 2237, in _find_and_load
File ββ, line 2226, in _find_and_load_unlocked
File ββ, line 1200, in _load_unlocked
File ββ, line 1129, in _exec
File ββ, line 1471, in exec_module
File ββ, line 321, in _call_with_frames_removed
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/logbook.pyβ, line 18, in
from homeassistant.components.frontend import register_built_in_panel
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/frontend/init.pyβ, line 12, in
from homeassistant.components import api, group
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/api.pyβ, line 26, in
from homeassistant.helpers.state import AsyncTrackStates
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/helpers/state.pyβ, line 8, in
from homeassistant.components.media_player import (
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/init.pyβ, line 24, in
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/init.pyβ, line 34, in
from .static import FILE_SENDER, CACHING_FILE_SENDER, staticresource_middleware
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/static.pyβ, line 6, in
from aiohttp.file_sender import FileSender
ImportError: No module named βaiohttp.file_senderβ
ERROR:homeassistant.loader:Unable to find component logbook
ERROR:homeassistant.setup:Setup failed for logbook: Component not found.
ERROR:homeassistant.loader:Error loading homeassistant.components.frontend. Make sure all dependencies are installed
Traceback (most recent call last):
File β/srv/homeass/homeass_venv/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 ββ, line 2254, in _gcd_import
File ββ, line 2237, in _find_and_load
File ββ, line 2226, in _find_and_load_unlocked
File ββ, line 1200, in _load_unlocked
File ββ, line 1129, in _exec
File ββ, line 1471, in exec_module
File ββ, line 321, in _call_with_frames_removed
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/frontend/init.pyβ, line 12, in
from homeassistant.components import api, group
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/api.pyβ, line 26, in
from homeassistant.helpers.state import AsyncTrackStates
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/helpers/state.pyβ, line 8, in
from homeassistant.components.media_player import (
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/init.pyβ, line 24, in
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/init.pyβ, line 34, in
from .static import FILE_SENDER, CACHING_FILE_SENDER, staticresource_middleware
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/static.pyβ, line 6, in
from aiohttp.file_sender import FileSender
ImportError: No module named βaiohttp.file_senderβ
ERROR:homeassistant.loader:Unable to find component frontend
ERROR:homeassistant.setup:Setup failed for frontend: Component not found.
INFO:homeassistant.loader:Loaded sensor from homeassistant.components.sensor
INFO:homeassistant.loader:Loaded sensor.yr from homeassistant.components.sensor.yr
INFO:homeassistant.setup:Setting up sensor
INFO:homeassistant.loader:Loaded discovery from homeassistant.components.discovery
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1978711536-1, service_data=message=The following components and platforms could not be set up:
* history
Please check your config, title=Invalid config, notification_id=invalid_config, service=create, domain=persistent_notification>
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1978711536-2, service_data=message=The following components and platforms could not be set up:
* history
* http
Please check your config, title=Invalid config, notification_id=invalid_config, service=create, domain=persistent_notification>
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1978711536-3, service_data=message=The following components and platforms could not be set up:
* history
* http
* tts
Please check your config, title=Invalid config, notification_id=invalid_config, service=create, domain=persistent_notification>
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1978711536-4, service_data=message=The following components and platforms could not be set up:
* logbook
* history
* http
* tts
Please check your config, title=Invalid config, notification_id=invalid_config, service=create, domain=persistent_notification>
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1978711536-5, service_data=message=The following components and platforms could not be set up:
* logbook
* frontend
* history
* http
* tts
Please check your config, title=Invalid config, notification_id=invalid_config, service=create, domain=persistent_notification>
INFO:homeassistant.setup:Setting up updater
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* history
Please check your config; title=Invalid config @ 2017-03-21T21:39:24.533280+01:00>, old_state=None, entity_id=persistent_notification.invalid_config>
INFO:homeassistant.core:Bus:Handling <Event service_executed[L]: service_call_id=1978711536-1>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* history
* http
Please check your config; title=Invalid config @ 2017-03-21T21:39:24.540562+01:00>, old_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* history
Please check your config; title=Invalid config @ 2017-03-21T21:39:24.533280+01:00>, entity_id=persistent_notification.invalid_config>
INFO:homeassistant.core:Bus:Handling <Event service_executed[L]: service_call_id=1978711536-2>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* history
* http
* tts
Please check your config; title=Invalid config @ 2017-03-21T21:39:24.547657+01:00>, old_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* history
* http
Please check your config; title=Invalid config @ 2017-03-21T21:39:24.540562+01:00>, entity_id=persistent_notification.invalid_config>
INFO:homeassistant.core:Bus:Handling <Event service_executed[L]: service_call_id=1978711536-3>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* logbook
* history
* http
* tts
Please check your config; title=Invalid config @ 2017-03-21T21:39:24.554734+01:00>, old_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* history
* http
* tts
Please check your config; title=Invalid config @ 2017-03-21T21:39:24.547657+01:00>, entity_id=persistent_notification.invalid_config>
INFO:homeassistant.core:Bus:Handling <Event service_executed[L]: service_call_id=1978711536-4>
INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: new_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* logbook
* frontend
* history
* http
* tts
Please check your config; title=Invalid config @ 2017-03-21T21:39:24.561760+01:00>, old_state=<state persistent_notification.invalid_config=The following components and platforms could not be set up:
* logbook
* history
* http
* tts
Please check your config; title=Invalid config @ 2017-03-21T21:39:24.554734+01:00>, entity_id=persistent_notification.invalid_config>
INFO:homeassistant.core:Bus:Handling <Event service_executed[L]: service_call_id=1978711536-5>
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=updater>
INFO:homeassistant.setup:Setting up mysensors
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=mysensors>
INFO:homeassistant.loader:Loaded switch from homeassistant.components.switch
INFO:homeassistant.setup:Setting up switch
ERROR:homeassistant.loader:Error loading homeassistant.components.light. Make sure all dependencies are installed
Traceback (most recent call last):
File β/srv/homeass/homeass_venv/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 ββ, line 2254, in _gcd_import
File ββ, line 2237, in _find_and_load
File ββ, line 2226, in _find_and_load_unlocked
File ββ, line 1200, in _load_unlocked
File ββ, line 1129, in _exec
File ββ, line 1471, in exec_module
File ββ, line 321, in _call_with_frames_removed
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/light/init.pyβ, line 25, in
from homeassistant.helpers.restore_state import async_restore_state
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/helpers/restore_state.pyβ, line 10, in
from homeassistant.components.history import get_states, last_recorder_run
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/history.pyβ, line 20, in
from homeassistant.components.frontend import register_built_in_panel
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/frontend/init.pyβ, line 12, in
from homeassistant.components import api, group
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/api.pyβ, line 26, in
from homeassistant.helpers.state import AsyncTrackStates
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/helpers/state.pyβ, line 8, in
from homeassistant.components.media_player import (
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/init.pyβ, line 24, in
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/init.pyβ, line 34, in
from .static import FILE_SENDER, CACHING_FILE_SENDER, staticresource_middleware
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/static.pyβ, line 6, in
from aiohttp.file_sender import FileSender
ImportError: No module named βaiohttp.file_senderβ
ERROR:homeassistant.loader:Unable to find component light
ERROR:homeassistant.setup:Setup failed for light: Component not found.
INFO:homeassistant.loader:Loaded binary_sensor from homeassistant.components.binary_sensor
INFO:homeassistant.setup:Setting up binary_sensor
INFO:homeassistant.core:Bus:Handling <Event component_loaded[L]: component=binary_sensor>
INFO:homeassistant.loader:Loaded climate from homeassistant.components.climate
INFO:homeassistant.setup:Setting up climate
INFO:homeassistant.loader:Loaded cover from homeassistant.components.cover
INFO:homeassistant.setup:Setting up cover
ERROR:homeassistant.loader:Error loading homeassistant.components.device_tracker. Make sure all dependencies are installed
Traceback (most recent call last):
File β/srv/homeass/homeass_venv/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 ββ, line 2254, in _gcd_import
File ββ, line 2237, in _find_and_load
File ββ, line 2226, in _find_and_load_unlocked
File ββ, line 1200, in _load_unlocked
File ββ, line 1129, in _exec
File ββ, line 1471, in exec_module
File ββ, line 321, in _call_with_frames_removed
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/device_tracker/init.pyβ, line 27, in
from homeassistant.helpers.restore_state import async_get_last_state
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/helpers/restore_state.pyβ, line 10, in
from homeassistant.components.history import get_states, last_recorder_run
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/history.pyβ, line 20, in
from homeassistant.components.frontend import register_built_in_panel
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/frontend/init.pyβ, line 12, in
from homeassistant.components import api, group
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/api.pyβ, line 26, in
from homeassistant.helpers.state import AsyncTrackStates
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/helpers/state.pyβ, line 8, in
from homeassistant.components.media_player import (
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/init.pyβ, line 24, in
from homeassistant.components.http import HomeAssistantView, KEY_AUTHENTICATED
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/init.pyβ, line 34, in
from .static import FILE_SENDER, CACHING_FILE_SENDER, staticresource_middleware
File β/srv/homeass/homeass_venv/lib/python3.4/site-packages/homeassistant/components/http/static.pyβ, line 6, in
from aiohttp.file_sender import FileSender
ImportError: No module named βaiohttp.file_senderβ
ERROR:homeassistant.loader:Unable to find component device_tracker
ERROR:homeassistant.setup:Setup failed for device_tracker: Component not found.
INFO:homeassistant.loader:Loaded notify from homeassistant.components.notify
INFO:homeassistant.setup:Setting up notify
INFO:homeassistant.core:Bus:Handling <Event call_service[L]: service_call_id=1978711536-6, service_data=message=The following components and platforms could not be set up:
* logbook
* tts
* frontend
* history
* http
* light[/details]
Thanks for help or hints!
[EDIT] Sorry for opening that topic (we can delete it), since there are similar ones like:
As posted in the bug report thread doing this in virtualenv solved it also for me so far:
pip install --upgrade aiohttp==1.3.3 -t ~/.homeassistant/deps/