-
Notifications
You must be signed in to change notification settings - Fork 1k
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
0.8.0 Squirrel.exe seems to return a -1 to the console #204
Comments
Squirrel.exe's exit code should only be non-zero if an exception was thrown, check the SquirrelSetup.log file that got generated (it's right next to Squirrel.exe as I recall) |
Seems to only be happening on the build server(s)... I have a production build server, and one I was using for experiments... Both TeamCity, both 9.0.1.... The SquirrelSetup.log file contains:
No errors... so confusing why this is throwing a -1. If I build the same project on my dev machine, it works as expected. Both Servers are Server 2012 R2, and my development machine is Windows 8.1 Should I not be executing the pack as a PostBuild of my WPF app project's build process? |
That should be fine. Are you sure you're capturing stdout / stderr from Squirrel? I feel like an exception should show up in either there or the SquirrelSetup.log file |
Agreed. What you're seeing is what is in the log file and what came out of MSBuild during the build operation. I'm going to see if i can run msbuild on the build server, and see if that brings further clues. Maybe a MSBuild extension for this tool? |
a bit more details:
|
@dealproc Does that path exist? |
Seems to:
|
@dealproc Can you run the rcedit command that it was trying to run and see what the output is? I've never heard of rcedit failing, it's super simple and dumb |
Interesting, I'm also seeing this in my AppVeyor builds: https://ci.appveyor.com/project/flagbug/espera/build/2.12.504.2 Running the script locally works fine though |
nothing, completely blank screen. no help text either. |
@flagbug What happens when you remove the quotes from "party mode"? |
@paulcbetts Yup, works now, thanks! |
So still not convinced it's not something with Squirrel.Windows. I rolled back to 0.7.2 and it compiles fine both on a developer box, and on a build server... Rolled forward again to 0.8.0, and running into the same issue on the build server. If you like, the repository is available here to work with: |
This is definitely a bug in Squirrel.Windows, it can just be worked around sometimes. Basically, we're building a command via string concatenation and that can fall over sometimes. What I don't understand is why this only happens to you on a build server |
Yea, agreed. That's why i have a demo project that I'm experimenting with on this before I upgrade the main project, and why I offered you a solution to test. I'm running this on a stock Server 2012 R2 Datacenter... This is what I have installed on the system...
If there's anything I can do in order to help you reproduce the issue, so that you can better see what's happening in your code, let me know, and I'll be happy to oblige. |
0.8.2 should fix this issue, reopen it if you see it again |
During a build, the
Squirrel.exe
application during a-releaseify
run seems to be returning a -1 to the console, which is causing TeamCity/MSBuild to call the execution a failure.Is there/was there a change to
-releaseify=
that is causing this -1 to be kicked to the console?Console Output (From TeamCity)
Maybe I did something incorrectly on the update to 0.8.0, but i feel as if this is something new in Squirrel.Windows 0.8.0
The text was updated successfully, but these errors were encountered: