Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR Importing Audible Library #897

Closed
arivias1 opened this issue May 7, 2024 · 5 comments
Closed

ERROR Importing Audible Library #897

arivias1 opened this issue May 7, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@arivias1
Copy link

arivias1 commented May 7, 2024

I have Libation Classic 11.1.0 for Windows.

I was experiencing issues with downloading my library from Audible. I couldn't understand the rhyme or reason as to why some would download and why some would throw out an error. Some of the books are books I have purchased; some are from audible plus. This seems to not make a difference neither does the size. I removed the program and re-downloaded it to see if that would fix the issue. It did not. 10/73 audio books downloaded.

Here is the error code when I try to manually scan library.
Exception of type 'AudibleApi.ApiErrorException' was thrown.

at AudibleApi.ApiUnauthenticated.SendClientRequest(IHttpClientActions client, HttpRequestMessage request) in /home/runner/work/AudibleApi/AudibleApi/AudibleApi/ApiUnauthenticated [partial].cs:line 59
at AudibleApi.Api.AdHocAuthenticatedRequestAsync(String requestUri, HttpMethod method, IHttpClientActions client, HttpBody requestBody) in /home/runner/work/AudibleApi/AudibleApi/AudibleApi/Api [partial].cs:line 57
at AudibleApi.Api.getLibraryResponseAsync(String parameters) in /home/runner/work/AudibleApi/AudibleApi/AudibleApi/Api.Library.cs:line 287
at AudibleApi.Api.GetItemsCountAsync(LibraryOptions libraryOptions) in /home/runner/work/AudibleApi/AudibleApi/AudibleApi/Api.Library.cs:line 439
at AudibleApi.Api.GetLibraryItemsPagesAsync(LibraryOptions libraryOptions, Int32 numItemsPerRequest, SemaphoreSlim semaphore)+MoveNext() in /home/runner/work/AudibleApi/AudibleApi/AudibleApi/Api.Library.cs:line 402
at AudibleApi.Api.GetLibraryItemsPagesAsync(LibraryOptions libraryOptions, Int32 numItemsPerRequest, SemaphoreSlim semaphore)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
at AudibleUtilities.ApiExtended.getItemsAsync(LibraryOptions libraryOptions, Boolean importEpisodes) in D:\a\Libation\Libation\Source\AudibleUtilities\ApiExtended.cs:line 169
at AudibleUtilities.ApiExtended.getItemsAsync(LibraryOptions libraryOptions, Boolean importEpisodes) in D:\a\Libation\Libation\Source\AudibleUtilities\ApiExtended.cs:line 169
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates1 shouldRetryResultPredicates, Func5 onRetryAsync, Int32 permittedRetryCount, IEnumerable1 sleepDurationsEnumerable, Func4 sleepDurationProvider, Boolean continueOnCapturedContext) at Polly.AsyncPolicy.ExecuteAsync[TResult](Func3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
at ApplicationServices.LibraryCommands.scanAccountAsync(ApiExtended apiExtended, Account account, LibraryOptions libraryOptions, LogArchiver archiver) in D:\a\Libation\Libation\Source\ApplicationServices\LibraryCommands.cs:line 317
at ApplicationServices.LibraryCommands.scanAccountsAsync(Func2 apiExtendedfunc, Account[] accounts, LibraryOptions libraryOptions) in D:\a\Libation\Libation\Source\ApplicationServices\LibraryCommands.cs:line 266 at ApplicationServices.LibraryCommands.scanAccountsAsync(Func2 apiExtendedfunc, Account[] accounts, LibraryOptions libraryOptions) in D:\a\Libation\Libation\Source\ApplicationServices\LibraryCommands.cs:line 266
at ApplicationServices.LibraryCommands.ImportAccountAsync(Func`2 apiExtendedfunc, Account[] accounts) in D:\a\Libation\Libation\Source\ApplicationServices\LibraryCommands.cs:line 179
at LibationWinForms.Form1.scanLibrariesAsync(Account[] accounts) in D:\a\Libation\Libation\Source\LibationWinForms\Form1.ScanManual.cs:line 77

@arivias1 arivias1 added the bug Something isn't working label May 7, 2024
@rmcrackan
Copy link
Owner

Some of the books are books I have purchased; some are from audible plus.

That is super weird. Thank you for doing that diligence. A few people have had network issues so I've been playing around with some different settings. Let me know if this pre-release helps you -- https://github.com/rmcrackan/Libation/releases/tag/v11.3.8

@arivias1
Copy link
Author

arivias1 commented May 8, 2024

Yes! I did more digging and saw the 11.3.8. and downloaded. This seemed to fix the issue somewhat.
There are still a few books with the red light. There is one book with a red ex. Is there anything I can do to try and download them again? When I try to "scan library", nothing seems to happen.

@rmcrackan
Copy link
Owner

For the X-es, right-click and set status to 'not downloaded'. See if another liberate helps. For any which are still either red or X, please check if these are books that are no longer in your library. Especially books which used to be part of the audible Plus catalog that maybe they later removed from Plus.

@Cloggin
Copy link

Cloggin commented Jun 14, 2024

@rmcrackan FWIW: Experienced the same issue this week, no additional parameters or variables in my (logs or) report make any difference than what's already been reported. The pre-release version you listed in this thread solved whatever hang ups I was having.

@rmcrackan
Copy link
Owner

@Cloggin Thanks for the update. I'm glad it worked

@arivias1 This thread has gone stale so I'm going to close it out. If you add more, I'll still get notifications and can re-open if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants