Errors from audible #11
Unanswered
CedricPelchat
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting a lot of errors and no books are getting tagged. I'm not using latest version since it was missing some packages. I'm using amd64-1.6.0-ls150. Here is the console output:
Error: MusicBrainz not reachable in release search with query {'release': "gravity's rainbow", 'artist': 'thomas pynchon', 'tracks': '1'}
audible: Error while fetching book information from Audnex
Traceback (most recent call last):
File "/usr/lib/python3.9/urllib/request.py", line 1346, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.9/http/client.py", line 1285, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1331, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1280, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1040, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 980, in send
self.connect()
File "/usr/lib/python3.9/http/client.py", line 1447, in connect
super().connect()
File "/usr/lib/python3.9/http/client.py", line 946, in connect
self.sock = self._create_connection(
File "/usr/lib/python3.9/socket.py", line 823, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib/python3.9/socket.py", line 954, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/plugins/audible/audible.py", line 255, in get_albums
return [self.get_album_info(p["asin"]) for p in products_without_unreleased_entries]
File "/plugins/audible/audible.py", line 255, in
return [self.get_album_info(p["asin"]) for p in products_without_unreleased_entries]
File "/plugins/audible/audible.py", line 264, in get_album_info
(book, chapters) = get_book_info(asin)
File "/plugins/audible/api.py", line 24, in get_book_info
book_response = json.loads(make_request(f"{AUDNEX_ENDPOINT}/books/{asin}"))
File "/plugins/audible/api.py", line 42, in make_request
with request.urlopen(req) as response:
File "/usr/lib/python3.9/urllib/request.py", line 214, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.9/urllib/request.py", line 517, in open
response = self._open(req, data)
File "/usr/lib/python3.9/urllib/request.py", line 534, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain
result = func(*args)
File "/usr/lib/python3.9/urllib/request.py", line 1389, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.9/urllib/request.py", line 1349, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -3] Try again>
Also, sometimes audible gives : Could not connect to audible API while searching for {book}.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions