View Single Post
Old 12-07-2021, 04:42 AM   #6
claus0731
Junior Member
claus0731 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2021
Location: Germany
Device: iPad Pro
Rebooted in safe mode and tried again. Same problem with a slightly different error message. It's now an error in the socket library and [Errno 11003] instead of [WinError 10054].

Trying both URLs https://books.google.com/books/feeds...ewability=none and https://www.google.com/search?q=3658...Awww.amazon.de in a browser (Chrome) - works perfectly fine.

I also de-installed all various versions of Python (Anaconda, Python 3.8.5 and Python 3.10.0) from the computer, removed all PATH settings and reinstalled Calibre 5.33.2 again - with a restart after every task. No change. Disabled again Kaspersky and Windows Defender Firewall - also no change.

Running out of ideas...

Code:
calibre, version 5.33.2
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: 
{'title': 'Strategische Positionierung und Kundenzufriedenheit', 'authors': ['Armin Töpfer'], 'identifiers': {'isbn': '9783658320188', 'amazon_de': '3658320184'}, 'timeout': 30} 
Using plugins: Google (1, 0, 3), Amazon.com (1, 2, 21) 
The log from individual plugins is below 

****************************** Google (1, 0, 3) ****************************** 
Found 0 results 
Downloading from Google took 0.05317187309265137 
Making query: https://books.google.com/books/feeds/volumes?q=isbn%3A9783658320188&max-results=20&start-index=1&min-viewability=none
Failed to make identify query: 'https://books.google.com/books/feeds/volumes?q=isbn%3A9783658320188&max-results=20&start-index=1&min-viewability=none'
Traceback (most recent call last):
  File "mechanize\_urllib2_fork.py", line 1236, in do_open
  File "http\client.py", line 1255, in request
  File "http\client.py", line 1301, in _send_request
  File "http\client.py", line 1250, in endheaders
  File "http\client.py", line 1010, in _send_output
  File "http\client.py", line 950, in send
  File "http\client.py", line 1417, in connect
  File "http\client.py", line 921, in connect
  File "socket.py", line 787, in create_connection
  File "socket.py", line 918, in getaddrinfo
socket.gaierror: [Errno 11003] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\ebooks\metadata\sources\google.py", line 374, in make_query
  File "mechanize\_mechanize.py", line 241, in open_novisit
  File "mechanize\_mechanize.py", line 287, in _mech_open
  File "mechanize\_opener.py", line 193, in open
  File "mechanize\_urllib2_fork.py", line 425, in _open
  File "mechanize\_urllib2_fork.py", line 414, in _call_chain
  File "calibre\utils\browser.py", line 29, in https_open
  File "mechanize\_urllib2_fork.py", line 1240, in do_open
urllib.error.URLError: <urlopen error [Errno 11003] getaddrinfo failed> 

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

****************************** Amazon.com (1, 2, 21) ****************************** 
Found 0 results 
Downloading from Amazon.com took 0.05317187309265137 
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36
Server: auto
Making google query: https://www.google.com/search?q=3658320184+site%3Awww.amazon.de
Plugin Amazon.com failed
Traceback (most recent call last):
  File "mechanize\_urllib2_fork.py", line 1236, in do_open
  File "http\client.py", line 1255, in request
  File "http\client.py", line 1301, in _send_request
  File "http\client.py", line 1250, in endheaders
  File "http\client.py", line 1010, in _send_output
  File "http\client.py", line 950, in send
  File "http\client.py", line 1417, in connect
  File "http\client.py", line 921, in connect
  File "socket.py", line 787, in create_connection
  File "socket.py", line 918, in getaddrinfo
socket.gaierror: [Errno 11003] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\ebooks\metadata\sources\identify.py", line 46, in run
  File "calibre\ebooks\metadata\sources\amazon.py", line 1489, in identify
  File "calibre\ebooks\metadata\sources\amazon.py", line 1422, in search_search_engine
  File "calibre\ebooks\metadata\sources\search_engines.py", line 288, in google_search
  File "calibre\ebooks\metadata\sources\search_engines.py", line 68, in query
  File "mechanize\_mechanize.py", line 241, in open_novisit
  File "mechanize\_mechanize.py", line 287, in _mech_open
  File "mechanize\_opener.py", line 193, in open
  File "mechanize\_urllib2_fork.py", line 425, in _open
  File "mechanize\_urllib2_fork.py", line 414, in _call_chain
  File "calibre\utils\browser.py", line 29, in https_open
  File "mechanize\_urllib2_fork.py", line 1240, in do_open
urllib.error.URLError: <urlopen error [Errno 11003] getaddrinfo failed> 

******************************************************************************** 
The identify phase took 0.21 seconds 
The longest time (0.053172) was taken by: Google 
Merging results from different sources 
We have 0 merged results, merging took: 0.00 seconds
claus0731 is offline   Reply With Quote