windows-installer icon indicating copy to clipboard operation
windows-installer copied to clipboard

Error on macOS 10.15 (Catalina) in Squirrel.Utility.CreateZipFromDirectory

Open skydzo opened this issue 5 years ago • 9 comments

Hello, since I passed on Catalina i can't build an exe for windows. I have the latest version of the package. Thanks. The exact error is No dice: Failed with exit code: 255 Output: System.AggregateException: One or more errors occurred. () ---> System.Exception at Squirrel.Utility.CreateZipFromDirectory (System.String zipFilePath, System.String inFolder) [0x00119] in :0 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <6e26a535bf76467f9082042847cb7d56>:0 at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <6e26a535bf76467f9082042847cb7d56>:0 at System.Threading.Tasks.Task.Wait () [0x00000] in <6e26a535bf76467f9082042847cb7d56>:0 at Squirrel.ReleasePackage.CreateReleasePackage (System.String outputFile, System.String packagesRootDir, System.Func2[T,TResult] releaseNotesProcessor, System.Action1[T] contentsPostProcessHook) [0x001f7] in :0 at Squirrel.Update.Program.Releasify (System.String package, System.String targetDir, System.String packagesDir, System.String bootstrapperExe, System.String backgroundGif, System.String signingOpts, System.String baseUrl, System.String setupIcon, System.Boolean generateMsi, System.String frameworkVersion, System.Boolean generateDeltas) [0x00214] in :0 at Squirrel.Update.Program.executeCommandLine (System.String[] args) [0x004a2] in :0 at Squirrel.Update.Program.main (System.String[] args) [0x00082] in :0 at Squirrel.Update.Program.Main (System.String[] args) [0x00006] in :0 ---> (Inner Exception #0) System.Exception at Squirrel.Utility.CreateZipFromDirectory (System.String zipFilePath, System.String inFolder) [0x00119] in :0 <---

skydzo avatar Jan 30 '20 15:01 skydzo

This is a bug upstream with Squirrel.Windows.

malept avatar Mar 31 '20 22:03 malept

Upstream bug: https://github.com/Squirrel/Squirrel.Windows/issues/1605

malept avatar Mar 31 '20 22:03 malept

Is there any status update on this? It appears the Upstream bug at https://github.com/Squirrel/Squirrel.Windows/issues/1605 was resolved in December?

bradleyasu avatar Feb 06 '21 19:02 bradleyasu

@bradleyasu The change you're referring to is only in a fork, not upstream.

malept avatar Feb 06 '21 20:02 malept

@bradleyasu The change you're referring to is only in a fork, not upstream.

My mistake, you are absolutely correct!

bradleyasu avatar Feb 06 '21 22:02 bradleyasu

Same for me on macOS Big Sur 11.2 (20D64), Any update on this issue?

hackash avatar Mar 06 '21 13:03 hackash

Whoever is experiencing this issue, you can use the this docker image as a quick workaround:

hackash avatar Mar 08 '21 20:03 hackash

Same for me on Big Sur 11.3 (20E5196f)

baptisteArno avatar Mar 10 '21 17:03 baptisteArno

I'm locking this since it's an upstream issue and it won't be fixed here. There's no point in asking here if there's any update on the issue, or saying "it happens for me too".

malept avatar May 13 '21 05:05 malept