Aerion / uptobox-dl

An Uptobox/Uptostream batch downloader.
MIT License
52 stars 11 forks source link

Issue while downloading from UptoBox #12

Closed shivaram1231231 closed 1 year ago

shivaram1231231 commented 1 year ago

I am getting the following error when I try to download using uptobox-dl.exe. I entered my Uptobox token and the file from uptobox.

CMD: uptobox-dl.exe -t https://uptobox.com/

Error: 1 files to download (from 1 direct links and 0 folders) Start processing 1cnq13gnlj0y Caught exception - retrying once: System.InvalidOperationException: Nullable object must have a value. at System.Nullable1.get_Value() at UptoboxDl.Program.<>c.<DownloadFile>b__9_0(Object _, HttpProgressEventArgs args) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 206 at System.Net.Http.Handlers.ProgressMessageHandler.OnHttpResponseProgress(HttpRequestMessage request, HttpProgressEventArgs e) at System.Net.Http.Handlers.ProgressStream.ReportBytesReceived(Int32 bytesReceived, Object userState) at System.Net.Http.Handlers.ProgressStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) at System.IO.Stream.<CopyToAsync>g__Core|29_0(Stream , Stream , Int32 , CancellationToken ) at UptoboxDl.Program.DownloadFile(Uri link, String filename) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 220 at UptoboxDl.Program.RetryOnFailure(Func1 task) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 186 Caught exception - retrying once: System.InvalidOperationException: Nullable object must have a value. at System.Nullable1.get_Value() at UptoboxDl.Program.<>c.<DownloadFile>b__9_0(Object _, HttpProgressEventArgs args) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 206 at System.Net.Http.Handlers.ProgressMessageHandler.OnHttpResponseProgress(HttpRequestMessage request, HttpProgressEventArgs e) at System.Net.Http.Handlers.ProgressStream.ReportBytesReceived(Int32 bytesReceived, Object userState) at System.Net.Http.Handlers.ProgressStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) at System.IO.Stream.<CopyToAsync>g__Core|29_0(Stream , Stream , Int32 , CancellationToken ) at UptoboxDl.Program.DownloadFile(Uri link, String filename) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 220 at UptoboxDl.Program.RetryOnFailure(Func1 task) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 194 at UptoboxDl.Program.ProcessLink(String fileCode, Options opts) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 139 at UptoboxDl.Program.RetryOnFailure(Func1 task) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 186 Start processing 1cnq13gnlj0y File Armour.of.God.II.Operation.Condor.1991.Extended.Cut.720p.BluRay.x264.950MB-[Mkvking.com].mkv already exists, will be overwritten as size are different: local 0 b, uptobox 950.86 MiB Caught exception - retrying once: System.InvalidOperationException: Nullable object must have a value. at System.Nullable1.get_Value() at UptoboxDl.Program.<>c.b90(Object , HttpProgressEventArgs args) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 206 at System.Net.Http.Handlers.ProgressMessageHandler.OnHttpResponseProgress(HttpRequestMessage request, HttpProgressEventArgs e) at System.Net.Http.Handlers.ProgressStream.ReportBytesReceived(Int32 bytesReceived, Object userState) at System.Net.Http.Handlers.ProgressStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) at System.IO.Stream.gCore|29_0(Stream , Stream , Int32 , CancellationToken ) at UptoboxDl.Program.DownloadFile(Uri link, String filename) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 220 at UptoboxDl.Program.RetryOnFailure(Func1 task) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 186 Unhandled exception. System.InvalidOperationException: Nullable object must have a value. at System.Nullable1.get_Value() at UptoboxDl.Program.<>c.b90(Object , HttpProgressEventArgs args) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 206 at System.Net.Http.Handlers.ProgressMessageHandler.OnHttpResponseProgress(HttpRequestMessage request, HttpProgressEventArgs e) at System.Net.Http.Handlers.ProgressStream.ReportBytesReceived(Int32 bytesReceived, Object userState) at System.Net.Http.Handlers.ProgressStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) at System.IO.Stream.gCore|29_0(Stream , Stream , Int32 , CancellationToken ) at UptoboxDl.Program.DownloadFile(Uri link, String filename) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 220 at UptoboxDl.Program.RetryOnFailure(Func1 task) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 194 at UptoboxDl.Program.ProcessLink(String fileCode, Options opts) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 139 at UptoboxDl.Program.RetryOnFailure(Func1 task) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 194 at UptoboxDl.Program.Main(String[] args) in D:\a\uptobox-dl\uptobox-dl\uptobox-dl\Program.cs:line 67 at UptoboxDl.Program.

(String[] args)

G:\New folder\uptobox-dl-v1.4.1-win-x64>

Please advise.

Aerion commented 1 year ago

Hi, thanks for the report! Could you please try out the new version v1.4.2 that should address this specific issue? Cheers