-
Notifications
You must be signed in to change notification settings - Fork 905
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
Chocolatey timed out immediately when execution timeout was infinite (0) #1224
Comments
|
Regarding the first error message, this looks like choco isn't correctly parsing the number 0 as inifite (as it should be in 0.10.4), smells like a bug to me. Your second error message is known already though, see #1220. |
Found and fixed |
When CommandExecutionTimeoutSeconds is set to 0, do not set the WebResponseTimeout environment variable, let it be the default. Also if the wait time is 0, do not set a timeout on the execute task.Wait.
* stable: (version) 0.10.5 (doc) update CHANGELOG/nuspec (GH-1224) support longer timeouts (doc) update CHANGELOG/nuspec (GH-1222) choco outdated -r output - no header (maint) update NuGet.Core (GH-1220) Use old method (GH-1220) Fix: PowerShell blocks fail in Start-ChocolateyProcessAsAdmin (doc) update CHANGELOG/nuspec
Still have the problem. Same problem with virtualclonedrive, below powershell errors out. NOTE: I assume this was fixed in 0.10.5?
Logs
|
|
I passed the 0 in on the command line, looks like there is more work to do as it did not accept it. Led me to believe this was fixed in a cursory test of the functionality. |
@basictheprogram give this a shot - https://chocolatey.box.com/s/zt84mz4rh9hvgsy4hnk35pohtfoseqn0 Instructions for anyone who needs them:
|
When the wait time is 0, do not set a timeout on the execute task.Wait.
What You Are Seeing?
VirtualCloneDrive v5.5.0.20160317 [Approved]
virtualclonedrive package files install completed. Performing other installation steps.
Chocolatey timed out waiting for the command to finish. The timeout
specified (or the default value) was '0' seconds. Perhaps try a
higher
--execution-timeout
? Seechoco -h
for details.The install of virtualclonedrive was NOT successful.
Does this for any package I try to install.
What is Expected?
VirtualCloneDrive (or the named package) would be installed
How Did You Get This To Happen? (Steps to Reproduce)
PS C:\ProgramData\chocolatey\bin> choco.exe install virtualclonedrive
Workaround
Admin note: Adjust the value in the config file directly for now.
Output Log
The text was updated successfully, but these errors were encountered: