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

BUG: Sniffnet fails to run on Wayland due to not linking libwayland #317482

Open
nbCloud91 opened this issue Jun 5, 2024 · 0 comments
Open

BUG: Sniffnet fails to run on Wayland due to not linking libwayland #317482

nbCloud91 opened this issue Jun 5, 2024 · 0 comments

Comments

@nbCloud91
Copy link

nbCloud91 commented Jun 5, 2024

Describe the bug

Sniffnet fails to run on Wayland

Steps To Reproduce

Steps to reproduce the behavior:

  1. start Sniffnet from cmdline
  2. it errors out with following:
thread 'main' panicked at /build/sniffnet-1.3.0-vendor.tar.gz/iced_winit/src/application.rs:119:10:
Create event loop: Os(OsError { line: 80, file: "/build/sniffnet-1.3.0-vendor.tar.gz/winit/src/platform_impl/linux/wayland/event_loop/mod.rs", error: WaylandError(Connection(NoWaylandLib)) })
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: iced_winit::application::run
   4: sniffnet::main

Expected behavior

Should work without error.

Additional context

Similar problem with another iced based app (universal-android-debloater) was solved by linking libwayland. #307466

Notify maintainers

cc @figsoda

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.32, NixOS, 24.11 (Vicuña), 24.11pre633517.57610d2f8f09`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixos"`
 - channels(username): `"home-manager"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant