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.

V1.1.7: exception looking up a local album

See original GitHub issue

I noticed this exception. Think it is due the ‘Various Artists’ preceded by a related warning?

Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/mass/websockets.py:292 
Integration: Home Assistant WebSocket API (documentation, issues) 
First occurred: 10:10:02 (4 occurrences) 
Last logged: 10:10:17

[547674686896] Error handling message: Unknown error (unknown_error)
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response
    await func(hass, connection, msg)
  File "/config/custom_components/mass/websockets.py", line 96, in async_get_mass_func
    await orig_func(hass, connection, msg, mass)
  File "/config/custom_components/mass/websockets.py", line 292, in websocket_album_tracks
    for item in await mass.music.albums.tracks(msg[ITEM_ID], msg[PROVIDER])
  File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/music/albums.py", line 54, in tracks
    tracks = itertools.chain.from_iterable(await asyncio.gather(*coros))
  File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/music/albums.py", line 111, in get_provider_album_tracks
    return await prov.get_album_tracks(item_id)
  File "/usr/local/lib/python3.9/site-packages/music_assistant/controllers/music/providers/filesystem.py", line 266, in get_album_tracks
    raise MediaNotFoundError(f"Album not found: {prov_album_id}")
music_assistant.models.errors.MediaNotFoundError: Album not found: variousartists10080shits

The warning:

Logger: music_assistant.mass.metadata
Source: /usr/local/lib/python3.9/site-packages/music_assistant/controllers/metadata/__init__.py:161 
First occurred: 10:10:01 (1 occurrences) 
Last logged: 10:10:01

Unable to get musicbrainz ID for artist Various Artists !

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
erkrcommented, May 19, 2022

I will test that version tomorrow. Thanks for all your efforts 😎

1reaction
marcelveldtcommented, May 19, 2022
Schermafbeelding 2022-05-19 om 21 29 17

used this as test case and it works 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

pipenv fails to install all my packages, and then ... - GitHub
Hi, it might be something that I do not understand or so. I have 2 sources specified and none of them is official...
Read more >
BUG! exception in phase 'semantic analysis' - Stack Overflow
I had this BUG! exception in phase 'semantic analysis' in source unit '. ... the problem by commenting/removing below property from config/local.properties
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
systemPrefs with at least two files" status:RESOLVED resolution:OBSOLETE ... Bug:179497 - "vm-pop3d crashes when checking mail and writes garbage to mail ...
Read more >
Absinthe.Schema.Error — absinthe v1.7.0 - HexDocs
Settings View Source Absinthe.Schema.Error exception (absinthe v1.7.0). Exception raised when a schema is invalid. Link to this section Summary. Functions.
Read more >
Long-Term Care Facility Resident Assessment Instrument 3.0 ...
According to the Paperwork Reduction Act of 1995, no persons are required to respond to a collection of information unless it displays a ......
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