question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

KeyError: 'spotcast'

See original GitHub issue

HA - 2021.4.4 Spotcast - 3.5.2

Spotcast will no longer load. I have not made any changes or integration additions within the past week, just the upgrade of HA.

This are the errors that are shown on the log page:

Logger: homeassistant.setup
Source: setup.py:308
First occurred: 1:23:09 PM (1 occurrences)
Last logged: 1:23:09 PM

Unable to prepare setup for platform spotcast.sensor: Unable to set up component.
Logger: homeassistant.setup
Source: custom_components/spotcast/__init__.py:170
First occurred: 1:23:09 PM (1 occurrences)
Last logged: 1:23:09 PM

Error during setup of component spotcast
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/setup.py", line 241, in _async_setup_component
    result = await task
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/home/homeassistant/.homeassistant/custom_components/spotcast/__init__.py", line 170, in setup
    conf = config[DOMAIN]
KeyError: 'spotcast'

I did a reinstall of Spotcast, but the errors remain. Any ideas?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Spankythemusicalcommented, Apr 18, 2021

Well color me embarrassed! I guess I commented out the spot cast entry in my configuration.yaml due to the last issue. Never went back to uncomment after the upgrade. I will hang my head in shame and show myself to the door.

thank you for your help with this.

0reactions
hmmbobcommented, Apr 18, 2021

How does your Spotcast configuration look like in configuration.yaml?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Developers - KeyError: 'spotcast' - - Bountysource
Coming soon: A brand new website interface for an even better experience!
Read more >
Spotcast - custom component to start playback on an idle ...
I am running Home Assistant version 0.111.4. That's where the log above came from. I installed spotcast using HACS.
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
... Bug:229335 - "sys-apps/portage: KeyError due to corruption in ... Bug:341433 - "sopcast-player-0.3.3 - A GTK+ front-end for the SopCast P2P TV player" ......
Read more >
Untitled
... 2014 sc state fair scholarship, Django keyerror exception, Channel iron sizes metric, ... Loods 5 sliedrecht zondag open, 8bongda com link sopcast!...
Read more >
Artist Slideshow addon (with skin and addon integration)
KeyError : ('artist',) -->End of Python script error report<-- 14:53:02 T:5816 NOTICE: Thread CFileCache start, auto delete: false.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found