Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2491

Crash upon loading album information for releases with MBID redirects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 2.8.1
    • 2.8.0rc1, 2.8.0rc2, 2.8
    • Lookup & Match
    • None
    • FreeBSD 14.0-CURRENT (amd64); Python 3.8.13; PyQt 5.15.6

      Picard 2.8 is consistently crashing when matching the album data for releases with multiple discs. I have several multi-disc collections in FLAC format and the crash occurs when using "Add folder" or when adding a group of files with "Add files". The discs are in separate sub-directories and will load individually and sometimes will load if the directory for the second disc is added before the first (for 2-disc albums). I tried putting all of the files in the same directory, but that did not help.

      Traceback (most recent call last):
        File "/usr/local/lib/python3.8/site-packages/picard/webservice/__init__.py", line 572, in _process_reply
          self._handle_reply(reply, request)
        File "/usr/local/lib/python3.8/site-packages/picard/webservice/__init__.py", line 559, in _handle_reply
          handler(document, reply, error)
        File "/usr/local/lib/python3.8/site-packages/picard/album.py", line 344, in _recordings_request_finished
          self._merge_release_recording_relationships()
        File "/usr/local/lib/python3.8/site-packages/picard/album.py", line 355, in _merge_release_recording_relationships
          for medium_node in self._release_node['media']:
      AttributeError: 'Album' object has no attribute '_release_node'
      Abort trap (core dumped)
      

      This seems to be a regression in 2.8. Previous versions including 2.7.3 work fine.

            outsidecontext Philipp Wolfer
            BSDKaffee BSDKaffee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package
                2.8.1