You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[WARNING] --chat-connections has been deprecated in favor of -t / --threads and may be removed. Run 'TwitchDownloaderCLI.exe help' for more information.
TwitchDownloaderCLI 1.55.0 Copyright (c) lay295 and contributors
[STATUS] - Downloading 100%
[STATUS] - Downloading Embed Images 25%Unhandled exception. System.AggregateException: One or more errors occurred. (A task was canceled.)
---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at TwitchDownloaderCLI.Modes.DownloadChat.Download(ChatDownloadArgs inputOptions) in TwitchDownloader\TwitchDownloaderCLI\Modes\DownloadChat.cs:line 23
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
at TwitchDownloaderCLI.Program.Main(String[] args) in TwitchDownloader\TwitchDownloaderCLI\Program.cs:line 34
--- End of stack trace from previous location ---
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at TwitchDownloaderCLI.Modes.DownloadChat.Download(ChatDownloadArgs inputOptions) in TwitchDownloader\TwitchDownloaderCLI\Modes\DownloadChat.cs:line 23
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
at TwitchDownloaderCLI.Program.Main(String[] args) in TwitchDownloader\TwitchDownloaderCLI\Program.cs:line 34
TwitchDownloader\TwitchDownloaderCLI\bin\Release\net6.0\TwitchDownloaderCLI.exe (process 8564) exited with code 0.
The loop variable ends up being null at some point, which causes the call to GetImage() to be invoked with an url of https://static-cdn.jtvnw.net/emoticons/v2//default/dark/2.0, which obviously fails to produce anything useful.
It's unclear to me whether this is just missing a null check (if so, how was this never noticed before?) or whether there's an underlying issue here that I'm not seeing due to lack of familiarity with this code.
Add any related files or extra information here
No response
The text was updated successfully, but these errors were encountered:
Checklist
Edition
Command Line Interface
Describe your issue here
Command line arguments:
Output with somewhat useless stack trace:
Actual stack:
I've debugged this a little bit and the cause seems to stem from this loop here:
TwitchDownloader/TwitchDownloaderCore/TwitchHelper.cs
Lines 540 to 549 in d42d70b
The loop variable ends up being
null
at some point, which causes the call toGetImage()
to be invoked with an url ofhttps://static-cdn.jtvnw.net/emoticons/v2//default/dark/2.0
, which obviously fails to produce anything useful.It's unclear to me whether this is just missing a null check (if so, how was this never noticed before?) or whether there's an underlying issue here that I'm not seeing due to lack of familiarity with this code.
Add any related files or extra information here
No response
The text was updated successfully, but these errors were encountered: