04-24-2024, 12:02 AM | #121 |
Connoisseur
Posts: 61
Karma: 5532
Join Date: Jul 2017
Device: MoonReader+ Android app on Samsung Galaxy S6 Lite and otherst
|
Is anyone having this trouble downloading magazines? It was working fine until now, but today, with different magazines from different libraries, I get "key error." Here is one of the full error messages:
calibre, version 6.14.1 ERROR: Unhandled exception: <b>KeyError</b>: Failed to download e-book calibre 6.14.1 Portable 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: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 6, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (2, 6, 0) && Access Aide (0, 1, 13) && Action Chains (1, 18, 19) && Annotations (1, 17, 13) && Calibre Power Search Plugin (2, 2, 0) && CalibreSpy (1, 0, 92) && Count Pages (1, 12, 1) && DOC Input (1, 0, 1) && Ebook Translator (2, 0, 3) && Editor Chains (0, 8, 3) && EpubMerge (2, 17, 0) && EpubSplit (3, 6, 0) && FanFicFare (4, 20, 0) && FictionDB (1, 4, 1) && Find Duplicates (1, 10, 7) && GetFileName (0, 2, 0) && Goodreads (1, 7, 3) && Goodreads_Rating (4, 0, 0) && Job Spy (1, 0, 205) && KFX metadata reader (from KFX Input) (2, 6, 0) && KFX Input (2, 6, 0) && Set KFX metadata (from KFX Output) (2, 3, 1) && KFX Output (2, 3, 1) && Kindle Collections (1, 7, 29) && KindleUnpack - The Plugin (0, 83, 1) && Mass Search-Replace (1, 7, 1) && Media File Importer (1, 0, 27) && Modify ePub (1, 8, 2) && MultiColumnSearch (1, 0, 96) && Open With (1, 8, 1) && OverDrive Libby (0, 1, 9) && Overdrive Link (2, 57, 0) && Reading List (1, 15, 1) && Save To Format (0, 0, 6) && Search The Internet (1, 10, 4) && Similar Stories (1, 0, 58) && Standard Ebooks (1, 0, 0) && TTS to MP3 (0, 6, 0) && View Manager (1, 10, 2) && Wiki Reader (2, 2, 1) && all recipes Recipe Reader (1, 0, 2) && Overdrive Link Metadata Source (2, 57, 0) Traceback (most recent call last): File "calibre\gui2\threaded_jobs.py", line 82, in start_work File "calibre_plugins.overdrive_libby.magazine_download ", line 387, in __call__ File "calibre_plugins.overdrive_libby.magazine_download ", line 467, in _custom_download File "calibre_plugins.overdrive_libby.libby.client" , line 822, in process_ebook KeyError: 'openbook' |
04-24-2024, 08:23 AM | #122 | |
Connoisseur
Posts: 90
Karma: 503050
Join Date: Mar 2021
Device: Kindle Voyage
|
Quote:
The bad news is that the plugin is not getting the response it is expecting from the server so it could be a deliberate change on the server side. https://github.com/ping/libby-calibr...client.py#L822 |
|
Advert | |
|
04-24-2024, 09:43 AM | #123 |
Enthusiast
Posts: 34
Karma: 130226
Join Date: Apr 2020
Device: Kindle Voyage
|
New Libby code solved this 403 error for me as well. Tnx ppls
|
04-24-2024, 10:51 AM | #124 | |
Connoisseur
Posts: 90
Karma: 503050
Join Date: Mar 2021
Device: Kindle Voyage
|
Quote:
Trying restart in Debug Mode and see if any error messages appear in the log. Also, if you type a number (even if you can't see anything happening) and click on OK do you get an error, either on-screen or in the debug log file. |
|
04-24-2024, 09:02 PM | #125 | |
Connoisseur
Posts: 61
Karma: 5532
Join Date: Jul 2017
Device: MoonReader+ Android app on Samsung Galaxy S6 Lite and otherst
|
Quote:
|
|
Advert | |
|
04-25-2024, 10:25 PM | #126 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Apr 2024
Device: Kindle
|
Different 403 error
Unfortunately, I'm getting a slightly different 403 error than the one in the original post. My 403 error response is completely empty:
Code:
calibre, version 7.9.0 ERROR: Unhandled exception: <b>ClientForbiddenError</b>: Failed to download e-book<p>HTTP Error 403: Forbidden</p> calibre 7.9 embedded-python: True Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22631') Python 3.11.5 Windows: ('10', '10.0.22631', '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) && Obok DeDRM (10, 0, 9) && OverDrive Libby (0, 1, 9) Traceback (most recent call last): File "calibre_plugins.overdrive_libby.libby.client", line 518, 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 806, in fulfill_loan_file File "calibre_plugins.overdrive_libby.libby.client", line 538, 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=' ''> Quote:
|
|
04-26-2024, 04:58 AM | #127 | |
Connoisseur
Posts: 54
Karma: 636
Join Date: Aug 2022
Location: Indonesia
Device: Moon+ Reader Pro
|
Quote:
https://github.com/ping/libby-calibre-plugin/issues/22 |
|
04-26-2024, 05:07 AM | #128 | |
Connoisseur
Posts: 90
Karma: 503050
Join Date: Mar 2021
Device: Kindle Voyage
|
Quote:
The magazine downloads stopped working a few days ago whilst the ebook downloads still worked. But now it looks like ebook downloads have stopped. At least with ebooks we can still download them manually. |
|
04-26-2024, 08:42 PM | #129 |
Wizard
Posts: 1,164
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
The Libby app failed on my end too as of yesterday when I last tried downloading from the plugin in Calibre.
Code:
calibre, version 7.9.0 ERROR: Unhandled exception: <b>ClientForbiddenError</b>: Failed to download e-book<p>HTTP Error 403: Forbidden</p> calibre 7.9 embedded-python: True Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.22631') Python 3.11.5 Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free') Interface language: None EXE path: C:\Program Files\Calibre2\calibre.exe Successfully initialized third party plugins: DeACSM (0, 0, 16) && Gather KFX-ZIP (from KFX Input) (2, 10, 0) && DeDRM (10, 0, 9) && Package KFX (from KFX Input) (2, 10, 0) && Action Chains (1, 20, 2) && Audit Log (1, 0, 19) && Count Pages (1, 13, 6) && Diaps Editing Toolbag (0, 4, 0) && EpubMerge (2, 18, 0) && EpubSplit (3, 7, 0) && FanFicFare (4, 33, 0) && Fantastic Fiction (1, 7, 0) && Find Duplicates (1, 10, 9) && Generate Cover (2, 3, 4) && Goodreads (1, 8, 1) && KFX metadata reader (from KFX Input) (2, 10, 0) && From KFX (2, 10, 0) && KFX Input (2, 10, 0) && Set KFX metadata (from KFX Output) (2, 7, 0) && KFX Output (2, 7, 0) && Kindle hi-res covers (0, 5, 1) && Obok DeDRM (10, 0, 9) && OverDrive Libby (0, 1, 9) && Reading List (1, 15, 4) && Reformat plugin (2, 4, 0) && Scroll Book Details (1, 0, 2) && Smashwords Metadata (1, 0, 2) && User Category (1, 6, 1) Traceback (most recent call last): File "calibre_plugins.overdrive_libby.libby.client", line 518, 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 806, in fulfill_loan_file File "calibre_plugins.overdrive_libby.libby.client", line 538, 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=' ''> |
04-27-2024, 12:21 PM | #130 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Apr 2024
Device: Kindle Paperwhite 2021
|
Quote:
Now I'm having the same issues as everyone else with the 403 error Hopefully the plugin dev will be able to fix it or figure something out, tons of people on Reddit are also having the same problem |
|
04-27-2024, 07:24 PM | #131 |
Member
Posts: 13
Karma: 12560
Join Date: Mar 2024
Device: Kobo Libra 2, Kobo Mini, Kindle Keyboard
|
Yes, seems like we are all getting this error now. The plugin can pull our loans but it can't download them anymore. I have to go back to the old fashioned way of downloading them from overdrive for now.
|
04-27-2024, 11:31 PM | #132 |
Connoisseur
Posts: 61
Karma: 5532
Join Date: Jul 2017
Device: MoonReader+ Android app on Samsung Galaxy S6 Lite and otherst
|
I can get my loans directly from the library websites, except for magazines, for which the plugin seems to be the only download option.
|
04-28-2024, 11:09 AM | #133 |
Guru
Posts: 725
Karma: 2347200
Join Date: Apr 2016
Location: TX
Device: Scribe and Libra Colour
|
I literally started using this last week, after finding out how many magazines were available from one of my library cards. Downloaded one edition of Paris Match and one New Yorker. Went back to get new Paris Match for my new Libra Colour which is arriving soon, just to find it is broken! I hope whoever made this plugin can fix it, but it does look as it the plug-in is looking for an on device chip so I imagine Libby has tightened their security protocol.
I hope 'ping' can fix this soon. Error message: Spoiler:
|
04-29-2024, 03:31 PM | #134 |
Junior Member
Posts: 2
Karma: 640
Join Date: Dec 2023
Device: Kobo Libra 2
|
I've been playing around with this a little bit and it looks like as Pjama suggested, they changed their security a little bit. I tried generating a new auth token in the app via the clone code and that didn't work for me, but I did the same in my browser and copied its auth token into this plugin's config and that worked perfectly.
No promises on timeline since I have limited time to work on this, but I'm going to see if I can work the newer token generation method into the plugin. Alternatively if anyone is interested in working on it I'm happy to share my findings so far. If anyone needs to get their plugin working, you can follow the steps below. I don't know how long this lasts for, so you may end up needing to redo it after some hours/days. Also the instructions are based on Firefox, hopefully they apply to other browsers as well but if not just ask and someone will try to help out. 1. In your browser, open your dev console (ctrl-shift-I or F12 for me). 2. Go to the network tab, click the cog at the top-right and make sure "Persist Logs" is on. 3. Go to https://libbyapp.com/. 4. In the dev console, type "sentry" into the filter bar. 5. Click on the furthest-down entry that is a "GET" request. 6. In the right panel, go into the "Request Headers" and find "Authorization" -- its format should be "Bearer" followed by a long string of characters. Copy just the long string. 7. Make sure Calibre is closed, and open the plugin config file (%APPDATA%\calibre\plugins\overdrive_libby.json on Windows, unsure Mac/Linux paths). 8. Find the line for "libby_token", and replace its value with the one you copied in step 6. 9. Open Calibre and the plugin should work as expected now. Hopefully this is helpful to people. |
04-29-2024, 05:00 PM | #135 | |
Wizard
Posts: 1,164
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
|
Quote:
Amalthia |
|
Thread Tools | Search this Thread |
|
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 |