View Single Post
Old 01-11-2020, 01:52 AM   #22
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,761
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@davidfor - when you add a book from an ISBN and it does the Ctrl+D style download and then fails, then there's no View Log option and the error detail is very sparse

calibre, version 4.8.0
ERROR: Download failed: Failed to download metadata or cover for the selected book.
Unknown (Failed metadata) (Failed cover)

One only gets a View Log button if something is found, I had to salvage this from ...\Temp\calibre_yohscz

Spoiler:

#################### Log for Unknown ####################
Running identify query with parameters:
{u'identifiers': {u'isbn': u'9788558890243'}, u'timeout': 30, u'title': None, u'authors': None}
Using plugins: Google (1, 0, 1), Amazon.com (1, 2, 11)
The log from individual plugins is below

****************************** Google (1, 0, 1) ******************************
Found 0 results
Downloading from Google took 0.695000171661
Making query: https://books.google.com/books/feeds...&start-index=1

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

****************************** Amazon.com (1, 2, 11) ******************************
Found 0 results
Downloading from Amazon.com took 1.49599981308
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36
Server: auto
Making google query: https://www.google.com/search?q=%289...www.amazon.com
Ignoring u'A Impossivel Faca da Memoria (Em Portugues do Brasil ...https://www.amazon.com \u203a Impossivel-Faca-Memoria-P...' as it has no cached page
Failed to find any results on results page, with title: (9788558890243 or 978-8558890243) site:www.amazon.com - Google Search
No search engine results for terms: (9788558890243 OR 978-8558890243)
Trying the bing search engine instead
Making bing query: https://www.bing.com/search?q=%28978...www.amazon.com
Failed to find any results on results page, with title: (9788558890243 or 978-8558890243) site:www.amazon.com - Bing
No search engine results for terms: (9788558890243 OR 978-8558890243)
No matches found with query: [u'(9788558890243', u'OR', u'978-8558890243)']

************************************************** ******************************
The identify phase took 1.61 seconds
The longest time (1.496000) was taken by: Amazon.com
Merging results from different sources
We have 0 merged results, merging took: 0.00 seconds
Failed to download metadata for Unknown

****************************** Google Covers ******************************
Request extra headers: [(u'User-agent', u'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36')]
Failed to download valid cover
Took 1.44800019264 seconds
No cached cover found, running identify
Making query: https://books.google.com/books/feeds...&start-index=1
No cover found

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

****************************** Amazon.com Covers ******************************
Request extra headers: [(u'User-agent', u'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36'), (u'Accept', u'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'), (u'Upgrade-insecure-requests', u'1'), (u'Referer', u'https://www.bing.com/search?q=%289788558890243+or+978-8558890243%29+site%3Awww.amazon.com')]
Failed to download valid cover
Took 2.21199989319 seconds
No cached cover found, running identify
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36
Server: auto
Making google query: https://www.google.com/search?q=%289...www.amazon.com
Ignoring u'A Impossivel Faca da Memoria (Em Portugues do Brasil ...https://www.amazon.com \u203a Impossivel-Faca-Memoria-P...' as it has no cached page
Failed to find any results on results page, with title: (9788558890243 or 978-8558890243) site:www.amazon.com - Google Search
No search engine results for terms: (9788558890243 OR 978-8558890243)
Trying the bing search engine instead
Making bing query: https://www.bing.com/search?q=%28978...www.amazon.com
Failed to find any results on results page, with title: (9788558890243 or 978-8558890243) site:www.amazon.com - Bing
No search engine results for terms: (9788558890243 OR 978-8558890243)
No matches found with query: [u'(9788558890243', u'OR', u'978-8558890243)']
No cover found

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

****************************** Open Library Covers ******************************
Request extra headers: [(u'User-agent', u'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36')]
Failed to download valid cover
Took 2.36600017548 seconds
No cover for ISBN: u'9788558890243' found

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

According to that it's finding the book at Amazon but it ignores it because there's there is 'no cached page' - I assume that's a cache on the server side.

BR
BetterRed is offline   Reply With Quote