"KeyError" during search cover in the "Google Images Covers"

Bug #1577036 reported by Kirill Kuzminykh on 2016-04-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Here is the log for error:

Starting cover download for: Мост через вечность
Query: Мост через вечность [u'\u0420\u0438\u0447\u0430\u0440\u0434 \u0414\u044d\u0432\u0438\u0441 \u0411\u0430\u0445'] {}

****************************** Google Covers ******************************

****************************** Google Images Covers ******************************
Request extra headers: [('User-agent', u'Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0')]
Failed to download valid cover
Took 0.0316181182861 seconds
Failed to download cover from Google Images
Traceback (most recent call last):
  File "site-packages/calibre/ebooks/metadata/sources/covers.py", line 43, in run
  File "site-packages/calibre/ebooks/metadata/sources/google_images.py", line 47, in download_cover
  File "site-packages/calibre/ebooks/metadata/sources/google_images.py", line 62, in get_image_urls
  File "urllib.py", line 1299, in quote_plus
  File "urllib.py", line 1294, in quote
KeyError: u'\u041c'

Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers