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: Unable to download video subtitles for 'en': [Errno 2] No such file or directory" with m3u8 webvtt subs #4521
Comments
I also have this issue on 2023.10.13:
I can confirm it's not site-specific. I get it on the Rooster Teeth website. Note that the error is a local
The first exception in that chain of exceptions is:
And the last one is:
|
Also, repeatedly attempting the same video eventually succeeds. It's like I'm gradually warming up some cache that the subs are being served from. Best way to repro is to download an entire series or something, probably one of the older or less-popular ones (I'm downloading “RWBY” which is several years old). Sooner or later, you'll hit this on some video, and probably be able to hit it a few times before all the subs eventually succeed and yt-dlp proceeds to download the video and audio streams. |
I particularly encountered this on “RWBY” seasons 3 through 7. 1, 2, and 8 all downloaded without trouble. |
… the retry to resume from 0.
) Closes yt-dlp#4521 Authored by: boredzo
Checklist
Provide a description that is worded well enough to be understood
I'm having an recurring issue where yt-dlp will fail to download a fragment, but error out because it can't find the downloaded fragment file instead of retrying the download. When it happens, if I re-run the command, yt-dlp retrieves the previously missing fragment and continues with the download normally. This sometimes doesn't happen for a stream. Sometimes several times in one stream. If I download the same stream multiple times, the error will occur for different fragments. It only happens with the vtt stream. The audio and video streams don't exhibit this issue.
For example:
(see #4521 (comment))
ERROR: Unable to download video subtitles for 'en': [Errno 2] No such file or directory: 'Stargate SG-1/Season 09/Stargate SG-1 s09e20 Camelot.en.vtt.part-Frag244.part'
When I immediately re-ran the command, Frag244 was downloaded without error and the download completed without issue.
I don't think this is the PlutoTV server returning a 404 or other error because when that's happened it's repeatable (the same fragment always fails) and the error yt-dlp gives in those cases is different. This error is almost like yt-dlp fully believes it downloaded Frag244 and is now surprised it's not there.
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: