Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error received - attempt 3 [book borrowed] #5

Open
seasaltseasalt opened this issue Mar 10, 2021 · 1 comment
Open

error received - attempt 3 [book borrowed] #5

seasaltseasalt opened this issue Mar 10, 2021 · 1 comment

Comments

@seasaltseasalt
Copy link

seasaltseasalt commented Mar 10, 2021

Hello
I still have not managed to get title successful. I must be doing something stupid. Can you please lmk how I can test i have set up correctly.

Steps performed
1 Borrowed book as normal in account
2 In terminal ran the ripper.py script

i entered book ID
ii entered login credentials
script runs then returns error in terminal

Traceback (most recent call last):
File "/Users/xx/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 706, in urlopen
chunked=chunked,
File "/Users/xx/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/Users/xx/Library/Python/3.7/lib/python/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1336, in getresponse
response.begin()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 306, in begin
version, status, reason = self._read_status()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 275, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred...

[error continued][then at end]

Traceback (most recent call last):
File "ripper.py", line 101, in
main()
File "ripper.py", line 54, in main
page_count = client.fetch_book_metadata()
File "/Users/xx/D/MAC/api.py", line 106, in fetch_book_metadata
res = self.session.get(self.URL_FORMAT % ('details/' + self.book_id))
File "/Users/xx/Library/Python/3.7/lib/python/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/Users/xx/Library/Python/3.7/lib/python/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/Users/xx/Library/Python/3.7/lib/python/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/Users/xx/Library/Python/3.7/lib/python/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

thankyou

@birchish
Copy link

birchish commented Apr 6, 2022

This problem seems to happen for me when I try to use my web-browser and this at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants