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

Error is empty on subsequent failed installations #998

Open
4 tasks done
dr4kk4r opened this issue May 3, 2023 · 3 comments
Open
4 tasks done

Error is empty on subsequent failed installations #998

dr4kk4r opened this issue May 3, 2023 · 3 comments
Labels
0 - _Triaging Issue is accepted, but a milestone has yet to be added for the issue Bug Issues where something has happened which was not expected or intended
Milestone

Comments

@dr4kk4r
Copy link

dr4kk4r commented May 3, 2023

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.

What You Are Seeing?

When running as administrator if an installation fails an error is included in dialog.

image

When installation is attempted the second time an error is no longer included in dialog.

image

What is Expected?

Expected to see same error across multiple installation attempts.

How Did You Get This To Happen?

Attempted to install package via GUI and test error from scripts propagates to user via GUI dialog.

System Details

  • Operating System: Windows 10 Enterprise
  • Windows PowerShell version: 5.1.19041.2673
  • Chocolatey CLI Version: 1.3.1
  • Chocolatey Licensed Extension version: 1.3.1
  • Chocolatey License type: Free
  • Terminal/Emulator: PowerShell

Installed Packages

Chocolatey v1.3.1
chocolatey 1.3.1
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolateygui 1.1.2
dotnetfx 4.8.0.20220524
KB2919355 1.0.20160915
KB2919442 1.0.20160915

Output Log

Log Output

2023-05-03 13:30:16,152 14612 [DEBUG] - XmlConfiguration is now operational
2023-05-03 13:30:16,186 14612 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-05-03 13:30:16,189 14612 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-05-03 13:30:16,192 14612 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-05-03 13:30:16,195 14612 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-05-03 13:30:16,198 14612 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-05-03 13:30:16,201 14612 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-05-03 13:30:16,306 14612 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-05-03 13:30:16,309 14612 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-05-03 13:30:16,312 14612 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-05-03 13:30:16,315 14612 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-05-03 13:30:16,317 14612 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-05-03 13:30:16,320 14612 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-05-03 13:30:16,323 14612 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-05-03 13:30:16,326 14612 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-05-03 13:30:16,328 14612 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-05-03 13:30:16,331 14612 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-05-03 13:30:16,334 14612 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-05-03 13:30:16,337 14612 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-05-03 13:30:16,339 14612 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-05-03 13:30:16,342 14612 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-05-03 13:30:16,345 14612 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-05-03 13:30:16,348 14612 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-05-03 13:30:16,351 14612 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-05-03 13:30:16,354 14612 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-05-03 13:30:16,429 14612 [INFO ] - ============================================================
2023-05-03 13:30:16,723 14612 [DEBUG] - User may be subject to UAC, checking for a split token (not 100%
 effective).
2023-05-03 13:30:16,746 14612 [INFO ] - Chocolatey v1.3.1
2023-05-03 13:30:16,755 14612 [DEBUG] - Chocolatey is running on Windows v 10.0.19045.0
2023-05-03 13:30:16,758 14612 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-05-03 13:30:16,761 14612 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-05-03 13:30:16,769 14612 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" list chocolatey.extension --local --exact
2023-05-03 13:30:16,772 14612 [DEBUG] - Received arguments: list chocolatey.extension --local --exact
2023-05-03 13:30:16,807 14612 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-05-03 13:30:16,818 14612 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-05-03 13:30:16,824 14612 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-05-03 13:30:16,853 14612 [DEBUG] - Performing validation checks.
2023-05-03 13:30:16,858 14612 [DEBUG] - Global Configuration Validation Checks:
2023-05-03 13:30:16,862 14612 [DEBUG] -  - Package Exit Code / Exit On Reboot = Checked
2023-05-03 13:30:16,866 14612 [DEBUG] - System State Validation Checks:
2023-05-03 13:30:16,869 14612 [DEBUG] -  Reboot Requirement Checks:
2023-05-03 13:30:16,873 14612 [DEBUG] -  - Pending Computer Rename = Checked
2023-05-03 13:30:16,877 14612 [DEBUG] -  - Pending Component Based Servicing = Checked
2023-05-03 13:30:16,880 14612 [DEBUG] -  - Pending Windows Auto Update = Checked
2023-05-03 13:30:16,883 14612 [DEBUG] -  - Pending File Rename Operations = Ignored
2023-05-03 13:30:16,886 14612 [DEBUG] -  - Pending Windows Package Installer = Checked
2023-05-03 13:30:16,890 14612 [DEBUG] -  - Pending Windows Package Installer SysWow64 = Checked
2023-05-03 13:30:16,894 14612 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-05-03 13:30:16,906 14612 [DEBUG] - The source 'C:\choco_scripts_branch\chocolatey\' evaluated to a 'normal' source type
2023-05-03 13:30:16,909 14612 [DEBUG] - 
NOTE: Hiding sensitive configuration data! Please double and triple
 check to be sure no sensitive data is shown, especially if copying
 output to a gist for review.
2023-05-03 13:30:16,918 14612 [DEBUG] - Configuration: CommandName='list'|
CacheLocation='C:\Users\y\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='C:\choco_scripts_branch\chocolatey\'|

SourceType='normal'|Debug='False'|Verbose='False'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|DisableCompatibilityChecks='False'|
AcceptLicense='False'|AllowUnofficialBuild='False'|
Input='chocolatey.extension'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19045.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='1.3.1.0'|
Information.ChocolateyProductVersion='1.3.1'|
Information.FullName='choco, Version=1.3.1.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='y'|Information.UserDomainName='X'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='True'|Information.IsUserRemote='True'|
Information.IsProcessElevated='False'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\test_package'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='True'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='True'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-05-03 13:30:16,921 14612 [DEBUG] - _ Chocolatey:ChocolateyListCommand - Normal Run Mode _
2023-05-03 13:30:16,927 14612 [DEBUG] - Searching for package information
2023-05-03 13:30:16,933 14612 [DEBUG] - Running list with the following filter = 'chocolatey.extension'
2023-05-03 13:30:16,936 14612 [DEBUG] - --- Start of List ---
2023-05-03 13:30:16,971 14612 [DEBUG] - Using 'C:\ProgramData\chocolatey\lib'.
2023-05-03 13:30:16,974 14612 [DEBUG] - - Supports prereleases? 'True'.
2023-05-03 13:30:16,977 14612 [DEBUG] - - Is ServiceBased? 'False'.
2023-05-03 13:30:17,034 14612 [DEBUG] - --- End of List ---
2023-05-03 13:30:17,037 14612 [WARN ] - 0 packages installed.
2023-05-03 13:30:17,043 14612 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-05-03 13:30:17,047 14612 [DEBUG] - Exiting with 0
2023-05-03 13:31:15,699 11520 [DEBUG] - XmlConfiguration is now operational
2023-05-03 13:31:15,733 11520 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
2023-05-03 13:31:15,736 11520 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
2023-05-03 13:31:15,739 11520 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
2023-05-03 13:31:15,742 11520 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
2023-05-03 13:31:15,745 11520 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
2023-05-03 13:31:15,748 11520 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
2023-05-03 13:31:15,852 11520 [DEBUG] - Registering new command 'templates' in assembly 'choco'
2023-05-03 13:31:15,855 11520 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
2023-05-03 13:31:15,858 11520 [DEBUG] - Registering new command 'export' in assembly 'choco'
2023-05-03 13:31:15,861 11520 [DEBUG] - Registering new command 'list' in assembly 'choco'
2023-05-03 13:31:15,864 11520 [DEBUG] - Registering new command 'info' in assembly 'choco'
2023-05-03 13:31:15,867 11520 [DEBUG] - Registering new command 'help' in assembly 'choco'
2023-05-03 13:31:15,870 11520 [DEBUG] - Registering new command 'config' in assembly 'choco'
2023-05-03 13:31:15,872 11520 [DEBUG] - Registering new command 'feature' in assembly 'choco'
2023-05-03 13:31:15,875 11520 [DEBUG] - Registering new command 'new' in assembly 'choco'
2023-05-03 13:31:15,878 11520 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
2023-05-03 13:31:15,881 11520 [DEBUG] - Registering new command 'pack' in assembly 'choco'
2023-05-03 13:31:15,884 11520 [DEBUG] - Registering new command 'pin' in assembly 'choco'
2023-05-03 13:31:15,886 11520 [DEBUG] - Registering new command 'push' in assembly 'choco'
2023-05-03 13:31:15,889 11520 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
2023-05-03 13:31:15,892 11520 [DEBUG] - Registering new command 'sources' in assembly 'choco'
2023-05-03 13:31:15,895 11520 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
2023-05-03 13:31:15,898 11520 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
2023-05-03 13:31:15,901 11520 [DEBUG] - Registering new command 'install' in assembly 'choco'
2023-05-03 13:31:15,976 11520 [INFO ] - ============================================================
2023-05-03 13:31:16,261 11520 [DEBUG] - User may be subject to UAC, checking for a split token (not 100%
 effective).
2023-05-03 13:31:16,284 11520 [INFO ] - Chocolatey v1.3.1
2023-05-03 13:31:16,293 11520 [DEBUG] - Chocolatey is running on Windows v 10.0.19045.0
2023-05-03 13:31:16,297 11520 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2023-05-03 13:31:16,300 11520 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2023-05-03 13:31:16,308 11520 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" list -lo
2023-05-03 13:31:16,311 11520 [DEBUG] - Received arguments: list -lo
2023-05-03 13:31:16,345 11520 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2023-05-03 13:31:16,355 11520 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2023-05-03 13:31:16,362 11520 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2023-05-03 13:31:16,392 11520 [DEBUG] - Performing validation checks.
2023-05-03 13:31:16,397 11520 [DEBUG] - Global Configuration Validation Checks:
2023-05-03 13:31:16,400 11520 [DEBUG] -  - Package Exit Code / Exit On Reboot = Checked
2023-05-03 13:31:16,404 11520 [DEBUG] - System State Validation Checks:
2023-05-03 13:31:16,408 11520 [DEBUG] -  Reboot Requirement Checks:
2023-05-03 13:31:16,412 11520 [DEBUG] -  - Pending Computer Rename = Checked
2023-05-03 13:31:16,415 11520 [DEBUG] -  - Pending Component Based Servicing = Checked
2023-05-03 13:31:16,418 11520 [DEBUG] -  - Pending Windows Auto Update = Checked
2023-05-03 13:31:16,422 11520 [DEBUG] -  - Pending File Rename Operations = Ignored
2023-05-03 13:31:16,425 11520 [DEBUG] -  - Pending Windows Package Installer = Checked
2023-05-03 13:31:16,428 11520 [DEBUG] -  - Pending Windows Package Installer SysWow64 = Checked
2023-05-03 13:31:16,433 11520 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
2023-05-03 13:31:16,444 11520 [DEBUG] - The source 'C:\choco_scripts_branch\chocolatey\' evaluated to a 'normal' source type
2023-05-03 13:31:16,447 11520 [DEBUG] - 
NOTE: Hiding sensitive configuration data! Please double and triple
 check to be sure no sensitive data is shown, especially if copying
 output to a gist for review.
2023-05-03 13:31:16,456 11520 [DEBUG] - Configuration: CommandName='list'|
CacheLocation='C:\Users\y\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='C:\choco_scripts_branch\chocolatey\'|

