-
Notifications
You must be signed in to change notification settings - Fork 19
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
Always says incorrect ASIN or results in Server 500 error #100
Comments
Same issue here. Running in Docker |
What asins do you see this error on? |
One Example: B005HG7BWC |
Another example: B00TLZ3J3K |
There is no data on this ASIN from audible:
This ASIN seems ok to me. |
I have tried the following: B09VHWHJS2 The last one I'm not sure is a valid ASIN but it's what Audible.com lists in the bit where the ASINs usually are for Obama's A Promised Land. |
May I ask where you are getting some of these? 3 of them are valid (including the last one). The others have no data from Audible, so I'm not sure where you got them? Such as |
It’s possible I got some from Amazon or Audible UK which explains why some don’t work but the fact that three are valid yet still return Bad ASIN or Server Error 500 messages is obviously the main concern here. |
Also get Bad ASIN on B00JQN221C Which then led to Bragibooks crashing Further bad ASINs are: B00VXXUFYO |
Ready Player One: B005HG7BWC Comes from Amazon's Audiobook option here: |
That's great, but still crashes for me. I now tried 3844920684 by using Audible.com and taking the ASIN from the URL: It downloads the cover and then crashes with server error 500 again. I restarted the Docker container beforehand and this is what the log output is:
|
If you can get your logs that would help explain what caused the issue.
You need the actual ASIN from Audible.com itself. Amazon lists different ASINs on their product page.
Is this the end of the log? It looks like it's cut off at the bottom. |
Sorry, obviously I did not mark everything when copying. This time it should be complete:
My guess is the 'bit_rate' key, but I did not look into that Python file to verify this, as that's not my kind of expertise. About 6 hours ago Watchtower updated the image for the container, so it should be running the latest release. |
The logs from Docker? Weirdly after it crashed it seems to have wiped the logs but I will see what I can find and post here in due course. |
@Hoempi interesting. What does
return? The error is caused by the source file not having bit rate info for the audio, which is quite odd. I should be able to improve the fault here, and let the program auto determine a bitrate to use, which won't be optimal but won't crash. |
Will gladly do so, but where to find that command? I started the terminal in the container, but the command was not recognized. I also did not find it in the subdirs I took a look into. On a side note, these are both books which came as MP3 CDs. I will try later with something I ripped myself with fre:ac. //Edit: I tried with an audiobook I ripped myself using fre:ac to FLAC and then Audacity to have the individual tracks grouped into one file per chapter. I got the same error. |
This is what my Docker logs say but they did in fact clear at some point after it crashed 2022-09-11T13:36:17.868544935Z stdout [2022-09-11 13:36:17 +0000] [26] [INFO] Handling signal: winch |
Please everyone try the new |
Good morning @djdembeck, thanks a lot, that seems to have fixed the bug with the bit_rate. I got to the confirmation page. But from there it returned to the import page:
But the container has a UID/GID pair with write privileges and was able to create the folder structure as well as the chapter textfile: |
I'm afraid I'm still getting Bad ASIN errors on several ASINs like 0241991420 and B00VXXUFYO... |
Fixed in the latest docker version, it was an m4b-tool issue.
|
Great, thanks a lot. I’ll be looking out for a Watchtower notification. |
Watchtower updated and I could succesfully create a first .m4b. Playing and fast forwarding to the end shows it seems to be complete. However, after entering the ASIN I never got to the confirmation page, it just started right away. I guess this is not intended? Should I open a new bug issue, to not mix topics? //Edit: Nevermind. I just realized, that the "Confirm" page is intended to be the endpoint of the process, showing the result. |
I'm afraid there isn't anything in my log - it keeps getting wiped? Here's it's most recent entry:
|
These are just the startup logs, which offer no information on what went wrong. If your system is clearing the logs on docker restart, you can try following the logs manually with |
Sorry for the long delay in reply. I'm still getting the error even when using your tool to search for a book by name - ie with an ASIN Bragibooks has found. Are these the logs you're after? date stream content |
I am correctly using the Audible.com ASINs but Bragi always comes back and says either 'incorrect ASIN' or it ends up crashing and giving me a Server 500 error. Any idea on how this can be fixed?
The text was updated successfully, but these errors were encountered: