Git Product home page Git Product logo

Comments (7)

tarwn avatar tarwn commented on June 11, 2024

Ok, maybe this happens independant of me setting that file. The application now starts with the Installed Packages tab selected and immediately gets that exception.

from chocolateygui.

tarwn avatar tarwn commented on June 11, 2024

Since the application couldn't find chocolatey, it was getting unexpected output from powershell. I changed the logic to explicitly throw a ChocolateyVersionUnknownException in this situation, but I'm not sure how we want to handle the logic higher up in the interface. Thoughts?

from chocolateygui.

chrissie1 avatar chrissie1 commented on June 11, 2024

Show a messagebox that say "Chocolatey can not be found do you wan tot install it?" On Yes install it with the little powershell script. On No just quit the application. But this should be rare since chocolateygui is supposed to be installed from chocolatey.

from chocolateygui.

tarwn avatar tarwn commented on June 11, 2024

Awesome, no idea how to do that. I'm unfamiliar with the way the application is interacting (using events for continuation) and I haven't done a windows app in years, so I may need someone to step in and do that last bit :)

from chocolateygui.

tarwn avatar tarwn commented on June 11, 2024

Code review? I added delegates for the Failed run, but switched from a Thread to using TPL (Task.Factory.StartNew) and lambdas to start and then handle faulted calls. I'm still trying to discover the root issue, which is why my chocolatey install isn't returning the expected version output :)

from chocolateygui.

chrissie1 avatar chrissie1 commented on June 11, 2024

can I close this?

from chocolateygui.

tarwn avatar tarwn commented on June 11, 2024

No, because I did, so there :)

from chocolateygui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.