-
Notifications
You must be signed in to change notification settings - Fork 8
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
Extractor Freezing on "Fetching series order" #87
Comments
@footbehindhead, can you do the extraction with the browser console open and take a screenshot of the red error message after it stops. The error message I'm after is likely the last one and slightly different than the rest (there should be quite a few that don't cause any kind of freeze). |
Somehow the issue resolved itself. I had it run over an hour without any success. I uninstalled the add-in and reinstalled it and it still wouldn't work. I waited a week and tried again, and it still froze. But when I was running it to get this screenshot, it finally worked. |
Good! Unfortunately the error log doesn't quite help nail it down... It migh end up as an unsolved mystery. I'll keep this issue open and hope I manage to recreate it. |
So in the first picture you were getting this
|
It could be the firewall on my work computer. But every time that I have ran it, it was from the same computer, the same browser (Chrome), at the same location. I'm not sure what was different the one time it didn't hang up. I don't know if it helps, but I re-ran it and it hung up again, but it looks like the error message is different (pic below.) I will try to run it in firefox and see if that works. |
I ran it in firefox and it did work there (from the same computer connected to the same network). |
@footbehindhead, haven't found anything obvious yet. It's kind of a mystery why it works occasionally. I'd like for you to test a build I made that will print out extra console logs. Take a screenshot of the console if and when it gets stuck.
|
No luck. I tried to extract every single series and book from both console logs, but got nothing from either test. But then again, given that I'm from Europe, it could even be caused by a book or a series that I can't access, in which case the extraction would just skip any potential issues there. That said I'm very suspicious about those weird connection errors you're getting. I'll see if I can come up with other ideas, but I wonder if you could see if it works in Firefox consistently or perhaps another Chromium based browser like (Brave or even the new Edge) — The Firefox (or Chrome) web store version should be enough and if it works, it'll probably work better than the dev build I asked you to test before. I'm seeing yet another new error message As far as your Chrome goes, I wonder if updating it would help and perhaps disabling other extensions. If you have many extensions, the easy way is to go to |
No worries. It works from Firefox, and if I keep trying over and over, it eventually will work in Chrome. Once it works once in Chrome, as long as I don't remove the extracted data it seems to keep working even as I add new books. I don't know if it is a related issue of not, but I have 10 collections (around 50 to 200 books each) and it does not always extract all of the books. If I keep running the extractor, it will get all of the books, but not every time. It's not a huge issue and if I just keep running the extractor, I can get the data I am looking for, but just wanted to let you know in case you haven't heard of this before and in case it might be related. If you need any additional information from me to help, let me know. |
Hey @footbehindhead, when you said it also happened in collections I felt I got a bit closer to a possible cause so I started remaking how both of those are extracted. Series extraction is now a 3 step process.
Collections actually had an issue anyways, because Audible recently took away the
So if you could try this build:
|
@footbehindhead, there's a new (similar) issue with the build I posted about. It turns out that quick testing past midnight might not always be sufficient... Anyways I'll do some of my own tests and I'll probably ping you with another comment once that is done. If by any chance you downloaded this one already, delete it and I'll come back to you with the new build to test later this week probably. |
@footbehindhead, I've now updated the download link 2 comments up ↑ |
Not sure if it matters, but I ran it again, and it worked. So the first time, it worked |
@footbehindhead, thanks for testing. I think the issue is some kind of unfulfilled request... I need to do some more testing on my end. |
@footbehindhead, I have a new build for you to test. I think this should do it. There's now a hard 1 minute time limit per request. This could potentially cause chunks of data to be lost, but realistically even a slow connection should finish a single request way before that minute is up. So now if it seems to get stuck, if you wait a minute, it should move on. I'm feeling incredibly optimistic about this one. I super hope it works. Here's the new build: audible-library-extractor-v0.2.9-series-test-v3.1.zip (updated 21.04.2022) |
I just ran it three times with clearing the extracted data before each time. All three were successful. None of them froze and all of the extracted all of the items for all of my collections. There are 2 additional collections. I was able to figure out that the one labeled "All You Can Listen" are the free ones from the Audible Plus catalogue. This is a super cool addition. I'm not sure what the other collection labelled "Item a User has Purchased" is for. It only contains one book, the last one I bought. It appears that with this build, the issues are fixed. Let me know if you would like for me to do any more testing. |
Hey, @footbehindhead, just to be sure... Was the build you tested the one with the
This is only tangentially related, but I also added a new Goodreads "genres" sidebar inspired "drawer" in book details → left sidebar where you can see what collections a book is in. Of course this is only based on your own collections. Clicking the collection name opens the collection inside the gallery. The number is how many books are in the collection. |
Looks to be the correct version. I'll probably close this issue whenever I release the next version. And whenI do, you can still comment in here if it comes back or something. Yea, podcasts have been purposely ignored due to the different structure... I've also not listened to a single one and you're the first to mention it, I think. It could definitely be done. I'll probably make a new (feature request) issue about that... But I wouldn't expect it to be in the next release... Or maybe ever, unless it becomes a huge request. I will look into it though. |
- The goal here was to clean up the code and hopefully fix the issue #87 along the way. - Also fixed #89. Now the collections are fetched during the library extraction (step 1.1) and the collection processing file compiles it from the library data and now the first page of each collection page is done via http request and nothing more.
I am now having this problem as well. I will try again tomorrow to see if it is just a temporary glitch on Audible's site. I did download the 0.2.9 v3.1 linked above, but it had the same issue, albeit at a different spot. 0.2.8 hung up on the series extraction, 0.2.9 hung up on the wishlist extraction. |
Did you get this #110? Well, I think in the 0.2.9 draft wishlist is extracted first, so probably not. I did recently have a thing where it stopped after wishlist was done because Audible decided I had to login to see my library. |
Did not get an error message, it said "fetching series order... 38/39" and was on 38 for a good half hour before I killed it. Once I killed it, it made me log in again, so that may be part of it. When I tried 0.2.9 v3.1 it was Wishlist 2/2 that it got stuck on, but again, no error message. I deleted 0.2.9 and reinstalled 0.2.8, and the behavior was identical, except the number was much higher, because it was extracting from scratch. So it got stuck on "fetching series order..." again. I don't remember the actual number this time (a couple hundred at least, and it got stuck on the second to last one). |
0.2.8 extraction is definitely way more broken and it might seem like it gets further, but to me it really just sounds like that's only (technically) because wishlist is extracted first in 0.2.9. I haven't tried in almost a year, but last time I checked, 0.2.8 stopped during wishlist extraction, since it's still trying to extract the old wishlist layout that hasn't existed since last summer. I would suggest you try extracting library and wishlist separately in 0.2.9 and see how that goes. Or just try both together for the second time. If it asked you to login afterwards it seems pretty clear that what happened was that you still had access to the wishlist during the extraction, but when it started extracting the library, your library auth had expired and there's no way around that for the extension. You need to be logged in to extract stuff in your account. These types of issues happen when you haven't logged in for a while. After you do login, it shouldn't be a problem for a good while, which is why I would hazard a guess that a second try would've gone through.
It would help if you could get a screenshot of your browser console after it stops. Like at least a few of the last messages, error or not. Chrome's console opens with:
|
Oh and I was somewhat confused about v.3.1 until just now that I remembered I had posted a hotfix version in this thread, which is super old at this point. I ignored my confusion because I was pretty sure I had given you a link to the most current version before. This zip in the repository root is the one I would recommend you to use: audible-library-extractor-0.2.9.zip
|
I forgot you gave me 0.2.9 already, lol! I tried that today, and appears to have worked. Thanks! One note on the issue of being logged out -- I tried multiple times last time, and every time, it would ask me to log in when it finished running, or when I killed it. So, it was almost like something about the process was forcing a re-login. I will play around with 0.2.9 and let you know if I have any other issues. |
First time here, getting the same freeze at series fetching. I'm running it on the newer Edge. Could you send me v.0.2.9? Thanks! |
Until the new version actually comes out... For anyone who needs it, installation instructions for the draft:
|
Thanks for your labor of love! It'll take me an evening to figure it out but I hope it works.
emily*
…-----Original Message-----
From: Joonas Pääkkö ***@***.***>
To: joonaspaakko/audible-library-extractor ***@***.***>
Cc: J45gal ***@***.***>; Mention ***@***.***>
Sent: Thu, Jun 15, 2023 3:29 am
Subject: Re: [joonaspaakko/audible-library-extractor] Extractor Freezing on "Fetching series order" (Issue #87)
@J45galUntil the new version actually comes out... For anyone who needs it, installation instructions for the draft:
- Download the 0.2.9 draft (This file sits in the repository root)
- Go to the address: chrome:extensions (or: Window > Extensions)
- Turn on the developer mode from the top right
- Drag the downloaded .zip file in the browser window to install
The new version is coming out one of these days. If I put off adding new stuff I think it's almost there.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
0.2.9 did the trick, thanks! First time I've been able to successfully extract in a few weeks. :) |
Ditto here. The extension was freezing but 0.2.9 worked perfectly. Thank you so much for such a beautiful piece of work. 🙏 |
Just to add to the growing chorus. I had this exact problem on 0.2.8, and it went away on 0.2.9 |
0.2.9 fixed my "Fetching series order for books in series..." 🥶 freezing issue too. Thanks! |
Thank you for this lovely Audible library extractor! 0.2.9 also fixed the "Fetching Series..." freeze for me :) |
yay! glad i found this post. 0.2.9 also did it here for me to. Was starting to get bummed with it getting stuck on the last scan. |
@kulwych (and others), I pushed new changes yesterday (8h ago) that introduced a new bug in the gallery search bar where you can't insert a space unless you type the first letter of the next word really fast. I suspect I will get that fixed pretty soon. |
The extractor keeps freezing on the "Fetching Series Order for books in series" (see below image).
I have tried running the extractor multiple times, but it can never get past this phase.
The text was updated successfully, but these errors were encountered: