Giter VIP home page Giter VIP logo

Comments (10)

grtcdr avatar grtcdr commented on June 24, 2024

OperatingSystem is a actually an invalid readout on Linux systems.

I haven't touched the codebase in very long, did macchina previously allow passing invalid readouts?

from macchina.

dr-kristau avatar dr-kristau commented on June 24, 2024

I haven't touched the codebase in very long, did macchina previously allow passing invalid readouts?

I don't know. This is the first time I've used macchina, and all I know is the error message I obtain from it when run on my system.

from macchina.

grtcdr avatar grtcdr commented on June 24, 2024

Linux users should not use the OperatingSystem as it is reserved for the BSDs (including macOS) and Windows. Instead, they should be using Distribution.

EDIT: It wouldn't make a lot of sense to implement both readouts on the same system, as they both represent the same thing in the Linux world.

from macchina.

dr-kristau avatar dr-kristau commented on June 24, 2024

Please feel free to close this issue if you don't feel it's relevant.

from macchina.

grtcdr avatar grtcdr commented on June 24, 2024

Was the answer helpful in resolving your issue?

from macchina.

grtcdr avatar grtcdr commented on June 24, 2024

I didn't fully read the backtrace you provided, the message "Invalid variant: OperatingSystem" made me assume that you passed -o OperatingSystem to macchina, even though you explicitly listed just the command macchina in the second step. My bad.

I can reproduce the panic on my end, I'll investigate the issue. It's most likely got to do with our recent upgrade from clap@v3 to clap@v4.

from macchina.

xd-mau5 avatar xd-mau5 commented on June 24, 2024

First time using the app and i have almost the same issue on Windows

macchina                                                                                                                                    
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Invalid variant: OperatingSystem"', src\data\mod.rs:142:61
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

from macchina.

grtcdr avatar grtcdr commented on June 24, 2024

Can you please build from source and confirm that 8abf983 fixes the issue?

from macchina.

dr-kristau avatar dr-kristau commented on June 24, 2024

Can you please build from source and confirm that 8abf983 fixes the issue?

Yes, that fixes it. Thank you.

from macchina.

grtcdr avatar grtcdr commented on June 24, 2024

Good to hear!

EDIT: The new version has been released.

from macchina.

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.