Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-06-2014, 01:37 AM   #1
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Failing to download covers?

I cannot download any book covers all of a sudden:

Code:
#################### Log for Mean Streets ####################

****************************** Amazon.com Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.2; rv:9.0.1) Gecko/20100101 Firefox/9.0.1')] 
Failed to download valid cover 
Took 9.6782271862 seconds 
No cached cover found, running identify
Found image: 
data:image/jpeg;base64,<encoded-image-way-too-long-to-paste-here>



No cover found 

******************************************************************************** 

****************************** Open Library Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.78 Safari/532.5')] 
Failed to download valid cover 
Took 2.00271606445e-05 seconds 

******************************************************************************** 

****************************** Overdrive Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')] 
Failed to download valid cover 
Took 30.293432951 seconds 
No cached cover found, running identify
Initial query is Jim Butcher
Cross reference query is Streets
No cover found 

******************************************************************************** 

#################### Log for Halo: The Cole Protocol ####################

****************************** Amazon.com Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.2; rv:9.0.1) Gecko/20100101 Firefox/9.0.1')] 
Failed to download valid cover 
Took 27.0491888523 seconds 
No cached cover found, running identify
Found image: 
data:image/jpeg;base64,<encoded-image-way-too-long-to-paste-here>




 



No cover found 

******************************************************************************** 

****************************** Open Library Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.78 Safari/532.5')] 
Failed to download valid cover 
Took 2.31266021729e-05 seconds 

******************************************************************************** 

****************************** Overdrive Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')] 
Failed to download valid cover 
Took 2.97525882721 seconds 
No cached cover found, running identify
Initial query is Tobias Buckell
Cross reference query is Halo
No cover found 

******************************************************************************** 

#################### Log for Halo: Evolutions: Essential Tales of the Halo Universe ####################

****************************** Amazon.com Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.2; rv:9.0.1) Gecko/20100101 Firefox/9.0.1')] 
Failed to download valid cover 
Took 12.0288279057 seconds 
No cached cover found, running identify
Found image: 
data:image/jpeg;base64,<encoded-image-way-too-long-to-paste-here>




 



No cover found 

******************************************************************************** 

****************************** Open Library Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.78 Safari/532.5')] 
Failed to download valid cover 
Took 0.500153064728 seconds 
No cover for ISBN: u'9780765323996' found 

******************************************************************************** 

****************************** Overdrive Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')] 
Failed to download valid cover 
Took 6.53006100655 seconds 
No cached cover found, running identify
Initial query is Tobias Buckell
Cross reference query is Halo
No cover found 

********************************************************************************
And

Code:
#################### Log for The Name of the Wind ####################

****************************** Google Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.2; rv:9.0.1) Gecko/20100101 Firefox/9.0.1')] 
Failed to download valid cover 
Took 26.0980379581 seconds 
No cached cover found, running identify
Failed to get additional details for The Name of the Wind: Day One
Traceback (most recent call last):
  File "/home/eschwartz/git/calibre/src/calibre/ebooks/metadata/sources/google.py", line 87, in to_metadata
    raw = get_details(browser, id_url, timeout)
  File "/home/eschwartz/git/calibre/src/calibre/ebooks/metadata/sources/google.py", line 30, in get_details
    raw = browser.open_novisit(url, timeout=timeout).read()
  File "site-packages/mechanize/_mechanize.py", line 199, in open_novisit
  File "site-packages/mechanize/_mechanize.py", line 230, in _mech_open
  File "site-packages/mechanize/_opener.py", line 193, in open
  File "site-packages/mechanize/_urllib2_fork.py", line 344, in _open
  File "site-packages/mechanize/_urllib2_fork.py", line 332, in _call_chain
  File "site-packages/mechanize/_urllib2_fork.py", line 1142, in http_open
  File "site-packages/mechanize/_urllib2_fork.py", line 1118, in do_open
URLError: <urlopen error [Errno -2] Name or service not known>

Failed to get metadata for identify entry: <entry xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:gbs="http://schemas.google.com/books/2008" xmlns:dc="http://purl.org/dc/terms" xmlns:batch="http://schemas.google.com/gdata/batch" xmlns:gd="http://schemas.google.com/g/2005"><id>http://www.google.com/books/feeds/volumes/zanWngEACAAJ</id><updated>2014-08-06T05:19:21.000Z</updated><category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/books/2008#volume"/><title type="text">The Name of the Wind</title><link rel="http://schemas.google.com/books/2008/thumbnail" type="image/x-unknown" href="http://bks5.books.google.com/books?id=zanWngEACAAJ&amp;printsec=frontcover&amp;img=1&amp;zoom=5&amp;source=gbs_gdata"/><link rel="http://schemas.google.com/books/2008/info" type="text/html" href="http://books.google.com/books?id=zanWngEACAAJ&amp;dq=intitle:Name+intitle:of+intitle:Wind%2Binauthor:Patrick+inauthor:Rothfuss&amp;as_brr=0&amp;ie=ISO-8859-1&amp;source=gbs_gdata"/><link rel="http://schemas.google.com/books/2008/preview" type="text/html" href="http://books.google.com/books?id=zanWngEACAAJ&amp;dq=intitle:Name+intitle:of+intitle:Wind%2Binauthor:Patrick+inauthor:Rothfuss&amp;as_brr=0&amp;ie=ISO-8859-1&amp;cd=1&amp;source=gbs_gdata"/><link rel="http://schemas.google.com/books/2008/annotation" type="application/atom+xml" href="http://www.google.com/books/feeds/users/me/volumes"/><link rel="alternate" type="text/html" href="http://books.google.com/books?id=zanWngEACAAJ&amp;dq=intitle:Name+intitle:of+intitle:Wind%2Binauthor:Patrick+inauthor:Rothfuss&amp;as_brr=0&amp;ie=ISO-8859-1"/><link rel="self" type="application/atom+xml" href="http://www.google.com/books/feeds/volumes/zanWngEACAAJ"/><gbs:contentVersion>preview-1.0.0</gbs:contentVersion><gbs:embeddability value="http://schemas.google.com/books/2008#not_embeddable"/><gbs:openAccess value="http://schemas.google.com/books/2008#disabled"/><gbs:viewability value="http://schemas.google.com/books/2008#view_no_pages"/><dc:creator>Patrick Rothfuss</dc:creator><dc:date>2008-10-08</dc:date><dc:description>A hero named Kvothe, now living under an assumed name as the humble proprietor of an inn, recounts his transformation from a magically gifted young man into the most notorious wizard, musician, thief, and assassin in his world. Reprint.</dc:description><dc:format>722 pages</dc:format><dc:format>book</dc:format><dc:identifier>zanWngEACAAJ</dc:identifier><dc:identifier>ISBN:1439560803</dc:identifier><dc:identifier>ISBN:9781439560808</dc:identifier><dc:language>en</dc:language><dc:subject>Fiction</dc:subject><dc:title>The Name of the Wind</dc:title><dc:title>Day One</dc:title></entry>
Traceback (most recent call last):
  File "/home/eschwartz/git/calibre/src/calibre/ebooks/metadata/sources/google.py", line 277, in get_all_details
    if ans.has_google_cover:
  File "/home/eschwartz/git/calibre/src/calibre/ebooks/metadata/book/base.py", line 149, in __getattribute__
    'Metadata object has no attribute named: '+ repr(field))
AttributeError: Metadata object has no attribute named: 'has_google_cover'

No cover found 

******************************************************************************** 

****************************** Amazon.com Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')] 
Failed to download valid cover 
Took 31.4669120312 seconds 
No cached cover found, running identify
Failed to make identify query: u'http://www.amazon.com/s/?sort=relevanceexprank&search-alias=aps&field-keywords=B0010SKUYM&unfiltered=1'
Traceback (most recent call last):
  File "/home/eschwartz/git/calibre/src/calibre/ebooks/metadata/sources/amazon.py", line 909, in identify
    raw = br.open_novisit(query, timeout=timeout).read().strip()
  File "site-packages/mechanize/_mechanize.py", line 199, in open_novisit
  File "site-packages/mechanize/_mechanize.py", line 230, in _mech_open
  File "site-packages/mechanize/_opener.py", line 204, in open
  File "site-packages/mechanize/_gzip.py", line 102, in http_response
  File "site-packages/mechanize/_gzip.py", line 76, in __init__
  File "socket.py", line 351, in read
  File "httplib.py", line 543, in read
  File "httplib.py", line 585, in _read_chunked
  File "socket.py", line 476, in readline
timeout: timed out

No cover found 

******************************************************************************** 

****************************** Open Library Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.2; rv:9.0.1) Gecko/20100101 Firefox/9.0.1')] 
Failed to download valid cover 
Took 7.10487365723e-05 seconds 

******************************************************************************** 

****************************** Overdrive Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.2; rv:9.0.1) Gecko/20100101 Firefox/9.0.1')] 
Failed to download valid cover 
Took 2.23298788071 seconds 
No cached cover found, running identify
Initial query is Patrick Rothfuss
Cross reference query is Name
No cover found 

********************************************************************************
It works just fine when I download metadata or metadata+covers.
eschwartz is offline   Reply With Quote
Old 08-06-2014, 01:59 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,744
Karma: 22446736
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Works for me: Edit metadata->Download cover
kovidgoyal is online now   Reply With Quote
Advert
Old 08-06-2014, 11:59 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I will assume gremlins -- it magically started working again.
eschwartz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
download of wsj failing amritsari Calibre 4 09-06-2012 05:53 PM
Book repeatedly failing to download on iOS Cameronpaterson Kobo Reader 8 05-14-2012 03:21 PM
Psychology today news feed failing to download Shuichiro Recipes 1 05-14-2011 05:11 AM
Guardian scheduled download failing nickd Recipes 2 04-10-2011 04:35 AM
Failing to download Slate shoukyd Calibre 2 04-02-2010 11:46 PM


All times are GMT -4. The time now is 11:56 PM.


MobileRead.com is a privately owned, operated and funded community.