-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Bad Request: /api/source-file/youtube/ #764
Comments
Running ▶ docker compose exec api bash
root@04d350116702:/webapp# yt-dlp https://www.youtube.com/watch?v=XutKfAL7wx8
[youtube] Extracting URL: https://www.youtube.com/watch?v=XutKfAL7wx8
[youtube] XutKfAL7wx8: Downloading webpage
[youtube] XutKfAL7wx8: Downloading ios player API JSON
[youtube] XutKfAL7wx8: Downloading android player API JSON
[youtube] XutKfAL7wx8: Downloading m3u8 information
[info] XutKfAL7wx8: Downloading 1 format(s): 616+251
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 48
[download] Destination: Khruangbin - August 10 [XutKfAL7wx8].f616.mp4
[download] 100% of 26.64MiB in 00:00:11 at 2.41MiB/s
[download] Destination: Khruangbin - August 10 [XutKfAL7wx8].f251.webm
[download] 100% of 4.39MiB in 00:00:00 at 9.22MiB/s
[Merger] Merging formats into "Khruangbin - August 10 [XutKfAL7wx8].webm"
Deleting original file Khruangbin - August 10 [XutKfAL7wx8].f251.webm (pass -k to keep)
Deleting original file Khruangbin - August 10 [XutKfAL7wx8].f616.mp4 (pass -k to keep)
root@04d350116702:/webapp# |
And the sanity check:
|
I see I missed some relevant logs:
|
I used the chrome inspector and see that there is a response for the call to
That seems to be the same error than this issue #519 however note that the error doesn't display on the frontend unlike the first screenshot on that issue. Seems the error is thrown here spleeter-web/api/validators.py Lines 45 to 56 in df53bf3
I'll try and log the message for that DownloadError exception. |
Ah ha! I removed the outer
It makes sense as there was a previous attempt that failed in the database. And indeed if I remove that previous entry, everything works! I'll keep the ticket open as a reminder that maybe error reporting could be improved here (and seems to also not work as it did previously compared to the linked issue's screenshot) by adding extra information from the Thanks again for the great project 🙏 |
Thanks for the detailed issue! Just to clarify, did you just delete the track from the UI and reimported the link? Or did you have to manually delete it from the database? |
When inputting a youtube link in the upload modal, the spinner resolves as a cross and it's not possible to click next, and the following logs are emitted:
I'm running the latest gpu containers:
The text was updated successfully, but these errors were encountered: