I developed Deezerart

I think the plugin is causing Picard to crash. Is there a way I can PM you a link to a test file or two?

The crash happens after the release is loaded into Picard, and I guess when the plugin is looking for artwork. The files have previously been tagged with Picard. The releases load without error when the plugin is disabled. The crashes happen on 2.9.2 and 2.10, and I’m using version 1.2 of the plugin.

Please give the release that is crashing for you, then we can take a look.

Also in case we can’t reproduce the issue with the release a crash log can help us identify the cause of the crash. See the documentation at General Troubleshooting — MusicBrainz Picard v2.10 documentation for how to get the log in case if crashes.

1 Like

Two releases that cause a crash are

Last few lines in the log are

D: 17:24:20,324 album._parse_release:210: Loading release '5fa7b518-064a-4069-a85d-d510fb729698' …
D: 17:24:20,325 coverart._retrieve_coverart:230: New CoverArt for <Album 5fa7b518-064a-4069-a85d-d510fb729698 ''>
D: 17:24:20,325 coverart.next_in_queue:143: Trying cover art provider Deezer …
W: 17:24:20,326 webservice.get:599: This method is deprecated, use WebService.get_url() instead
D: 17:24:20,326 webservice/ratecontrol._out_of_backoff:231: ('musicbrainz.org', 443): oobackoff; delay: 1000ms -> 1000ms; slow start; window size 2.000 -> 3.000
D: 17:24:20,326 webservice/ratecontrol.get_delay_to_next_request:122: ('api.deezer.com', 443): First request
D: 17:24:20,326 webservice/ratecontrol.increment_requests:147: ('api.deezer.com', 443): Incrementing requests to: 1
D: 17:24:20,776 webservice/ratecontrol.decrement_requests:155: ('api.deezer.com', 443): Decrementing requests to: 0
D: 17:24:20,777 webservice._handle_reply:558: Received reply for https://api.deezer.com/search?q=artist:%22WORLD%20STANDARD%22%20album:%22WORLD%20STANDARD%22 -> HTTP 200 (OK) 
D: 17:24:20,777 coverart/providers/caa._has_suitable_artwork:256: There are suitable images in the Cover Art Archive for 5fa7b518-064a-4069-a85d-d510fb729698
D: 17:24:20,778 coverart.next_in_queue:143: Trying cover art provider Cover Art Archive …
Traceback (most recent call last):
  File "webservice/__init__.py", line 591, in _process_reply
  File "webservice/__init__.py", line 579, in _handle_reply
  File "/Users/[me]/Library/Preferences/MusicBrainz/Picard/plugins/deezerart.zip/deezerart/deezer/client.py", line 49, in handler
  File "/Users/[me]/Library/Preferences/MusicBrainz/Picard/plugins/deezerart.zip/deezerart/__init__.py", line 133, in _queue_from_search
AttributeError: 'Artist' object has no attribute 'title'
zsh: abort      "/Applications/MusicBrainz Picard.app/Contents/MacOS/picard-run" --debug

1 Like

Thanks a lot for the details. I’ll look into it and see that I can provide a fix for the plugin.

2 Likes

It started to cause Picard crash again, not sure if it’s just me.

1 Like