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
Process with an id of is not running errors on 0.9.9.8 #346
Comments
This commit first appears in 0.9.8.28: |
Dump the try catch in the package (and the write-success/write-failure) - that way we can see which line is triggering the issue. I'm thinking it might be the second call in a row to |
ping @cleung2010 - have you had an opportunity to gather more information related to this? |
Sorry, I have been quite busy lately. I'll try to do a test run with the suggested changes sometime this week. |
Thanks for the update! :) |
The commit ea6f1ff tried to fix the following error: > Process with an id of XXX is not running It succeed for powershell v3, but not with v2. Using a .NET style start process it's compatible with powershell v2.
The commit ea6f1ff tried to fix the following error: > Process with an id of XXX is not running It succeeded for powershell v3, but not always with v2. Use the same .NET style start process that is used with `Start-ChocolateyProcessAsAdmin` as it is known to be compatible with all versions of PowerShell.
* use_net: (GH-346) Use .NET start process to fix PS v2 issue
* stable: (GH-346) Use .NET start process to fix PS v2 issue
Closed by #400 |
Awesome! Any ETA on when it's going to be released? Sorry for bailing on dumping my more logs on this, but glad it's resolved now. |
Redirecting output for 7za appears to cause it to lock up. Once you have the exitCode in checksumvalid, use that instead of attempting to check the process.
* stable: (version) 0.9.9.9 (chocolateyGH-346) additional cleanup # Conflicts: # .uppercut
Encountered the same issue as chocolatey-archive/chocolatey#603 on 0.9.9.8 and (and I get this same error on 0.9.8.28 too)
I have triage it down to
Get-ChocolateyUnzip.ps1
https://github.com/chocolatey/choco/blob/master/src/chocolatey.resources/helpers/functions/Get-ChocolateyUnzip.ps1#L95Further verified by running 7zip's GUI (so that there is a 7zip process running). The package installs fine when the GUI is opened, but when I close the program and there is no 7zip process the installation fails.
The same package also works fine on 0.9.8.27
The text was updated successfully, but these errors were encountered: