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 05-26-2024, 10:59 PM   #181
ladyro7
Junior Member
ladyro7 began at the beginning.
 
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=' ''>
ladyro7 is offline   Reply With Quote
Old 05-28-2024, 12:33 PM   #182
Pjama
Guru
Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.
 
Pjama's Avatar
 
Posts: 711
Karma: 2345678
Join Date: Apr 2016
Location: USA
Device: Scribe, Oasis, Clara 2E, Libra 2, 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': }
Pjama is offline   Reply With Quote
Old 05-28-2024, 12:36 PM   #183
Pjama
Guru
Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.Pjama ought to be getting tired of karma fortunes by now.
 
Pjama's Avatar
 
Posts: 711
Karma: 2345678
Join Date: Apr 2016
Location: USA
Device: Scribe, Oasis, Clara 2E, Libra 2, 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.
Pjama is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Overdrive Link jhowell Plugins 1265 05-22-2024 07:30 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 04:13 AM.


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