SourceType='normal'|Debug='False'|Verbose='False'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='True'|DisableCompatibilityChecks='False'|
AcceptLicense='False'|AllowUnofficialBuild='False'|AllVersions='False'|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|PinPackage='False'|
Information.PlatformType='Windows'|
Information.PlatformVersion='10.0.19045.0'|
Information.PlatformName='Windows 10'|
Information.ChocolateyVersion='1.3.1.0'|
Information.ChocolateyProductVersion='1.3.1'|
Information.FullName='choco, Version=1.3.1.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='y'|Information.UserDomainName='X'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='True'|Information.IsUserRemote='True'|
Information.IsProcessElevated='False'|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
Information.CurrentDirectory='C:\test_package'|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.LogWithoutColor='False'|
Features.VirusCheck='False'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseEnhancedExitCodes='False'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
Features.RemovePackageInformationOnUninstall='False'|
Features.ExitOnRebootDetected='False'|
Features.LogValidationResultsOnWarnings='True'|
Features.UsePackageRepositoryOptimizations='True'|
ListCommand.LocalOnly='True'|ListCommand.IdOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
ListCommand.DownloadCacheAvailable='False'|
ListCommand.NotBroken='False'|
ListCommand.IncludeVersionOverrides='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
UpgradeCommand.ExcludePrerelease='False'|
NewCommand.AutomaticPackage='False'|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
SourceCommand.AllowSelfService='False'|
SourceCommand.VisibleToAdminsOnly='False'|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
OutdatedCommand.IgnorePinned='False'|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
TemplateCommand.Command='unknown'|
2023-05-03 13:31:16,459 11520 [DEBUG] - _ Chocolatey:ChocolateyListCommand - Normal Run Mode _
2023-05-03 13:31:16,465 11520 [DEBUG] - Searching for package information
2023-05-03 13:31:16,471 11520 [DEBUG] - Running list with the following filter = ''
2023-05-03 13:31:16,474 11520 [DEBUG] - --- Start of List ---
2023-05-03 13:31:16,574 11520 [INFO ] - chocolatey 1.3.1
2023-05-03 13:31:16,589 11520 [INFO ] - chocolatey-compatibility.extension 1.0.0
2023-05-03 13:31:16,595 11520 [INFO ] - chocolatey-core.extension 1.4.0
2023-05-03 13:31:16,600 11520 [INFO ] - chocolatey-dotnetfx.extension 1.0.1
2023-05-03 13:31:16,622 11520 [INFO ] - chocolateygui 1.1.2
2023-05-03 13:31:16,628 11520 [INFO ] - dotnetfx 4.8.0.20220524
2023-05-03 13:31:16,634 11520 [INFO ] - KB2919355 1.0.20160915
2023-05-03 13:31:16,639 11520 [INFO ] - KB2919442 1.0.20160915
2023-05-03 13:31:16,644 11520 [DEBUG] - --- End of List ---
2023-05-03 13:31:16,647 11520 [WARN ] - 8 packages installed.
2023-05-03 13:31:16,651 11520 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2023-05-03 13:31:16,655 11520 [DEBUG] - Exiting with 0

Additional Context

No response

@dr4kk4r dr4kk4r added the Bug Issues where something has happened which was not expected or intended label May 3, 2023
@pauby pauby added this to the 2.2.0 milestone Jun 28, 2023
@corbob
Copy link
Member

corbob commented Mar 23, 2024

@dr4kk4r I was just looking at a potentially related issue the other day, and I am unable to reproduce this particular issue on the currently supported Chocolatey GUI 2.1.0 with Chocolatey CLI 2.2.2. Could you attempt to upgrade Chocolatey GUI and Chocolatey CLI to the 2.x versions by following the upgrade guide and let us know if the issue is still occurring for you?

Edit to acknowledge: When this issue was submitted, the latest version of Chocolatey CLI was 1.3.1, and Chocolatey GUI was 1.1.2.

@corbob corbob added 0 - Waiting on User Insufficient information for issue or PR, issue may be closed if no response from user 0 - _Triaging Issue is accepted, but a milestone has yet to be added for the issue and removed 0 - Waiting on User Insufficient information for issue or PR, issue may be closed if no response from user labels Mar 23, 2024
@corbob
Copy link
Member

corbob commented Mar 25, 2024

Actually, I have been able to reproduce this readily today, so I can say it is still a thing.

@corbob
Copy link
Member

corbob commented Apr 4, 2024

While investigating #967, I encountered this issue and did some debugging. From what I'm seeing, what is happening is:

Chocolatey GUI attempts to tap into and intercept the Chocolatey.Lib logs. On the first package install, it is able to intercept these messages, and populates error successfully. On subsequent runs, the grabErrors Action added to the logger interception, does not intercept any messages whatsoever. This results in not knowing about any errors when the final status is not a success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - _Triaging Issue is accepted, but a milestone has yet to be added for the issue Bug Issues where something has happened which was not expected or intended
Projects
None yet
Development

No branches or pull requests

3 participants