Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.IO.IOException: Stream was too long (3 GB package fails to upload) #111

Open
jinek opened this issue Aug 27, 2021 · 0 comments
Open

Comments

@jinek
Copy link

jinek commented Aug 27, 2021

[Axis.Data.Linear.Demo.1.0.0.nupkg]: Stream was too long.
System.IO.IOException: Stream was too long.
   at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Stream.CopyTo(Stream destination, Int32 bufferSize)
   at System.IO.Stream.CopyTo(Stream destination)
   at GprTool.IoExtensions.ReadSharedToStream(String filename) in /home/runner/work/gpr/gpr/src/GprTool/IoExtensions.cs:line 68
   at GprTool.NuGetUtilities.ReadNupkgManifest(String nupkgPath) in /home/runner/work/gpr/gpr/src/GprTool/NuGetUtilities.cs:line 109
   at GprTool.NuGetUtilities.ShouldRewriteNupkg(PackageFile packageFile, NuGetVersion nuGetVersion) in /home/runner/work/gpr/gpr/src/GprTool/NuGetUtilities.cs:line 137
   at GprTool.PushCommand.<OnExecuteAsyncImpl>g__UploadPackageAsync|1_3(PackageFile packageFile, NuGetVersion nuGetVersion, String token, IAsyncPolicy`1 retryPolicy, CancellationToken cancellationToken) in /home/runner/work/gpr/gpr/src/GprTool/Program.cs:line 509
   at GprTool.EnumerableExtensions.<>c__DisplayClass0_1`1.<<ForEachAsync>b__1>d.MoveNext() in /home/runner/work/gpr/gpr/src/GprTool/EnumerableExtensions.cs:line 34
--- End of stack trace from previous location ---
   at GprTool.PushCommand.OnExecuteAsyncImpl(CommandLineApplication app, CancellationToken cancellationToken) in /home/runner/work/gpr/gpr/src/GprTool/Program.cs:line 493
   at GprTool.GprCommandBase.OnExecuteAsync(CommandLineApplication app, CancellationToken cancellationToken) in /home/runner/work/gpr/gpr/src/GprTool/Program.cs:line 793
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.InvokeAsync(MethodInfo method, Object instance, Object[] arguments)
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.OnExecute(ConventionContext context, CancellationToken cancellationToken)
   at McMaster.Extensions.CommandLineUtils.Conventions.ExecuteMethodConvention.<>c__DisplayClass0_0.<<Apply>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync[TApp](CommandLineContext context, CancellationToken cancellationToken)
   at GprTool.Program.Main(String[] args) in /home/runner/work/gpr/gpr/src/GprTool/Program.cs:line 56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant