Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-24-2024, 04:46 PM   #211
foosion
Addict
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 356
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
I just got a 403 error downloading a book, after searching for it and borrowing it successfully with the plugin (and downloading the .acsm from libbyapp.com, getting the book with ADE and importing to Calibre). I last borrowed a book with the plugin yesterday.

Code:
calibre, version 7.17.0
ERROR: Unhandled exception: <b>ClientForbiddenError</b>: Failed to download e-book<p>HTTP Error 403: Forbidden</p>

calibre 7.17  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Action Chains (1, 20, 7) && EpubSplit (3, 6, 0) && Find Duplicates (1, 6, 3) && KePub Output (3, 6, 11) && Kindle hi-res covers (0, 5, 1) && Kobo Utilities (2, 17, 1) && KoboTouchExtended (3, 6, 11) && Modify ePub (1, 8, 4) && OverDrive Libby (0, 1, 9) && Reading List (1, 15, 4) && SmartEject (2, 5, 1)
Traceback (most recent call last):
  File "calibre_plugins.overdrive_libby.libby.client", line 520, 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 403: Forbidden

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "calibre\gui2\threaded_jobs.py", line 85, in start_work
  File "calibre_plugins.overdrive_libby.ebook_download", line 50, in __call__
  File "calibre_plugins.overdrive_libby.ebook_download", line 94, in _custom_download
  File "calibre_plugins.overdrive_libby.libby.client", line 808, in fulfill_loan_file
  File "calibre_plugins.overdrive_libby.libby.client", line 540, in send_request
  File "calibre_plugins.overdrive_libby.libby.errors", line 143, in process
calibre_plugins.overdrive_libby.libby.errors.ClientForbiddenError: <calibre_plugins.overdrive_libby.libby.errors.ClientForbiddenError; http_status=403, msg='HTTP Error 403: Forbidden', error_response=' ''>
EDIT: I tried https://gofile.io/d/SJp0r9 (which I had been using) and then https://github.com/sgmoore/libby-cal...es/tag/v0.1.9a

I tried entering a libby code as in #210, but that didn't help.

Last edited by foosion; 09-24-2024 at 06:42 PM.
foosion is offline   Reply With Quote
Old Yesterday, 12:08 AM   #212
miss_p1nky
Connoisseur
miss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enough
 
Posts: 53
Karma: 636
Join Date: Aug 2022
Location: Indonesia
Device: Moon+ Reader Pro
Quote:
Originally Posted by foosion View Post
I just got a 403 error downloading a book, after searching for it and borrowing it successfully with the plugin (and downloading the .acsm from libbyapp.com, getting the book with ADE and importing to Calibre). I last borrowed a book with the plugin yesterday.

Code:
calibre, version 7.17.0
ERROR: Unhandled exception: <b>ClientForbiddenError</b>: Failed to download e-book<p>HTTP Error 403: Forbidden</p>

calibre 7.17  embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Action Chains (1, 20, 7) && EpubSplit (3, 6, 0) && Find Duplicates (1, 6, 3) && KePub Output (3, 6, 11) && Kindle hi-res covers (0, 5, 1) && Kobo Utilities (2, 17, 1) && KoboTouchExtended (3, 6, 11) && Modify ePub (1, 8, 4) && OverDrive Libby (0, 1, 9) && Reading List (1, 15, 4) && SmartEject (2, 5, 1)
Traceback (most recent call last):
  File "calibre_plugins.overdrive_libby.libby.client", line 520, 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 403: Forbidden

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "calibre\gui2\threaded_jobs.py", line 85, in start_work
  File "calibre_plugins.overdrive_libby.ebook_download", line 50, in __call__
  File "calibre_plugins.overdrive_libby.ebook_download", line 94, in _custom_download
  File "calibre_plugins.overdrive_libby.libby.client", line 808, in fulfill_loan_file
  File "calibre_plugins.overdrive_libby.libby.client", line 540, in send_request
  File "calibre_plugins.overdrive_libby.libby.errors", line 143, in process
calibre_plugins.overdrive_libby.libby.errors.ClientForbiddenError: <calibre_plugins.overdrive_libby.libby.errors.ClientForbiddenError; http_status=403, msg='HTTP Error 403: Forbidden', error_response=' ''>
EDIT: I tried https://gofile.io/d/SJp0r9 (which I had been using) and then https://github.com/sgmoore/libby-cal...es/tag/v0.1.9a

I tried entering a libby code as in #210, but that didn't help.
+1.
Loans & holds still register but downloading doesn't work. I'm currently trying to get the code but may be that won't make much change?
miss_p1nky is offline   Reply With Quote
Old Yesterday, 06:45 AM   #213
foosion
Addict
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 356
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
I tried getting a new token as shown in https://www.mobileread.com/forums/sh...&postcount=140 and that didn't help either.

I can download an acsm file from libbyapp.com, import that to Calibre and the deacsm plugin imports the ebook file.

Last edited by foosion; Yesterday at 07:40 AM.
foosion is offline   Reply With Quote
Old Yesterday, 02:26 PM   #214
Ellsinore
Junior Member
Ellsinore began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2021
Device: None
Can't even get past the setup code. I have no idea what any of this means. Other than, "Oh, no you don't!"

Quote:
calibre, version 7.18.0
ERROR: Unhandled exception: <b>ClientConnectionError</b>:&lt;calibre_plugins.overdrive_libby.libby.error s.ClientConnectionError; http_status=0, msg='URLError &lt;urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:1006)&gt;', error_response='''&gt;

calibre 7.18 embedded-python: True
Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19045')
Python 3.11.5
Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: DeDRM (7, 2, 1) && Goodreads (1, 8, 2) && Goodreads Sync (1, 16, 8) && OverDrive Libby (0, 1, 9)
Traceback (most recent call last):
File "urllib\request.py", line 1348, in do_open
File "http\client.py", line 1286, in request
File "http\client.py", line 1332, in _send_request
File "http\client.py", line 1281, in endheaders
File "http\client.py", line 1041, in _send_output
File "http\client.py", line 979, in send
File "http\client.py", line 1458, in connect
File "ssl.py", line 517, in wrap_socket
File "ssl.py", line 1108, in _create
File "ssl.py", line 1379, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre_plugins.overdrive_libby.libby.client" , line 518, 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 [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:1006)>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "calibre_plugins.overdrive_libby.action", line 133, in <lambda>
File "calibre\customize\__init__.py", line 188, in do_user_config
File "calibre_plugins.overdrive_libby.__init__", line 104, in save_settings
File "calibre_plugins.overdrive_libby.config", line 947, in save_settings
File "calibre_plugins.overdrive_libby.libby.client" , line 593, in get_chip
File "calibre_plugins.overdrive_libby.libby.client" , line 556, in send_request
calibre_plugins.overdrive_libby.libby.errors.Clien tConnectionError: <calibre_plugins.overdrive_libby.libby.errors.Clie ntConnectionError; http_status=0, msg='URLError <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'sentry-read.svc.overdrive.com'. (_ssl.c:1006)>', error_response='''>
Ellsinore is offline   Reply With Quote
Old Yesterday, 03:56 PM   #215
danamr
Member
danamr began at the beginning.
 
Posts: 22
Karma: 20
Join Date: Feb 2009
Device: KINDLE
Same error here.
I am on a Mac. I see Libby has changed how it generates codes, and now uses a "Passkey".
danamr is offline   Reply With Quote
Old Yesterday, 03:58 PM   #216
danamr
Member
danamr began at the beginning.
 
Posts: 22
Karma: 20
Join Date: Feb 2009
Device: KINDLE
I have the same error message in calibre. Using a Mac. It appears there is a work-around for Windows.
danamr is offline   Reply With Quote
Old Yesterday, 05:12 PM   #217
foosion
Addict
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 356
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by Ellsinore View Post
Can't even get past the setup code. I have no idea what any of this means. Other than, "Oh, no you don't!"
You do not appear to have the latest version of the plugin, since the overdrive domain was changed to a libby domain. Also you have to use a browser to get a token rather than just using the setup code (or at least I and others had to). Read back through recent comments for a link to the latest version, other setup info and a current issue.
foosion is offline   Reply With Quote
Old Yesterday, 06:23 PM   #218
Ellsinore
Junior Member
Ellsinore began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2021
Device: None
Quote:
Originally Posted by foosion View Post
You do not appear to have the latest version of the plugin, since the overdrive domain was changed to a libby domain.
I installed it a few hours ago. Is that not the latest verion?

Quote:
Also you have to use a browser to get a token rather than just using the setup code (or at least I and others had to).
The plugin asks for the setup code. Is that NOT what I'm looking for? I followed the Libby instructions to obtain the code.

Quote:
Read back through recent comments for a link to the latest version, other setup info and a current issue.
So the plugin I installed today is not current?
Ellsinore is offline   Reply With Quote
Old Today, 12:26 AM   #219
miss_p1nky
Connoisseur
miss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enoughmiss_p1nky will become famous soon enough
 
Posts: 53
Karma: 636
Join Date: Aug 2022
Location: Indonesia
Device: Moon+ Reader Pro
Quote:
Originally Posted by Ellsinore View Post
I installed it a few hours ago. Is that not the latest verion?

The plugin asks for the setup code. Is that NOT what I'm looking for? I followed the Libby instructions to obtain the code.

So the plugin I installed today is not current?
There has been updates done to Libby app by their team so there has been few workarounds given by people who managed to find out how to solve it. I suggest you read carefully the last several pages. However it's broken again as per Sept 25 so it's moot to try to install it anyway.
miss_p1nky is offline   Reply With Quote
Old Today, 04:44 AM   #220
sgmoore
Connoisseur
sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.sgmoore ought to be getting tired of karma fortunes by now.
 
Posts: 90
Karma: 503050
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by Ellsinore View Post

So the plugin I installed today is not current?
Depends on where you installed it from.

Since ping (who wrote this plugin) is not around, the official plugin no longer works and you need to use my patched version from https://github.com/sgmoore/libby-calibre-plugin

This fixes the certificate error, but does not fix other issues. In particular, it does not allow you to download books or magazines and you still need to get the token manually.

Features that still work are - viewing your current loans and holds, searching for books, borrowing, placing holds and returning books.
sgmoore is offline   Reply With Quote
Old Today, 06:38 AM   #221
foosion
Addict
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 356
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by miss_p1nky View Post
There has been updates done to Libby app by their team so there has been few workarounds given by people who managed to find out how to solve it. I suggest you read carefully the last several pages. However it's broken again as per Sept 25 so it's moot to try to install it anyway.
[emphasis added]

I find it useful for searching for books, putting on hold (if applicable) and borrowing.
foosion is offline   Reply With Quote
Old Today, 09:15 AM   #222
lumping-sugar66
Connoisseur
lumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trolls
 
lumping-sugar66's Avatar
 
Posts: 94
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
I'm afraid with both the manual token grabbing and the new patch, the book downloads are back to being unusable. With these patches, I can now see the borrowed books, search for new books (I'm willing to bet borrowing works as well). But after attempting to download a book on loan, it fails with the same message.


Code:
calibre, version 7.10.0
ERROR: Unhandled exception: <b>ClientForbiddenError</b>: Failed to download e-book<p>HTTP Error 403: Forbidden</p>

