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

Search dialog crashes picard when record doesn't have an album

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3
    • Component/s: User Interface
    • Labels:
      None
    • Environment:
      openSUSE Tumbleweed

      Description

      I have a file called "La vie en rose", by artist "Émilie Simon" in a cluster. I right click on it and select "Search for similar tracks...". This shows a list of recordings where I select on the first one (which is https://musicbrainz.org/recording/7f7dfdc4-c5ed-45b3-9363-a403ddff8445 ) and picard crashes with the following backtrace:

      Traceback (most recent call last):
       File "/usr/lib64/python3.6/site-packages/picard/ui/searchdialog/_init_.py", line 345, in accept
         self.accept_event(row)
       File "/usr/lib64/python3.6/site-packages/picard/ui/searchdialog/track.py", line 172, in accept_event
         self.load_selection(arg)
       File "/usr/lib64/python3.6/site-packages/picard/ui/searchdialog/track.py", line 201, in load_selection
         album = self.file_.parent.album
      AttributeError: 'Cluster' object has no attribute 'album'
      Aborted (core dumped)

        Attachments

          Activity

            People

            • Assignee:
              antlarr Antonio Larrosa Jiménez
              Reporter:
              antlarr Antonio Larrosa Jiménez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: