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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.0.3
    • 2.0.2
    • User Interface
    • None
    • openSUSE Tumbleweed

      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)

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

              Created:
              Updated:
              Resolved:

                Version Package
                2.0.3