traceback when searching amazon.com

Bug #1849400 reported by Jamie Cooper on 2019-10-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

calibre, version 4.2.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'Jana DeLeon'], u'title': u'Swamp Santa', u'identifiers': {}, u'timeout': 30}
Using plugins: Google (1, 0, 0), Amazon.com (1, 2, 10), Edelweiss (2, 0, 1), Overdrive (1, 0, 1)
The log from individual plugins is below

****************************** Google (1, 0, 0) ******************************
Found 0 results
Downloading from Google took 0.664999961853
Making query: https://books.google.com/books/feeds/volumes?start-index=1&max-results=20&min-viewability=none&q=intitle%3ASwamp+intitle%3ASanta%2Binauthor%3AJana+inauthor%3ADeLeon

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

****************************** Amazon.com (1, 2, 10) ******************************
Found 0 results
Downloading from Amazon.com took 4.72399997711
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
Server: auto
Making google query: https://www.google.com/search?q=Swamp+Santa+Jana+DeLeon+site%3Awww.amazon.com
Ignoring u'Just the Pits: Hetta Coffey, Book 5 (Audible ... - Amazon.comhttps://www.amazon.com \u203a Just-Pits-Hetta-Coffey-Book' as it has no cached page
Ignoring u'Agent Carter: Books - Amazon.comhttps://www.amazon.com \u203a Agent-Carter-Books' as it has no cached page
Ignoring u'BobCat - Romance / Kindle eBooks: Kindle Store - Amazon.comhttps://www.amazon.com \u203a BobCat-Romance-Kindle-eBooks' as it has no cached page
Ignoring u"bobcat - Contemporary / Women's Fiction: Books - Amazon.comhttps://www.amazon.com \u203a bobcat-Contemporary-Womens-Fiction" as it has no cached page
Ignoring u'Ellen Byron - Amazon.comhttps://www.amazon.com \u203a Ellen-Byron' as it has no cached page
Skipping non-book result: Result(url='https://www.amazon.com/Mystery-Thrillers-Books/b?ie=UTF8&node=10457', title=u'Mystery - Mystery, Thriller & Suspense: Books ... - Amazon.comhttps://www.amazon.com \u203a Mystery-Thrillers-Books', cached_url='https://webcache.googleusercontent.com/search?q=cache:BypFB84L314J:https://www.amazon.com/Mystery-Thrillers-Books/b%3Fie%3DUTF8%26node%3D10457+&cd=1&hl=en&ct=clnk&gl=us')
Skipping non-book result: Result(url='https://www.amazon.com/Mystery-Thrillers-Books/b?ie=UTF8&node=18', title=u'Mystery, Thriller & Suspense: Books: Thrillers ... - Amazon.comhttps://www.amazon.com \u203a Mystery-Thrillers-Books', cached_url='https://webcache.googleusercontent.com/search?q=cache:--eLrM_sOdoJ:https://www.amazon.com/Mystery-Thrillers-Books/b%3Fie%3DUTF8%26node%3D18+&cd=2&hl=en&ct=clnk&gl=us')
Skipping non-book result: Result(url='https://www.amazon.com/books-used-books-textbooks/b?ie=UTF8&node=283155', title=u'Books - Amazon.comhttps://www.amazon.com \u203a books-used-books-textbooks', cached_url='https://webcache.googleusercontent.com/search?q=cache:mApw9zMBOqoJ:https://www.amazon.com/books-used-books-textbooks/b%3Fie%3DUTF8%26node%3D283155+&cd=15&hl=en&ct=clnk&gl=us')
Getting details from: https://webcache.googleusercontent.com/search?q=cache:CW23YsBWDRYJ:https://www.amazon.com/Christmas-Mystery-Short-Story/dp/B00VLEN7EA+&cd=16&hl=en&ct=clnk&gl=us
Found image: https://images-na.ssl-images-amazon.com/images/I/61dp1EFptZL._SX342_.jpg
Error parsing publish date for url: 'https://webcache.googleusercontent.com/search?q=cache:CW23YsBWDRYJ:https://www.amazon.com/Christmas-Mystery-Short-Story/dp/B00VLEN7EA+&cd=16&hl=en&ct=clnk&gl=us'
Traceback (most recent call last):
  File "site-packages\calibre\ebooks\metadata\sources\amazon.py", line 444, in parse_details
  File "site-packages\calibre\ebooks\metadata\sources\amazon.py", line 848, in parse_pubdate
  File "site-packages\calibre\utils\date.py", line 137, in parse_only_date
  File "site-packages\calibre\utils\date.py", line 113, in parse_date
  File "site-packages\dateutil\parser\_parser.py", line 1358, in parse
  File "site-packages\dateutil\parser\_parser.py", line 649, in parse
ValueError: (u'Unknown string format:', u'A.L. Jambor')

Ignoring result: A Christmas Mystery: A Short Story as its title does not match

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

****************************** Overdrive (1, 0, 1) ******************************
Found 0 results
Downloading from Overdrive took 0.938000202179
Initial query is Jana DeLeon
Cross reference query is Swamp

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

****************************** Edelweiss (2, 0, 1) ******************************
Found 0 results
Downloading from Edelweiss took 0.380000114441
Currently Edelweiss returns random books for search queries

********************************************************************************
The identify phase took 4.81 seconds
The longest time (4.724000) was taken by: Amazon.com
Merging results from different sources
We have 0 merged results, merging took: 0.00 seconds

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate 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