![]() |
#181 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Aug 2014
Device: Kobo Touch
|
Forbidden operation OSX Sonoma
calibre, version 7.11.0
ERROR: Unhandled exception: <b>ClientForbiddenError</b>: Failed to download e-book<p>HTTP Error 403: Forbidden</p> calibre 7.11 embedded-python: True macOS-14.5-arm64-arm-64bit Darwin ('64bit', '') ('Darwin', '23.5.0', 'Darwin Kernel Version 23.5.0: Wed May 1 20:19:05 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8112') Python 3.11.5 OSX: ('14.5', ('', '', ''), 'arm64') Interface language: None EXE path: /Applications/calibre.app/Contents/MacOS/calibre Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && ACE (1, 1, 6) && Access Aide (0, 1, 15) && Annotations (1, 17, 13) && Count Pages (1, 13, 6) && EpubMerge (2, 18, 0) && EpubSplit (3, 7, 0) && FanFicFare (4, 34, 1) && Generate Cover (2, 3, 4) && Open With (1, 8, 3) && OverDrive Libby (0, 1, 9) && Overdrive Link (2, 57, 0) && Reading List (1, 15, 4) && Overdrive Link Metadata Source (2, 57, 0) Traceback (most recent call last): File "calibre_plugins.overdrive_libby.libby.client" , line 518, in send_request response = req_opener.open(req, timeout=self.timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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_downloa d", line 50, in __call__ downloaded_filepath = self._custom_download( ^^^^^^^^^^^^^^^^^^^^^^ File "calibre_plugins.overdrive_libby.ebook_downloa d", line 94, in _custom_download res_content = libby_client.fulfill_loan_file( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "calibre_plugins.overdrive_libby.libby.client" , line 806, in fulfill_loan_file res: bytes = self.send_request( ^^^^^^^^^^^^^^^^^^ File "calibre_plugins.overdrive_libby.libby.client" , line 538, in send_request ErrorHandler.process(e, error_response) File "calibre_plugins.overdrive_libby.libby.errors" , line 143, in process raise error_info["error"]( calibre_plugins.overdrive_libby.libby.errors.Clien tForbiddenError: <calibre_plugins.overdrive_libby.libby.errors.Clie ntForbiddenError; http_status=403, msg='HTTP Error 403: Forbidden', error_response=' ''> |
![]() |
![]() |
![]() |
#182 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 2347200
Join Date: Apr 2016
Location: TX
Device: Scribe and Libra Colour
|
I just updated Calibre and it broke my Libby plugin, so I set it up again with a new code from libbyapp.com. Then I went through the process of updating the sentry code in the .json again. Still no magazines. Here is my message from Calibre:
Code:
Starting job: Downloading Paris Match - HS 33 Job: "Downloading Paris Match - HS 33" failed with error: Traceback (most recent call last): File "calibre/gui2/threaded_jobs.py", line 85, in start_work File "calibre_plugins.overdrive_libby.magazine_download", line 387, in __call__ downloaded_filepath = self._custom_download( ^^^^^^^^^^^^^^^^^^^^^^ File "calibre_plugins.overdrive_libby.magazine_download", line 467, in _custom_download download_base, openbook, rosters = libby_client.process_ebook(loan) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "calibre_plugins.overdrive_libby.libby.client", line 822, in process_ebook openbook = self.send_request(meta["urls"]["openbook"]) ~~~~~~~~~~~~^^^^^^^^^^^^ KeyError: 'openbook' Called with args: (, , , {'availabilityType': 'always', 'availableCopies': 0, 'bundledContent': [], 'bundledContentTitleIds': [], 'cardId': '58553149', 'checkoutDate': '2024-05-28T08:03:24+00:00', 'checkoutId': 101573129, 'constraints': {'isDisneyEulaRequired': False}, 'covers': {'cover150Wide': {'height': 200, 'href': 'https://img3.od-cdn.com/ImageType-150/11052-1/{27A89BB1-52EF-4281-96C5-8E6FA74F4DBE}IMG150.JPG', 'isPlaceholderImage': False, 'primaryColor': {'hex': '#A3AEA8', 'rgb': {'blue': 168, 'green': 174, 'red': 163}}, 'width': 150}, 'cover300Wide': {'height': 400, 'href': 'https://img2.od-cdn.com/ImageType-400/11052-1/{27A89BB1-52EF-4281-96C5-8E6FA74F4DBE}IMG400.JPG', 'isPlaceholderImage': False, 'primaryColor': {'hex': '#A1A8B0', 'rgb': {'blue': 176, 'green': 168, 'red': 161}}, 'width': 300}, 'cover510Wide': {'height': 680, 'href': 'https://img3.od-cdn.com/ImageType-100/11052-1/{27A89BB1-52EF-4281-96C5-8E6FA74F4DBE}IMG100.JPG', 'isPlaceholderImage': False, 'primaryColor': {'hex': '#A5B0B2', 'rgb': {'blue': 178, 'green': 176, 'red': 165}}, 'width': 510}}, 'edition': 'HS 33', 'expireDate': '2024-06-11T08:03:24+00:00', 'expires': '2024-06-11T08:03:24+00:00', 'firstCreatorId': 0, 'formats': [{'bundledContent': [], 'fulfillmentType': 'bifocal', 'hasAudioSynchronizedText': False, 'id': 'magazine-overdrive', 'identifiers': [{'type': 'PublisherCatalogNumber', 'value': '6420-657973'}], 'isBundleParent': False, 'isLockedIn': False, 'name': 'OverDrive Magazine', 'onSaleDateUtc': '2024-05-28T01:00:00+00:00', 'rights': [], 'sample': {'href': 'https://samples.overdrive.com/?crid=27a89bb1-52ef-4281-96c5-8e6fa74f4dbe&.epub-sample.overdrive.com'}}], 'frequency': {'id': '8', 'name': 'Weekly'}, 'holdsCount': 0, 'id': '10784595', 'isAdvantageFiltered': False, 'isAssigned': False, 'isBundledChild': False, 'isFormatLockedIn': False, 'isHoldable': True, 'isLuckyDayCheckout': False, 'isOwned': True, 'isReturnable': True, 'luckyDayAvailableCopies': 0, 'luckyDayOwnedCopies': 0, 'otherFormats': [], 'overDriveFormat': {'hasAudioSynchronizedText': False, 'id': 'magazine-overdrive', 'name': 'OverDrive Magazine'}, 'ownedCopies': 0, 'pages': 92, 'parentMagazineTitleId': '5856906', 'privateAccountId': -1, 'publishDateText': 'May 31 2024 8:00PM', 'publisherAccount': {'id': '43284', 'name': 'OverDrive Magazines'}, 'readiverseFormat': {'hasAudioSynchronizedText': False, 'id': 'magazine-overdrive', 'name': 'OverDrive Magazine'}, 'renewableOn': '2024-06-08T08:03:24+00:00', 'reserveId': '27a89bb1-52ef-4281-96c5-8e6fa74f4dbe', 'sample': {'href': 'https://samples.overdrive.com/?crid=27a89bb1-52ef-4281-96c5-8e6fa74f4dbe&.epub-sample.overdrive.com'}, 'series': 'Paris Match', 'sortTitle': 'Paris Match', 'subjects': [{'id': '1163', 'name': 'Celebrity & Gossip'}], 'title': 'Paris Match', 'type': {'id': 'magazine', 'name': 'Magazine'}, 'websiteId': '300085'}, {'cardId': '58553149', 'cardName': '2985786', 'createDate': '2023-01-22T00:12:39+00:00', 'authorizeDate': '2023-02-03T01:56:57Z', 'puid': '121207431', 'isSessionUser': False, 'library': {'websiteId': '300085', 'name': 'Houston Public Library', 'logo': {'url': 'https://thunder.cdn.overdrive.com/logo-resized/9770?1589197094'}}, 'advantageKey': 'houstonlibrary', 'ilsName': 'houstonpl', 'username': '2985786', 'emailAddress': None, 'limits': {'hold': 15, 'book': 15, 'audiobook': 15, 'loan': 15}, 'counts': {'hold': 0, 'loan': 1}, 'lendingPeriods': {'book': {'options': [[7, 'days'], [14, 'days']], 'preference': [14, 'days'], 'luckyDay': 7}, 'audiobook': {'options': [[7, 'days'], [14, 'days']], 'preference': [14, 'days'], 'luckyDay': 7}, 'magazine': {'options': [[7, 'days'], [14, 'days']], 'preference': [14, 'days']}}, 'accounts': [-1], 'contentMask': -1, 'isVisitingCard': False, 'canPlaceHolds': True, 'canRecommendTitles': True, 'allowReadingHistorySince': '2023-01-22T00:12:39.823Z', 'publicLibraryMaturity': 200}, {'id': 'houstonlibrary', 'preferredKey': 'houstonlibrary', 'visitorKey': 'houstonlibrary-visitor', 'fulfillmentId': 'houstonpl', 'websiteId': 300085, 'accessId': 9770, 'parentCRAccessId': 533, 'name': 'Houston Public Library', 'status': 'Live', 'type': 'DLR', 'isConsortium': False, 'accounts': [-1], 'settings': {'primaryColor': {'hex': '#b32317', 'rgb': {'red': 179, 'green': 35, 'blue': 23}}, 'secondaryColor': {'hex': '#727478', 'rgb': {'red': 114, 'green': 116, 'blue': 120}}, 'logo140X60': {'href': 'https://thunder.cdn.overdrive.com/logo-resized/9770?1589197094'}, 'cookieSetting': 'Never'}, 'links': {'libraryHome': {'href': 'https://houstonlibrary.org/home'}, 'cardAcquisitionUrl': {'href': 'https://houstonlibrary.org/mylink'}, 'librarySupportUrl': {'href': 'https://askhpl.houstonlibrary.org/form?queue_id=6379'}, 'librarySupportEmail': {'href': 'askhpl@houstontx.gov'}}, 'messages': [{'messageId': 13445, 'message': 'We offer eBooks for your Kindle device or reading app. Try one today!', 'settings': {'sampleSiteOnly': False, 'enhancedSiteMessage': False}}, {'messageId': 13446, 'message': 'Try Libby, our new app for enjoying ebooks and audiobooks!', 'settings': {'sampleSiteOnly': False, 'enhancedSiteMessage': False}}, {'messageId': 13503, 'message': 'Check out our Kids and Teens pages too!', 'settings': {'sampleSiteOnly': False, 'enhancedSiteMessage': False}}, {'messageId': 15012, 'message': 'Check out upcoming HPL events! Go to our events calendar for information and to sign up.', 'settings': {'sampleSiteOnly': False, 'enhancedSiteMessage': False}}], 'recommendToLibraryEnabled': True, 'allowRecommendToLibrary': True, 'isAutocompleteEnabled': True, 'hasAdvantageAccounts': False, 'defaultLanguage': {'languageCodes': ['en', 'en-029', 'en-AU', 'en-BZ', 'en-CA', 'en-GB', 'en-IE', 'en-IN', 'en-JM', 'en-MY', 'en-NZ', 'en-PH', 'en-SG', 'en-TT', 'en-US', 'en-ZA', 'en-ZW'], 'displayName': 'English', 'nativeDisplayName': 'English', 'defaultLanguageCode': 'en'}, 'supportedLanguages': [{'languageCodes': ['en', 'en-029', 'en-AU', 'en-BZ', 'en-CA', 'en-GB', 'en-IE', 'en-IN', 'en-JM', 'en-MY', 'en-NZ', 'en-PH', 'en-SG', 'en-TT', 'en-US', 'en-ZA', 'en-ZW'], 'displayName': 'English', 'nativeDisplayName': 'English', 'defaultLanguageCode': 'en'}], 'lastModifiedDate': '2024-05-28T14:36:21.7503273Z', 'isInstantAccessEnabled': False, 'formats': [{'mediaType': 'ebook', 'id': 'ebook-pdf-adobe', 'name': 'PDF eBook'}, {'mediaType': 'ebook', 'id': 'ebook-media-do', 'name': 'MediaDo eBook'}, {'mediaType': 'ebook', 'id': 'ebook-epub-adobe', 'name': 'EPUB eBook'}, {'mediaType': 'ebook', 'id': 'ebook-kobo', 'name': 'Kobo eBook'}, {'mediaType': 'ebook', 'id': 'ebook-kindle', 'name': 'Kindle Book'}, {'mediaType': 'audiobook', 'id': 'audiobook-mp3', 'name': 'MP3 audiobook'}, {'mediaType': 'magazine', 'id': 'magazine-overdrive', 'name': 'OverDrive Magazine'}, {'mediaType': 'ebook', 'id': 'ebook-overdrive', 'name': 'OverDrive Read'}, {'mediaType': 'audiobook', 'id': 'audiobook-overdrive', 'name': 'OverDrive Listen audiobook'}, {'mediaType': 'ntc', 'id': 'ntc-pay-per-access', 'name': 'External service'}, {'mediaType': 'ntc', 'id': 'ntc-subscription', 'name': 'External service'}], 'isReadingHistoryEnabled': True, 'primaryPlatform': 'lightning', 'enabledPlatforms': ['lightning', 'libby'], 'visitableLibraries': [], 'visitorsCanPlaceHolds': False, 'visitorsCanRecommendTitles': False, 'visitorsHaveLowerHoldPriority': False, 'luckyDayPreferredLendingPeriods': {'ebook': 7, 'audiobook': 7}, 'isAuroraEnabled': False, 'isLexisNexis': False, 'isLuckyDayEnabled': True, 'canAddLibrariesInSora': True, 'areLuckyDayTitlesAllocated': True, 'isDemo': False, 'allowDeepSearch': True, 'allowAnonymousSampling': True, 'showcaseTarget': 'default', '__cached_at': 1716907249.877008}, , 0, None, '10784595.epub', ['']) {'notifications': , 'abort': , 'log': } |
![]() |
![]() |
![]() |
#183 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 2347200
Join Date: Apr 2016
Location: TX
Device: Scribe and Libra Colour
|
I really hope someone can take over this project so we can get our magazines back on our e-readers. Unfortunately my coding skills are not up to the required level.
|
![]() |
![]() |
![]() |
#184 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 60
Karma: 5532
Join Date: Jul 2017
Device: MoonReader+ Android app on Samsung Galaxy S6 Lite and otherst
|
Does anyone know if the plugin's developer is still active? I haven't seen any updates on the issue on Github.
|
![]() |
![]() |
![]() |
#185 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2024
Device: Kindle
|
Does this still work with libby itself since ondrive is gone.
I tried to import a libby book where the format of the book was libby. Clicked on include titles without downloadable formats Does anyone know how i can transfer this book to my kindle anyway i can convert it or download a format on it Thanks |
![]() |
![]() |
![]() |
#186 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
|
By the way, there seem to be a timeout on the corrective action posted earlier. After a month of responding here (exactly when I did the manual fix), I got the same error again. Redoing those steps fixed the issue again.
|
![]() |
![]() |
![]() |
#187 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jan 2010
Device: Kindle
|
Since I saved the original file I can see when I made the change - May 3. Today it didn't work but I imported something successfully on June 20. So whatever the cause of the update it must not be a strict 30 days.
|
![]() |
![]() |
![]() |
#188 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Dec 2023
Device: 11th gen PW
|
Can anyone please tell me what I am doing wrong here?
![]() ![]() Imgur Screenshots Here: https://imgur.com/a/gpwUyuv Thanks! |
![]() |
![]() |
![]() |
#189 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,279
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
new MR users (below a certain post count) are limited on what they can do as an anti-spam method.
That image is way to tiny for my old eye, but I would guess a Latin-1 charset decode was choking on Unicode |
![]() |
![]() |
![]() |
#190 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,684
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Now you should be able to see the image well enough.
Last edited by JSWolf; 07-06-2024 at 08:39 AM. |
![]() |
![]() |
![]() |
#191 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 86
Karma: 81981
Join Date: Oct 2023
Location: Ontario, Canada
Device: Kobo Aura Edition 2, Kobo Clara 2E
|
Unicode Character /u2026 is three dots “…”
I do not see this in your document, but maybe it's hidden under the censored region. Without seeing the rest of the logs, it's hard to say precisely where the problem is. |
![]() |
![]() |
![]() |
#192 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 83
Karma: 502864
Join Date: Mar 2021
Device: Kindle Voyage
|
Quote:
See also https://www.mobileread.com/forums/sh...&postcount=145 and https://www.mobileread.com/forums/sh...&postcount=146 |
|
![]() |
![]() |
![]() |
#193 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81
Karma: 38050
Join Date: Sep 2016
Device: Kindle
|
Downloading error
Quote:
Code:
calibre, version 7.14.0 ERROR: Unhandled exception: <b>ClientForbiddenError</b>: Failed to download e-book<p>HTTP Error 403: Forbidden</p> calibre 7.14 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) && Gather KFX-ZIP (from KFX Input) (2, 15, 0) && DeDRM (10, 0, 3) && Package KFX (from KFX Input) (2, 15, 0) && Author Book Count (2, 2, 3) && Clean Metadata (0, 0, 6) && Consolidate All Library Metadata (2, 0, 46) && Count Pages (1, 13, 6) && Diaps Editing Toolbag (0, 4, 0) && EpubMerge (2, 18, 0) && EpubSplit (3, 7, 0) && FanFicFare (4, 36, 0) && Find Duplicates (1, 10, 9) && Generate Cover (2, 3, 4) && Import List (1, 9, 4) && Job Spy (1, 0, 239) && KFX metadata reader (from KFX Input) (2, 15, 0) && From KFX (2, 15, 0) && KFX Input (2, 15, 0) && Set KFX metadata (from KFX Output) (2, 9, 0) && KFX Output (2, 9, 0) && KindleUnpack - The Plugin (0, 83, 1) && Library Codes (1, 0, 65) && Library Splitter (1, 0, 7) && Manage Series (1, 5, 2) && Modify ePub (1, 8, 4) && MultiColumnSearch (1, 0, 96) && OverDrive Libby (0, 1, 9) && Quality Check (1, 13, 12) && Resize Cover (1, 2, 1) && Search The Internet (1, 11, 2) 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=' ''> |
|
![]() |
![]() |
![]() |
#194 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 245
Karma: 4562
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
|
I am able to download. Unfortunately what I download is an .acsm file rather than the epub. If I double click on the .acsm file in Calibre it launches ADE which then downloads the actual epub.
How do I fix this? Quote:
I had to use developer mode to get the libby token as shown in https://www.mobileread.com/forums/sh...&postcount=140. Oddly, when I used the token from FireFox I got a unicode error, while the token from Chrome worked (probably the issue in #192 above). Otherwise I could see a list of my books (loans and holds) but was getting 403 forbidden errors when trying to download. Last edited by foosion; 07-26-2024 at 02:37 PM. |
|
![]() |
![]() |
![]() |
#195 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() Posts: 50
Karma: 636
Join Date: Aug 2022
Location: Indonesia
Device: Moon+ Reader Pro
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Overdrive Link | jhowell | Plugins | 1272 | Today 01:49 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 |