Closed JamynShanley closed 1 month ago
It appears to be choking on an invalid archive file.
[pid 1666426] read(32, "---\n__preset__:\n preset: \"youtu"..., 8192) = 1005 <0.000008>
[pid 1666426] read(32, "", 8192) = 0 <0.000006>
[pid 1666426] read(32, "", 8192) = 0 <0.000007>
[pid 1666426] read(32, "youtube Bh7Xf3Ox7K8\n", 21) = 20 <0.000023>
[pid 1666426] read(32, "", 1) = 0 <0.000006>
[pid 1666426] write(1, "[ytdl-sub] An uncaught error occ"..., 1239[ytdl-sub] An uncaught error occurred:
$ cat ytdl-sub-Smarter\ Every\ Day-download-archive.json
youtube Bh7Xf3Ox7K8
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. For now, try to manually fix it
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
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