Frontend errors in 0.58

First time I’ve had any major dramas in an upgrade, but basically my map, config and logbook panels won’t work in 0.58

errors:

2017-11-19 17:36:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 343, in finalize_panel
    yield from panel.async_finalize(hass, repo_path)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 182, in async_finalize
    hass_frontend.FINGERPRINTS[self.component_name])
KeyError: 'dev-event'
2017-11-19 17:36:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 343, in finalize_panel
    yield from panel.async_finalize(hass, repo_path)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 182, in async_finalize
    hass_frontend.FINGERPRINTS[self.component_name])
KeyError: 'dev-mqtt'
2017-11-19 17:36:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 343, in finalize_panel
    yield from panel.async_finalize(hass, repo_path)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 182, in async_finalize
    hass_frontend.FINGERPRINTS[self.component_name])
KeyError: 'dev-info'
2017-11-19 17:36:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 343, in finalize_panel
    yield from panel.async_finalize(hass, repo_path)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 182, in async_finalize
    hass_frontend.FINGERPRINTS[self.component_name])
KeyError: 'kiosk'
2017-11-19 17:36:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 343, in finalize_panel
    yield from panel.async_finalize(hass, repo_path)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 182, in async_finalize
    hass_frontend.FINGERPRINTS[self.component_name])
KeyError: 'dev-template'
2017-11-19 17:36:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 343, in finalize_panel
    yield from panel.async_finalize(hass, repo_path)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 182, in async_finalize
    hass_frontend.FINGERPRINTS[self.component_name])
KeyError: 'dev-service'
2017-11-19 17:36:26 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 343, in finalize_panel
    yield from panel.async_finalize(hass, repo_path)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 182, in async_finalize
    hass_frontend.FINGERPRINTS[self.component_name])
KeyError: 'dev-state'
2017-11-19 17:36:29 ERROR (MainThread) [homeassistant.setup] Error during setup of component map
Traceback (most recent call last):
  File "/home/hass/lib/python3.6/site-packages/homeassistant/setup.py", line 190, in _async_setup_component
    result = yield from component.async_setup(hass, processed_config)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/map.py", line 16, in async_setup
    'map', 'map', 'mdi:account-location')
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 246, in async_register_built_in_panel
    yield from panel.async_register(hass)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 127, in async_register
    yield from hass.data[DATA_FINALIZE_PANEL](self)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 343, in finalize_panel
    yield from panel.async_finalize(hass, repo_path)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 182, in async_finalize
    hass_frontend.FINGERPRINTS[self.component_name])
KeyError: 'map'
2017-11-19 17:36:30 ERROR (MainThread) [homeassistant.setup] Error during setup of component config
Traceback (most recent call last):
  File "/home/hass/lib/python3.6/site-packages/homeassistant/setup.py", line 190, in _async_setup_component
    result = yield from component.async_setup(hass, processed_config)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/config/__init__.py", line 24, in async_setup
    'config', 'config', 'mdi:settings')
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 246, in async_register_built_in_panel
    yield from panel.async_register(hass)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 127, in async_register
    yield from hass.data[DATA_FINALIZE_PANEL](self)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 343, in finalize_panel
    yield from panel.async_finalize(hass, repo_path)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 182, in async_finalize
    hass_frontend.FINGERPRINTS[self.component_name])
KeyError: 'config'
2017-11-19 17:36:31 ERROR (MainThread) [homeassistant.setup] Error during setup of component logbook
Traceback (most recent call last):
  File "/home/hass/lib/python3.6/site-packages/homeassistant/setup.py", line 193, in _async_setup_component
    component.setup, hass, processed_config)
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/local/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 179, in _step
    result = coro.send(None)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/logbook.py", line 104, in setup
    'logbook', 'logbook', 'mdi:format-list-bulleted-type')
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 246, in async_register_built_in_panel
    yield from panel.async_register(hass)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 127, in async_register
    yield from hass.data[DATA_FINALIZE_PANEL](self)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 343, in finalize_panel
    yield from panel.async_finalize(hass, repo_path)
  File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 210, in coro
    res = func(*args, **kw)
  File "/home/hass/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 182, in async_finalize
    hass_frontend.FINGERPRINTS[self.component_name])
KeyError: 'logbook'

I initially tried the new javascript: frontend option, and have since removed it, but other than that no change to config. Have had to rollback for now.

Anyone have any ideas?

I found the same on a fresh install on Ubuntu 17.10 updating from 57.3. I also had the same failures on an update from 57.2 on an Ubuntu 17.4. I too had to roll back.
I am just trying a fresh install on Ubuntu 17.10 directly to .58 to see if I can see where the problems came from.
Z

I have the same issue.
There is any solution for that?

I had a bit of a day today sorting this out. I totally reinstalled HA (58.1) from scratch, and started it with the default config to make sure it was working, it was.

I then imported my configuration, rebooted and got the same errors again. Figured I must’ve missed a breaking change, but I hadn’t.

So…

I commented out map: , config: , and logbook: as those were the ones mentioned in the error message. Rebooted and I got a working frontend (obviously minus those three components).

So I thought I’d reintroduce them one at a time, and see if one specifically was causing issues. I enabled logger and rebooted, all was fine.

I enabled config and rebooted, all was fine.

I enabled map and rebooted, wandering how on earth map could cause a problem, and ummm, it’s all working perfectly.

I have not changed any config at all, just commented out those components and put them back in one at a time.

I cannot say whether the reinstall fixed something, but when I first used my config afterwards I still got the error so I guess not.

In short, it’s a complete mystery, but I’m back up and running.

1 Like

I’ve had this same errors for a few weeks now - and re-enabling the components one by one didn’t fix it.
Anyone else found a fix?
frontend will start, but map, config and history components are disabled with:

The following components and platforms could not be set up:

There’s not much config to check, i just have:

config:
map:
history: