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

Picard stops loading release information if fetching coverart from Amazon

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      > python2 --version
      Python 2.7.3
      > uname -a
      Linux kotake 3.4.9-3-lqx #1 ZEN SMP PREEMPT Sun Aug 26 11:14:47 CEST 2012 x86_64 GNU/Linux

      Description

      This started after updating to the latest Git version some days ago. If I have enabled "Amazon" as a cover art source and I try adding a release which has an ASIN with cover art attached, I will get following KeyError and it will stop loading:

      Traceback (most recent call last):
        File "/usr/lib/python2.7/site-packages/picard/webservice.py", line 223, in _process_reply
          handler(str(reply.readAll()), reply, error)
        File "/usr/lib/python2.7/site-packages/picard/coverart.py", line 106, in _coverart_downloaded
          metadata.add_image(mime, data, filename, imagedata["description"],
      KeyError: 'description'
      

      I haven't tried with ASINs without cover art. Disabling "Amazon" as a cover art source fixes this.

        Attachments

          Activity

            People

            Assignee:
            mineo Wieland Hoffmann
            Reporter:
            freso Frederik “Freso” S. Olesen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                1.2