Comments (10)
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.
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.
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.
Please feel free to close this issue if you don't feel it's relevant.
from macchina.
Was the answer helpful in resolving your issue?
from macchina.
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.
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.
Can you please build from source and confirm that 8abf983 fixes the issue?
from macchina.
Can you please build from source and confirm that 8abf983 fixes the issue?
Yes, that fixes it. Thank you.
from macchina.
Good to hear!
EDIT: The new version has been released.
from macchina.
Related Issues (20)
- [BUG] Typo in build instructions provided in wiki HOT 4
- How to insert a blank line before the key-values? HOT 10
- Modifying keys does nothing on macOS HOT 7
- Compile error, possibly two tui versions? HOT 34
- [BUG] Macchina 6.1.4 doesn't report version when running macchina --version HOT 1
- [BUG] Brew packages are displayed +1 HOT 7
- [BUG] Crashes on FreeBSD 13 HOT 8
- [BUG] Fails to build on Ubutnu HOT 19
- [BUG] Custom theme not being used HOT 3
- Terminal has weird name on NixOS with home-manager HOT 12
- [BUG] Proxmox VE is shown to be debian HOT 7
- [BUG] Crashes on cpu model "Intel Core i7 9xx (Nehalem Core i7, IBRS update)" HOT 7
- [feature request] Display total RAM memory in GB HOT 2
- Possible improvement to memory readout HOT 6
- [BUG] WSL2 openSUSE Tumbleweed zypper packages didn't show up HOT 4
- [Feature Request] More standard and versioned release artifacts on github
- Accept disk path(s) to display usage of specified disk / multiple disks
- [BUG] Build failed with libgit2 1.6.4 on Arch Linux HOT 2
- [BUG] Fails to build with ratatui HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macchina.