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-26-2024, 11:14 AM   #226
Ellsinore
Junior Member
Ellsinore began at the beginning.
 
Posts: 9
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 09-26-2024, 01:09 PM   #227
lumping-sugar66
Zealot
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: 100
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
Old 09-26-2024, 02:33 PM   #228
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,637
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Thank you for all the information. The new plugin has solved the certificate issue and the token I've been able to get it, so I have it working again for the interesting part for me (holds).
Terisa de morgan is offline   Reply With Quote
Old 09-26-2024, 05:58 PM   #229
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,798
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Terisa de morgan View Post
Thank you for all the information. The new plugin has solved the certificate issue and the token I've been able to get it, so I have it working again for the interesting part for me (holds).
Since the new plugin is working, can it please be put in the first post?
JSWolf is offline   Reply With Quote
Old 09-26-2024, 06:42 PM   #230
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,545
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by JSWolf View Post
Since the new plugin is working, can it please be put in the first post?
I'd suggest that before that happens, someone needs to update the internal version number to reflect the changes... Currently it still reads 1.9
PeterT is offline   Reply With Quote
Old 09-26-2024, 06:57 PM   #231
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,522
Karma: 169115146
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
I modified the .zip file for the plugin downloaded from sgmoore's link to report the version number as 0.1.9.1 to distinguish it from 0.1.9
Attached Files
File Type: zip overdrive-libby-plugin-v0.1.9a.zip (132.5 KB, 308 views)
DNSB is offline   Reply With Quote
Old 09-26-2024, 10:56 PM   #232
danamr
Member
danamr began at the beginning.
 
Posts: 23
Karma: 20
Join Date: Feb 2009
Device: KINDLE
Quote:
Originally Posted by Ellsinore View Post
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)!
@74 I'm don't have the patience to screw around trying to get stuff working.
A thought. Have you tried the Libby app for library books on your tablet? It works fine on iPadOS, MacOS and AndroidOS.
danamr is offline   Reply With Quote
Old 09-27-2024, 10:29 AM   #233
foosion
Evangelist
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: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by Terisa de morgan View Post
Thank you for all the information. The new plugin has solved the certificate issue and the token I've been able to get it, so I have it working again for the interesting part for me (holds).
I'm glad to see someone agrees with me that the plugin continues to be useful. Search/hold/borrow works nicely for the moment and is easier for me than using libby. When the book is available I download the acsm file with libby, double click and the book shows up in Calibre. Not as convenient as before, but still better for me than the alternatives.
foosion is offline   Reply With Quote
Old 09-27-2024, 06:27 PM   #234
Ellsinore
Junior Member
Ellsinore began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2021
Device: None
Quote:
Originally Posted by danamr View Post
@74 I'm don't have the patience to screw around trying to get stuff working.
A thought. Have you tried the Libby app for library books on your tablet? It works fine on iPadOS, MacOS and AndroidOS.
Hi!

You've got me beat, but I'm right behind you. :-D

I already use Libby on my phone, tablet and PC. I also have a huge eBook library, as well a "real" books.

I really, really wanted to get a handle on organizing and Calibre is the #1 recommendation from Google results. My struggle with this plugin is only the latest frustration. I'm not sure when I first installed Calibre, but it was a long, LONG time ago. And it keeps getting put back on the shelf. Or uninstalled.

It just seems anything that sounds neet and I want to customize, it's a rabbit trail. I'm getting notifications from this thread and was so excited to see the plugin was updated! But NO. Still won't work. Can only get a pass key, not a set up code. Someone else mentioned this, but I didn't see any responses to it. I DO see lots of people who are happy with the update, though! :-D

And I'm happy FOR them!
Ellsinore is offline   Reply With Quote
Old 10-01-2024, 06:38 PM   #235
foosion
Evangelist
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: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Now nothing is working. The error message includes "error_response='{"result":"missing_chip"}" which was not there previously.

Spoiler:
Code:
calibre, version 7.19.0
ERROR: Unhandled exception: <b>ClientForbiddenError</b>: Error synchronizing data<p>HTTP Error 403: Forbidden</p>

calibre 7.19  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_plugins.overdrive_libby.workers", line 381, in run
  File "calibre_plugins.overdrive_libby.libby.client", line 633, in sync
  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='{"result":"missing_chip"}''>
