Core: emulated_hue errors thrown on dev branch

Created on 20 Sep 2016  路  5Comments  路  Source: home-assistant/core

Home Assistant release (hass --version):
0.29.0.dev0

Python release (python3 --version):
3.4.5

Component/platform:
emulated_hue

Description of problem:
Exception thrown, traceback below

Expected:
No errors.

Problem-relevant configuration.yaml entries and steps to reproduce:

emulated_hue:
  1. Start HA


    1. 3.

Traceback (if applicable):

16-09-20 13:42:19 homeassistant.core: BusHandler:Exception doing job
Traceback (most recent call last):
  File "/usr/local/home-assistant-dev/lib/python3.4/site-packages/homeassistant/core.py", line 1162, in job_handler
    func(*args)
  File "/usr/local/home-assistant-dev/lib/python3.4/site-packages/homeassistant/core.py", line 469, in onetime_listener
    listener(event)
  File "/usr/local/home-assistant-dev/lib/python3.4/site-packages/homeassistant/components/http.py", line 129, in start_wsgi_server
    server.start()
  File "/usr/local/home-assistant-dev/lib/python3.4/site-packages/homeassistant/components/http.py", line 346, in start
    from cherrypy import wsgiserver
  File "/usr/local/etc/home-assistant/deps/cherrypy/__init__.py", line 67, in <module>
    from cherrypy import _cpdispatch as dispatch  # noqa
ImportError: cannot import name '_cpdispatch'
16-09-20 13:42:19 homeassistant.core: BusHandler:Exception doing job
Traceback (most recent call last):
  File "/usr/local/home-assistant-dev/lib/python3.4/site-packages/homeassistant/core.py", line 1162, in job_handler
    func(*args)
  File "/usr/local/home-assistant-dev/lib/python3.4/site-packages/homeassistant/core.py", line 469, in onetime_listener
    listener(event)
  File "/usr/local/home-assistant-dev/lib/python3.4/site-packages/homeassistant/components/emulated_hue.py", line 90, in start_emulated_hue_bridge
    server.start()
  File "/usr/local/home-assistant-dev/lib/python3.4/site-packages/homeassistant/components/http.py", line 346, in start
    from cherrypy import wsgiserver
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2229, in _find_and_load_unlocked
KeyError: 'cherrypy'

Additional info:

Most helpful comment

I'm still getting this error with 0.31.1, and so far it's happening every time I start, not just occasionally.

All 5 comments

I also have this issue from time to time.

I'm still getting this error with 0.31.1, and so far it's happening every time I start, not just occasionally.

Im also getting this, which seems to be preventing HA from starting. Sometimes will be resolved with a reboot, sometimes not. I'm on 0.31.1

Same issue, running 0.31.1. I have had a decent amount of success by tricking HA into working by restarting with the emulated_hue portion commented out in the config file. Once HA is running, I uncomment the emulated_hue lines and then call the restart service from dev tools on the webpage and can (almost) always get HA to start fine and get the emulated_hue working properly.

I'm not seeing this any more.... If anyone else is still seeing this speak up & we can reopen.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Bergasha picture Bergasha  路  176Comments

aguilaair picture aguilaair  路  162Comments

nodkan picture nodkan  路  161Comments

kdschlosser picture kdschlosser  路  374Comments

soldag picture soldag  路  143Comments