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

Picard stops loading release information if fetching coverart from Amazon

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 1.2
    • 1.2
    • None
    • None
    • > 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

      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.

            mineo Wieland Hoffmann
            freso Freso
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                1.2