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

Package shows as installed in GUI when it did not actually install [Customer] #573

Closed
dfranciscus opened this issue Mar 16, 2018 · 6 comments
Labels
Bug Issues where something has happened which was not expected or intended
Milestone

Comments

@dfranciscus
Copy link

After failing a package (cygwin" in my example), when right clicking on the package again, it shows options to pin, uninstall, reinstall, details as if its installed but it did actually install. This would be confusing for users. Hitting "refresh packages fixed it" so the proper menu showed when right clicking again (install,details). I will send logs if needed.

@gep13
Copy link
Member

gep13 commented Mar 16, 2018

@dfranciscus if you could capture the full steps to reproduce the problem, so that we can troubleshoot the problem, that would help. In this case, I think you attempted the install using the background service, when it wasn't fully configured, right? If so, can you capture those steps here so that it doesn't get forgotten?

@ferventcoder ferventcoder added Bug Issues where something has happened which was not expected or intended Pro/Business Issues only relevant for Pro or Business customers Customer Bug reported or feature requested by a licensed customer of Chocolatey labels Jun 21, 2018
@ferventcoder
Copy link
Member

@exportgoldman
Copy link

The easiest way to repro is to install a package which has a missing dependancy. The command line will show a error, but the GUI will happily say it's installed until a refresh.
gui-problem

@gep13 gep13 added this to the 0.17.0 milestone Jun 22, 2018
@gep13
Copy link
Member

gep13 commented Apr 18, 2019

I am able to reproduce this problem, but only when running with the background service enabled. When running in normal mode, attempting the installation results in the following:

image

This was reproduced using:

image

I had hoped that this issue chocolatey/chocolatey-licensed-issues#51 would have helped with this, but looks like there is more work to be done here. I will continue to investigate.

@gep13
Copy link
Member

gep13 commented Apr 19, 2019

@dfranciscus @exportgoldman I have just re-tested this with the following installed:

image

Notice the change from chocolatey-agent 0.8.1 to 0.9.0, and I can confirm that any error returned from the background service is now being reflected in Chocolatey GUI. The changes made to background service, both within chocolatey.extension 2.0.0 and chocolatey-agent 0.9.0 are required to make Chocolatey GUI work correctly.

There is a side effect where the displayed error may not show the exact cause of the problem, and that is related to this issue:

#635

But for now, this issue can be closed. Please let me know if you have any questions.

@gep13 gep13 closed this as completed Apr 19, 2019
@gep13 gep13 changed the title Package shows as installed in GUI when it did not actually install Package shows as installed in GUI when it did not actually install [Customer] Mar 26, 2020
@gep13 gep13 removed Customer Bug reported or feature requested by a licensed customer of Chocolatey Pro/Business Issues only relevant for Pro or Business customers labels Mar 26, 2020
@choco-bot
Copy link

🎉 This issue has been resolved in version 0.17.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues where something has happened which was not expected or intended
Projects
None yet
Development

No branches or pull requests

5 participants