[BUG] Issue when using CLI to download a stream on ubuntu
See original GitHub issueI get following error when downloading a stream using the CLI with Ubuntu 20.4.1 LTS server:
Unhandled exception. System.AggregateException: One or more errors occurred. (No such file or directory) —> System.ComponentModel.Win32Exception (2): No such file or directory at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec) at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start() at TwitchDownloaderCore.VideoDownloader.<>c__DisplayClass2_1.<DownloadAsync>b__2() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) — End of stack trace from previous location where exception was thrown — at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) — End of stack trace from previous location where exception was thrown — at TwitchDownloaderCore.VideoDownloader.DownloadAsync(IProgress`1 progress, CancellationToken cancellationToken) — End of inner exception stack trace — at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.Wait() at TwitchDownloaderCLI.Program.DownloadVideo(Options inputOptions) at TwitchDownloaderCLI.Program.Main(String[] args) Aborted
Command used is: ./TwitchDownloaderCLI -m VideoDownload --id 800525570 -o video.mp4
It happens right after [STATUS] - Finalizing MP4 (3/3)
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
It’s supposed to take the executable from the path, and since it works for the chat render it’s a bug. I’ll try and reproduce it and fix it later when I have time
Should be fixed in 1.38