Closed ping closed 1 year ago
In the middle of job processing my Calibre suddenly closed by itself.
2 errors today
calibre, version 6.24.0
ERROR: Unhandled exception: <b>ClientBadRequestError</b>: Failed to borrow book
calibre 6.24 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: ACSM Input (0, 1, 0) && DeDRM (10, 0, 3) && ACSM Input Plugin GUI Extension (0, 1, 0) && KindleUnpack - The Plugin (0, 83, 1) && Modify ePub (1, 8, 1) && OverDrive Libby (0, 1, 6)
Traceback (most recent call last):
File "calibre_plugins.overdrive_libby.libby.client", line 500, in send_request
File "urllib\request.py", line 525, in open
File "urllib\request.py", line 634, in http_response
File "urllib\request.py", line 563, in error
File "urllib\request.py", line 496, in _call_chain
File "urllib\request.py", line 643, in http_error_default
urllib.error.HTTPError: HTTP Error 500: Internal Server Error
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "calibre\gui2\threaded_jobs.py", line 82, in start_work
File "calibre_plugins.overdrive_libby.borrow_book", line 37, in __call__
File "calibre_plugins.overdrive_libby.libby.client", line 904, in borrow_media
File "calibre_plugins.overdrive_libby.libby.client", line 878, in borrow_title
File "calibre_plugins.overdrive_libby.libby.client", line 525, in send_request
File "calibre_plugins.overdrive_libby.libby.errors", line 117, in process
calibre_plugins.overdrive_libby.libby.errors.ClientBadRequestError: <calibre_plugins.overdrive_libby.libby.errors.ClientBadRequestError; http_status=500, msg='An unexpected error has occurred. [errorcode: InternalError]', error_response='{"result":"upstream_failure","upstream":{"errorCode":"InternalError","service":"THUNDER","httpStatus":500,"userExplanation":"An unexpected error has occurred.","correlationId":"e3294b2a637e6139e388f360847bf239"}}''>
calibre, version 6.24.0
ERROR: Unhandled exception: <b>ClientConnectionError</b>: Error synchronizing data<p>Check your connection or retry in a few minutes.</p>
calibre 6.24 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: ACSM Input (0, 1, 0) && DeDRM (10, 0, 3) && ACSM Input Plugin GUI Extension (0, 1, 0) && KindleUnpack - The Plugin (0, 83, 1) && Modify ePub (1, 8, 1) && OverDrive Libby (0, 1, 6)
Traceback (most recent call last):
File "urllib\request.py", line 1348, in do_open
File "http\client.py", line 1282, in request
File "http\client.py", line 1328, in _send_request
File "http\client.py", line 1277, in endheaders
File "http\client.py", line 1037, in _send_output
File "http\client.py", line 975, in send
File "http\client.py", line 1454, in connect
File "ssl.py", line 512, in wrap_socket
File "ssl.py", line 1070, in _create
File "ssl.py", line 1341, in do_handshake
FileNotFoundError: [Errno 2] No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "calibre_plugins.overdrive_libby.libby.client", line 500, in send_request
File "urllib\request.py", line 519, in open
File "urllib\request.py", line 536, in _open
File "urllib\request.py", line 496, in _call_chain
File "urllib\request.py", line 1391, in https_open
File "urllib\request.py", line 1351, in do_open
urllib.error.URLError: <urlopen error [Errno 2] No such file or directory>
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "calibre_plugins.overdrive_libby.workers", line 156, in run
File "calibre_plugins.overdrive_libby.libby.client", line 614, in sync
File "calibre_plugins.overdrive_libby.libby.client", line 543, in send_request
calibre_plugins.overdrive_libby.libby.errors.ClientConnectionError: <calibre_plugins.overdrive_libby.libby.errors.ClientConnectionError; http_status=0, msg='URLError <urlopen error [Errno 2] No such file or directory>', error_response='''>`
First error, this looks like an internal problem on the Libby server. There's nothing the plugin can do. You can probably retry.
For the second error, unless it is a persistent problem, there's no need to report ClientConnectionError because like it says in the error pop-up "Check your connection or retry in a few minutes.". This is a connectivity problem between you and the Libby servers which you seem to consistently have.
calibre, version 6.25.0
ERROR: Unhandled exception: <b>TypeError</b>:None is not a unicode string
calibre 6.25 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.10.1
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: ACSM Input (0, 1, 0) && DeDRM (10, 0, 3) && ACSM Input Plugin GUI Extension (0, 1, 0) && KindleUnpack - The Plugin (0, 83, 1) && Modify ePub (1, 8, 1) && OverDrive Libby (0, 1, 7)
Traceback (most recent call last):
File "calibre_plugins.overdrive_libby.models", line 772, in filterAcceptsRow
File "calibre\utils\icu.py", line 191, in change_case
TypeError: None is not a unicode string
Trying to type in something in the Filter bar in Cards tab generates an error.
@ping
overdrive-libby-plugin-a9218ce.zip
Changes from previous test version: