lay295 / TwitchDownloader

Twitch VOD/Clip Downloader - Chat Download/Render/Replay
MIT License
2.54k stars 260 forks source link

The operation was canceled. at Throw ERROR: The process cannot access the file #958

Open QcNumber1 opened 5 months ago

QcNumber1 commented 5 months ago

Checklist

Edition

Select an Option

Describe your issue here

been trying to download vods but I kept getting the same issue 4 errors were encountered while downloading: The operation was canceled. at MoveNext, The operation was canceled. at Throw ERROR: The process cannot access the file 'C:\Users(myname)\AppData\Local\Temp\TwitchDownloader\2044670138_1706350176235\1734.ts' because it is being used by another process. I have reinstall app, clear cache reboot still comes up again

Screenshot 2024-01-27 051524

Add any related files or extra information here

VOD: I try to download 2044670138 crop from 04h31m30s to end

QcNumber1 commented 5 months ago

I went and get previous version 1.53.9 and I didn't get anymore errors but I retry the current version still same issue. I also notice when I try to get the second half of the stream (cause I upload them in archives to Youtube but if they are over 6hrs I can't edit using YT tools and if over 12hrs I can't upload them either to YT) the video downloads the remaining stream BUT it also creates a file that would be the length of the FULL stream but with no video and just cause the video to end or crash the app video

ScrubN commented 5 months ago

been trying to download vods but I kept getting the same issue 4 errors were encountered while downloading: The operation was canceled. at MoveNext, The operation was canceled. at Throw ERROR: The process cannot access the file 'C:\Users(myname)\AppData\Local\Temp\TwitchDownloader\2044670138_1706350176235\1734.ts' because it is being used by another process. I have reinstall app, clear cache reboot still comes up again

It should allow for 10 errors before it stops working, hmmm. I really need to make the logging more verbose because this unfortunately doesn't tell me enough information.

I went and get previous version 1.53.9 and I didn't get anymore errors but I retry the current version still same issue

Strange, 1.53.9 -> 1.54.0 only had one change made to the video downloader and that was fixing an issue that caused incorrect cropping.

BUT it also creates a file that would be the length of the FULL stream but with no video and just cause the video to end or crash the app video

This is probably the aforementioned cropping issue that was fixed in 1.54.0.