-
Notifications
You must be signed in to change notification settings - Fork 59
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: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) #982
Comments
It appears to be choking on an invalid archive file.
I'm not sure how it ended up writing a corrupted archive file, but that seems to be the core issue. Bh7Xf3Ox7K8 is a valid youtube video id for the associated channel. |
Yep that is the reason. I think I need to find a way to prevent this, have seen this multiple times now. |
Hmm actually, this looks like a yt-dlp archive which is different than a ytdl-sub archive. Not sure how that happened. Unfortunately the best way to proceed is to probably delete the archive and redownload |
Attempts to make writes to the download archive safer (#982). `ytdl-sub` will now *copy* the download archive from the working directory to the output directory with a temp name, then perform a *move* to store it with its final expected name. This will drastically lower the window of time where the process could die mid-write and corrupt it on the next read.
Going to close this issue out now that there's a fix. Thanks again for the bug report |
I believe this configuration has worked for a while, so I'm not sure why it's erroring out now. Log, config, and subscription attached.
config-and-logs.zip
The text was updated successfully, but these errors were encountered: