View Single Post
Old 08-11-2017, 08:53 PM   #1
JustChris
Junior Member
JustChris began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2017
Device: Kindle Paperwhite
Metadata update via Amazon fails after repeated uses

I'm updating over 400 books metadata. Seems like after 40 or so Amazon barfs and stops giving me the result. Wait a couple of hours and it's working again.

I've closed and reopened program no difference. Can still access Amazon via Chrome.

I'm assuming Amazon is shutting down access because of the repeated quick hits on the address.

This happens with metadata queries that I just pulled from Amazon, so I know it's there.

Here's the log

calibre, version 3.6.0
ERROR: No matches found: <p>Failed to find any books that match your search. Try making the search <b>less specific</b>. For example, use only the author's last name and a single distinctive word from the title.<p>To see the full log, click "Show details".

Running identify query with parameters:
{u'authors': [u'Andrew E. Kaufman'], u'identifiers': {u'mobi-asin': u'B00AEESN60'}, u'title': u'The Lion, The Lamb, The Hunted (A Patrick Bannister Psychological Thriller Book 1)', u'timeout': 30}
Using plugins: Amazon.com (1, 2, 0)
The log from individual plugins is below

****************************** Amazon.com (1, 2, 0) ******************************
Found 0 results
Downloading from Amazon.com took 4.80700016022
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36
Server: auto
Making google query: https://www.google.com/search?q=Lion...www.amazon.com
Ignoring u'The Lion, The Lamb, The Hunted (A Patrick Bannister Psychological ...' as it has no cached page
Getting details from: https://webcache.googleusercontent.c...&ct=clnk&gl=us
Failed to make details query: 'https://webcache.googleusercontent.com/search?q=cache:FiiPkjeZ5nsJ:https://www.amazon.com/Hunted-Patric...&ct=clnk&gl=us'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 50, in parse_details_page
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 310, in _mech_open
httperror_seek_wrapper: HTTP Error 503: Service Unavailable

get_details failed for url: 'https://webcache.googleusercontent.com/search?q=cache:FiiPkjeZ5nsJ:https://www.amazon.com/Hunted-Patric...&ct=clnk&gl=us'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 321, in run
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 328, in get_details
TypeError: 'NoneType' object is not iterable

Getting details from: https://webcache.googleusercontent.c...&ct=clnk&gl=us
Failed to make details query: 'https://webcache.googleusercontent.com/search?q=cache:2kjUEC0nSsIJ:https://www.amazon.com/Hunted-Patric...&ct=clnk&gl=us'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 50, in parse_details_page
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 310, in _mech_open
httperror_seek_wrapper: HTTP Error 503: Service Unavailable

get_details failed for url: 'https://webcache.googleusercontent.com/search?q=cache:2kjUEC0nSsIJ:https://www.amazon.com/Hunted-Patric...&ct=clnk&gl=us'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 321, in run
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 328, in get_details
TypeError: 'NoneType' object is not iterable

Getting details from: https://webcache.googleusercontent.c...&ct=clnk&gl=us
Failed to make details query: 'https://webcache.googleusercontent.com/search?q=cache:T4sqYpYeIoIJ:https://www.amazon.com/Hunted-Patric...&ct=clnk&gl=us'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 50, in parse_details_page
File "site-packages\mechanize\_mechanize.py", line 239, in open_novisit
File "site-packages\mechanize\_mechanize.py", line 310, in _mech_open
httperror_seek_wrapper: HTTP Error 503: Service Unavailable

get_details failed for url: 'https://webcache.googleusercontent.com/search?q=cache:T4sqYpYeIoIJ:https://www.amazon.com/Hunted-Patric...&ct=clnk&gl=us'
Traceback (most recent call last):
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 321, in run
File "site-packages\calibre\ebooks\metadata\sources\amazon.py ", line 328, in get_details
TypeError: 'NoneType' object is not iterable

************************************************** ******************************
The identify phase took 4.81 seconds
The longest time (4.807000) was taken by: Amazon.com
Merging results from different sources and finding earliest publication dates from the worldcat.org service
We have 0 merged results, merging took: 0.00 seconds
JustChris is offline   Reply With Quote