Issue after upgrading HA. HA wont start

16-06-09 00:42:04 homeassistant.bootstrap: Incomplete core config. Auto detecting location and temperature unit
16-06-09 00:42:06 homeassistant.bootstrap: Error during setup of component http
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/bootstrap.py", line 157, in _setup_component
    if not component.setup(hass, config):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/http.py", line 93, in setup
    cors_origins=cors_origins
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/http.py", line 201, in __init__
    from werkzeug.wrappers import Response
ImportError: cannot import name 'Response'
16-06-09 00:42:06 homeassistant.bootstrap: Not initializing api because not all dependencies loaded: http
16-06-09 00:42:06 homeassistant.bootstrap: Not initializing frontend because not all dependencies loaded: api
16-06-09 00:42:06 homeassistant.bootstrap: Not initializing history because not all dependencies loaded: http
16-06-09 00:42:06 homeassistant.bootstrap: Error during setup of component discovery
Traceback (most recent call last):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/bootstrap.py", line 157, in _setup_component
    if not component.setup(hass, config):
  File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/discovery.py", line 110, in setup
    from netdisco.service import DiscoveryService
ImportError: cannot import name 'DiscoveryService'
16-06-09 00:42:17 homeassistant.components.sensor.template: UndefinedError: 'None' has no attribute 'state'
16-06-09 00:42:17 homeassistant.components.sensor.template: UndefinedError: 'None' has no attribute 'state'
16-06-09 00:42:18 homeassistant.bootstrap: Not initializing logbook because not all dependencies loaded: http

You seem to have an issue with dependencies not correctly installing. Do you have a version of Werkzeug installed in your main Python install?

1 Like