foosion is offline   Reply With Quote
Old 10-02-2024, 12:44 AM   #236
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: 69
Karma: 636
Join Date: Aug 2022
Location: Indonesia
Device: Moon+ Reader Pro
Quote:
Originally Posted by foosion View Post
Now nothing is working. The error message includes "error_response='{"result":"missing_chip"}" which was not there previously.

Spoiler:
Code:
calibre, version 7.19.0
ERROR: Unhandled exception: <b>ClientForbiddenError</b>: Error synchronizing data<p>HTTP Error 403: Forbidden</p>

calibre 7.19  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_plugins.overdrive_libby.workers", line 381, in run
  File "calibre_plugins.overdrive_libby.libby.client", line 633, in sync
  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='{"result":"missing_chip"}''>
+1, mine won't sync.

Spoiler:
Code:
calibre, version 7.19.0
ERROR: Unhandled exception: <b>ClientForbiddenError</b>: Error synchronizing data<p>HTTP Error 403: Forbidden</p>

calibre 7.19  embedded-python: True
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_plugins.overdrive_libby.workers", line 381, in run
  File "calibre_plugins.overdrive_libby.libby.client", line 633, in sync
  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='{"result":"missing_chip"}''>
miss_p1nky is offline   Reply With Quote
Old 10-02-2024, 10:36 AM   #237
foosion
Evangelist
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: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
I do wonder about "error_response='{"result":"missing_chip"}". I see it was mentioned in https://github.com/ping/odmpy/issues/69 and #115 in this thread, but those are from April and the plugin was working after that. That's a different error from the one I was getting when download failed but other functions were working.
foosion is offline   Reply With Quote
Old 10-12-2024, 06:07 AM   #238
sgmoore
Zealot
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: 136
Karma: 642206
Join Date: Mar 2021
Device: Kindle Voyage
Quote:
Originally Posted by foosion View Post
Now nothing is working. The error message includes "error_response='{"result":"missing_chip"}" which was not there previously.
Sorry for the delay in responding, but I missed this message.

The forbidden/missing_chip message simply means you need to manually refresh your token.

I'm still using simon-techkid's extension to get the token : see https://github.com/ping/libby-calibr...ent-2305881945

The bad news is that unfortunately we are going to have to do this a lot more regularly (probably every week)

The token contains an expiry date and stops working after a week. What used to happen was when you synced successfully, the response you got back contained a new token with an updated expiry date and ping's code saved this token back for use the next time. So simply opening this plugin regularly would keep refreshing the token and it did not expire.

Now the response from libby website no longer returns a new token and so the token we have will expire after a week.
sgmoore is offline   Reply With Quote
Old 10-12-2024, 08:28 AM   #239
foosion
Evangelist
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: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by sgmoore View Post
Sorry for the delay in responding, but I missed this message.

The forbidden/missing_chip message simply means you need to manually refresh your token.

I'm still using simon-techkid's extension to get the token : see https://github.com/ping/libby-calibr...ent-2305881945

The bad news is that unfortunately we are going to have to do this a lot more regularly (probably every week)

The token contains an expiry date and stops working after a week. What used to happen was when you synced successfully, the response you got back contained a new token with an updated expiry date and ping's code saved this token back for use the next time. So simply opening this plugin regularly would keep refreshing the token and it did not expire.

Now the response from libby website no longer returns a new token and so the token we have will expire after a week.
That works for everything other than actually download a book, for which I'm still getting a 403 forbidden error. simon-techkid's extension makes it much easier to update the token.

Is there something else I should be doing so that I can download books using this plugin or is that gone?

Thank you!
foosion is offline   Reply With Quote
Old 10-12-2024, 09:20 AM   #240
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,545
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by sgmoore View Post
Sorry for the delay in responding, but I missed this message.

The forbidden/missing_chip message simply means you need to manually refresh your token.

I'm still using simon-techkid's extension to get the token : see https://github.com/ping/libby-calibr...ent-2305881945

The bad news is that unfortunately we are going to have to do this a lot more regularly (probably every week)

The token contains an expiry date and stops working after a week. What used to happen was when you synced successfully, the response you got back contained a new token with an updated expiry date and ping's code saved this token back for use the next time. So simply opening this plugin regularly would keep refreshing the token and it did not expire.

Now the response from libby website no longer returns a new token and so the token we have will expire after a week.
I also found installing mitmproxy was an invaluable tool in capturing the token. This also lets you see all the requests and responses inb what I found to be an easier format to read than the chrome internal network logging.
PeterT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Overdrive Link jhowell Plugins 1291 04-14-2025 03:46 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 02:25 PM.


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