calibre 7.10  embedded-python: True
Windows-10-10.0.19042-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19042')
Python 3.11.5
Windows: ('10', '10.0.19042', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 9) && Annotations (1, 17, 13) && Count Pages (1, 13, 6) && EpubMerge (3, 2, 0) && EpubSplit (3, 9, 0) && Extract ISBN (1, 6, 5) && Goodreads (1, 8, 2) && Goodreads Sync (1, 16, 8) && KOReader Sync (0, 6, 7) && Kobo Utilities (2, 16, 13) && KoboTouchExtended (3, 6, 7) && OverDrive Libby (0, 1, 9)
Traceback (most recent call last):
  File "calibre_plugins.overdrive_libby.libby.client", line 520, 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 403: Forbidden

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "calibre\gui2\threaded_jobs.py", line 85, in start_work
  File "calibre_plugins.overdrive_libby.ebook_download", line 50, in __call__
  File "calibre_plugins.overdrive_libby.ebook_download", line 94, in _custom_download
  File "calibre_plugins.overdrive_libby.libby.client", line 808, in fulfill_loan_file
  File "calibre_plugins.overdrive_libby.libby.client", line 540, in send_request
  File "calibre_plugins.overdrive_libby.libby.errors", line 143, in process
calibre_plugins.overdrive_libby.libby.errors.ClientForbiddenError: <calibre_plugins.overdrive_libby.libby.errors.ClientForbiddenError; http_status=403, msg='HTTP Error 403: Forbidden', error_response=' ''>
Attached Thumbnails
Click image for larger version

Name:	screenshot.png
Views:	50
Size:	34.1 KB
ID:	211035  
lumping-sugar66 is offline   Reply With Quote
Old Today, 11:11 AM   #223
Ellsinore
Junior Member
Ellsinore began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2021
Device: None
Quote:
Originally Posted by lumping-sugar66 View Post
I'm afraid with both the manual token grabbing and the new patch, the book downloads are back to being unusable.
Since that's exactly what I want it for, I can save some time. Thanks!
Ellsinore is offline   Reply With Quote
Old Today, 11:14 AM   #224
Ellsinore
Junior Member
Ellsinore began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Nov 2021
Device: None
Quote:
Originally Posted by sgmoore View Post
Depends on where you installed it from.

Since ping (who wrote this plugin) is not around, the official plugin no longer works and you need to use my patched version from https://github.com/sgmoore/libby-calibre-plugin

This fixes the certificate error, but does not fix other issues. In particular, it does not allow you to download books or magazines and you still need to get the token manually.

Features that still work are - viewing your current loans and holds, searching for books, borrowing, placing holds and returning books.
Unfortunately I installed from Calibre. I don't understand the Plugin Universe, especially in this case. One that doesn't work.

I'm sorry I'm so frustrated. I got a new Kobo and spent almost two weeks trying to get it to work with Calibre. Returned it the other day. So, just use my tablet, which has been working just fine, but let's step that up. No.

I'm way beyond my geek years where I gleefully spend hours, days, weeks trying to get things tweaked. Now? Looking for stuff that works out of the box. Turns out, that's harder to find than you'd think!

Thanks for the explanation(s)!
Ellsinore is offline   Reply With Quote
Old Today, 01:09 PM   #225
lumping-sugar66
Connoisseur
lumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trollslumping-sugar66 doesn't feed trolls
 
lumping-sugar66's Avatar
 
Posts: 94
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
Quote:
Originally Posted by Ellsinore View Post
I'm sorry I'm so frustrated. I got a new Kobo and spent almost two weeks trying to get it to work with Calibre.

FWIW, you don't need this plugin to borrow books from libraries. So long as you have deACSM installed, you can go to libby website, borrow the DRM-protected ascm file (don't click open the book with libby) and drag&drop it into calibre.

This deACSM setup you need to do anyway. So it's a hassle to download the book files from the website but it doesn't mean using calibre to manage borrowed books is unusable.
lumping-sugar66 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Overdrive Link jhowell Plugins 1277 09-21-2024 04:02 PM
No Local Public Library. Overdrive/Libby Possible? enuddleyarbl Kobo Reader 2 06-08-2023 07:23 PM
Library borrowing: Overdrive vs. Libby haertig General Discussions 83 01-30-2023 04:21 PM
Libby, the new Overdrive App Cosimo News 30 12-02-2017 09:42 AM
Overdrive's Libby Loves2Read4Fun General Discussions 2 12-20-2016 01:32 PM


All times are GMT -4. The time now is 10:46 PM.


MobileRead.com is a privately owned, operated and funded community.