question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Issue when using CLI to download a stream on ubuntu

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lay295commented, Nov 18, 2020

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

0reactions
lay295commented, Nov 20, 2020

Should be fixed in 1.38

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to download videos from any site using terminal ...
I want to download any videos form any site using terminal command , I know " youtube-dl " but it doesn't download videos...
Read more >
Playing/output stream issue due to long segments ...
Download of HLS segment(s) may take too much time and/or attempts. As a result such stream can't be played fine. It seems like...
Read more >
Security - AppArmor
The optional apparmor-utils package contains command line utilities that you can use to change the AppArmor execution mode, find the status of a...
Read more >
Install the Azure CLI on Linux
This article explains how to install the Azure CLI on Linux. Select the appropriate package manager for your distribution from the options ...
Read more >
Downloading files with curl
Downloading files with curl. How to download files straight from the command-line interface. The curl tool lets us fetch a given URL from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found