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.

Configuration doesn't reload after making changes

See original GitHub issue

Hi

When rerunning the configuration the integration crashed (After a restart it works again!):

2022-05-07 22:12:58 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Music Assistant for media_player
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 474, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 395, in async_unload_entry
    return await component.async_unload_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 172, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2022-05-07 22:12:58 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Music Assistant for switch
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 474, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/switch/__init__.py", line 87, in async_unload_entry
    return await component.async_unload_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 172, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2022-05-07 22:12:58 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry Music Assistant for number
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 474, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/number/__init__.py", line 87, in async_unload_entry
    return await component.async_unload_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 172, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2022-05-07 22:12:58 INFO (MainThread) [music_assistant.mass] Stop called, cleaning up...
2022-05-07 22:12:58 INFO (MainThread) [music_assistant.mass.stream] Streamserver exited.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
erkrcommented, May 7, 2022

And yes I have my first Spotify playlist running 👍 I’m so happy 🥇

0reactions
erkrcommented, May 8, 2022

Including my local collection is the next step. Good news with respect to this issue. Since v109 I can update the configuration of Music Assistant without a reloading errors!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Hot Reload on Visual Studio 2022 - Stack Overflow
Press the Hot Reload icon in the toolbar, then Settings from the icon's context menu (or access via Tools > Settings > Debugging)...
Read more >
Auto reload does not detect changes to index.js #9984 - GitHub
The app does not auto reload upon saving changes in index.js , but reloads on changes in App.js . If there are any...
Read more >
Hot reload - Flutter documentation
Hot reload won't apply changes made to a builder of a CupertinoTabView . ... Hot reload doesn't work when enumerated types are changed...
Read more >
XAML Hot Reload for .NET MAUI - Microsoft Learn
NET MAUI app is running in debug configuration, with the debugger attached, XAML Hot Reload parses your XAML edits and sends those changes...
Read more >
Not reload applying code changes but browser does not refresh
I'm trying to get hot reload working in Visual Studio 2022 (17.0.1) but am not having any luck. After running the project and...
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