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

Host not found error when downloading PDF artwork

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 2.3.2
    • 2.3.1
    • None
    • windows 10

      I've been getting this error on one specific release, but not others:

      E: 15:48:42,276 webservice._handle_reply:396: Network request error for : Host not found (QT code 3, HTTP code 0)
      E: 15:48:42,276 album.error_append:278: Coverart error: Host not found

      In Options, I have CAA, Local Files, and CAA Release Group enabled. The weird thing is the "host not found" bit. Seems like that would affect all releases, or none of them. In fact, if I use the Other Versions menu to select a different version, I don't get the error - it's just one specific version of one release:

      https://musicbrainz.org/release/d20247ad-940e-486d-948f-be4c17024ab9?tport=8000

      If I click on the More Details button in the cover art pane, it crashes Picard entirely.  Log from the log window (prior to crash, obviously) is attached.

          [PICARD-1784] Host not found error when downloading PDF artwork

          GitHub Bot added a comment -

          See code changes in pull request #1515 submitted by zas.

          GitHub Bot added a comment - See code changes in pull request #1515 submitted by zas .

          Zas added a comment -

          Thanks for the debug log, it helps.

          {{
          D: 18:12:01,232 coverart.next_in_queue:204: Downloading CaaThumbnailCoverArtImage(url='h', types=['booklet'], support_types=True, support_multi_types=True, is_front=False)
          D: 18:12:01,232 webservice.ratecontrol._out_of_backoff:229: ('ia800305.us.archive.org', 80): oobackoff; delay: 1000ms -> 1000ms; slow start; window size 1.000 -> 2.000
          D: 18:12:01,233 webservice.ratecontrol.get_delay_to_next_request:113: ('', 80): First request
          D: 18:12:01,234 webservice.ratecontrol.increment_requests:138: ('', 80): Incrementing requests to: 1
          D: 18:12:01,235 webservice.ratecontrol.decrement_requests:146: ('', 80): Decrementing requests to: 0
          E: 18:12:01,236 webservice._handle_reply:396: Network request error for : Host not found (QT code 3, HTTP code 0)
          E: 18:12:01,236 album.error_append:278: Coverart error: Host not found
          }}

          url='h' is the reason it fails.

          Zas added a comment - Thanks for the debug log, it helps. {{ D: 18:12:01,232 coverart.next_in_queue:204: Downloading CaaThumbnailCoverArtImage(url='h', types= ['booklet'] , support_types=True, support_multi_types=True, is_front=False) D: 18:12:01,232 webservice.ratecontrol._out_of_backoff:229: ('ia800305.us.archive.org', 80): oobackoff; delay: 1000ms -> 1000ms; slow start; window size 1.000 -> 2.000 D: 18:12:01,233 webservice.ratecontrol.get_delay_to_next_request:113: ('', 80): First request D: 18:12:01,234 webservice.ratecontrol.increment_requests:138: ('', 80): Incrementing requests to: 1 D: 18:12:01,235 webservice.ratecontrol.decrement_requests:146: ('', 80): Decrementing requests to: 0 E: 18:12:01,236 webservice._handle_reply:396: Network request error for : Host not found (QT code 3, HTTP code 0) E: 18:12:01,236 album.error_append:278: Coverart error: Host not found }} url='h' is the reason it fails.

            zas Zas
            meeotch mitch deoudes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package
                2.3.2