rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.39k stars 600 forks source link

Uncaught exception: Traceback (most recent call last): #3228

Open MatthK opened 5 years ago

MatthK commented 5 years ago

When I search for an Album and then click on a search result, it can't load the artist information and the log shows the following error:

Uncaught exception: Traceback (most recent call last): File "/volume1/@appstore/headphones/share/Headphones/headphones/logger.py", line 214, in new_run old_run(*args, **kwargs) File "/var/packages/python/target/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "/volume1/@appstore/headphones/share/Headphones/headphones/importer.py", line 160, in addArtisttoDB artist = mb.getSeries(artistid) File "/volume1/@appstore/headphones/share/Headphones/headphones/mb.py", line 392, in getSeries for rg in series['release_group-relation-list']: KeyError: 'release_group-relation-list'

Any idea how to fix that?

It says I am on Version: 5283b48736cda701416aad11467649224c6e7080 It runs on my Synology NAS (where it says it's Version 20180530-9).

AdeHub commented 5 years ago

What is the Album and Artist?

MatthK commented 5 years ago

I was searching for the series "tranquil 123 lullabies". Then I clicked on the first entry in the search result called "Lullabies". (this is the link: http://192.168.7.5:8181/addSeries?seriesid=5e62022b-d641-449e-abcd-f6b0b1264fe7)

It then shows Artist ID: and keeps loading while I get the error message in the log. Artist ID: 5e62022b-d641-449e-abcd-f6b0b1264fe7

Same if I search for Baby Shark and select Baby Classics (link: http://192.168.7.5:8181/artistPage?ArtistID=6592fdce-e3db-4382-9ba5-4a0a468e172c) on the search results.

robkamp commented 1 year ago

Same here. Steps to repeat with the current version:

  1. Set search for series
  2. Enter "Deutsche Grammophon"
  3. Hit search.
  4. The list with series is shown
  5. Click on the first line to add the series
  6. The Artist Page with the loading symbol is shown
  7. Log file contains the stack trace
Uncaught exception: Traceback (most recent call last):
File "/app/headphones/headphones/logger.py", line 215, in new_run
old_run(*args, **kwargs)
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/app/headphones/headphones/importer.py", line 155, in addArtisttoDB
artist = mb.getSeries(artistid)
File "/app/headphones/headphones/mb.py", line 382, in getSeries
for rg in series['release_group-relation-list']:
KeyError: 'release_group-relation-list'