You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current hyprdim v3.0.0 panics because it fails to get Hyprland version:
$ git checkout 3.0.0
$ RUST_BACKTRACE=1 RUST_LOG=1 cargo run
Error: cannot parse integer from empty string
Stack backtrace:
0: anyhow::error::<impl core::convert::From<E>for anyhow::Error>::from
at /home/me/.cargo/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.89/src/backtrace.rs:27:14
1: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual
at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1987:27
2: hyprdim::ui::hyprland_version::hyprland_version
at ./src/ui/hyprland_version.rs:8:16
3: hyprdim::main
at ./src/main.rs:25:9
I've updated hyprland-rs to 0.4.0-beta.1 but it needs more code changes (there are changes to event stream). So, for now the quick and dirty workaround to make it work is to disable Hyprland version check:
"WARNING: This hyprdim version only supports Hyprland v{} and above.",
MINIMUM_VERSION
);
}
I'm maintainer of the AUR package, so I'll just set minimum supported Hyprland version in the PKGBUILD and disable version check in prepare() for now.
Environment
$ hyprdim -V
hyprdim 3.0.0
$ hyprctl version
hyprctl version
Hyprland, built from branch at commit 4520b30d498daca8079365bdb909a8dea38e8d55 (version: bump to 0.44.1).
Date: Wed Oct 9 12:54:39 2024
Tag: v0.44.1, commits: 5309
built against aquamarine 0.4.3
flags: (if any)
Bug Report
Current hyprdim v3.0.0 panics because it fails to get Hyprland version:
I've updated
hyprland-rs
to0.4.0-beta.1
but it needs more code changes (there are changes to event stream). So, for now the quick and dirty workaround to make it work is to disable Hyprland version check:hyprdim/src/main.rs
Lines 25 to 30 in 3a51a13
I'm maintainer of the AUR package, so I'll just set minimum supported Hyprland version in the PKGBUILD and disable version check in
prepare()
for now.Environment
Priorities
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: