chocolatey / chocolatey/ChocolateyGUI

Package uninstall failure error not providing error details.

Open
#429 4 comments 0 reactions 0 assignees View on GitHub
0 - Backlog Bug Up For Grabs
Dominant language
C#
Stars
1.8k
Forks
271
Avg merge
4d 13h
Merged PRs (30d)
1

Description

### What You Are Seeing?

When uninstalling a package fails, the results do not include any actionable information.

In version `0.14.0-unstable0245`:

![chocolatey](https://cloud.githubusercontent.com/assets/7604043/24949967/aa5bd00c-1f6f-11e7-8197-fb755af8e15a.jpg)

In version `1.1.0`:
2022-09-30_10-21-00

### What is Expected?

Some sort of error output, or an indication that there was no information.

### How Did You Get This To Happen? (Steps to Reproduce)

1. `choco install putty.portable`
2. Launch Chocolatey GUI and verify that `putty.portable` is showing as installed.
3. `choco uninstall putty.portable`
4. In Chocolatey GUI, find `putty.portable` and attempt to uninstall

### Additional Details

The code to generate this message is right here: https://github.com/chocolatey/ChocolateyGUI/blob/1595d271f44f29251c48b43e59c552b8aac37074/Source/ChocolateyGui.Common.Windows/ViewModels/Items/PackageViewModel.cs#L533-L538

### System Details

N/A

### Output Log

None at this time.

Contributor guide

Open the contributing guide

Research direction

Start in Source/ChocolateyGui.Common.Windows/ViewModels/Items/PackageViewModel.cs at lines 533-538, where the uninstall failure message is generated. Reproduce the failure with choco install putty.portable, choco uninstall putty.portable, and the Chocolatey GUI, then verify that the uninstall result shows actionable error details or clearly indicates that no information is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.