Closed eum3l closed 5 days ago
I recently upgraded my whole system. Now I get the primary_selection version error from #132 again. Just bumping wl-clipboard-rs seems to have fixed it.
Child spawned to serve copy requests. Received an event primary_selection requiring version >= 2 while proxy zwlr_data_control_device_v1@5 is version 1. thread 'main' panicked at anyrun/src/main.rs:286:18: Failed to serve copy bytes: WaylandCommunication(Custom { kind: Other, error: "Dispatch for object zwlr_data_control_device_v1@5 errored." }) stack backtrace: 0: 0x557300cfec15 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h4a5853078ed6ad5e 1: 0x557300d3c75c - core::fmt::write::hcb5164cc0001627e 2: 0x557300cfe8f5 - std::io::Write::write_fmt::h4f047c3956a46825 3: 0x557300cfe9e4 - std::sys_common::backtrace::print::h33b76037fd95b2fe 4: 0x557300d0c5e3 - std::panicking::default_hook::{{closure}}::hd7fd2e4913eae4ac 5: 0x557300d0c33a - std::panicking::default_hook::h13a9a2eb684db87c 6: 0x557300d0ca6d - std::panicking::rust_panic_with_hook::hda39260d38680d2a 7: 0x557300cff282 - std::panicking::begin_panic_handler::{{closure}}::h150d47ece314bd47 8: 0x557300cfee26 - std::sys_common::backtrace::__rust_end_short_backtrace::hf5ef31e5afaaca81 9: 0x557300d0c764 - rust_begin_unwind 10: 0x557300be4db5 - core::panicking::panic_fmt::h9a659e19ee4930b5 11: 0x557300be4cf3 - core::result::unwrap_failed::h41e1e19f38ed1e8d 12: 0x557300bed517 - anyrun::main::h75a9bc005fa2c5a0 13: 0x557300c0a343 - std::sys_common::backtrace::__rust_begin_short_backtrace::h776010c1be0f008f 14: 0x557300c0f2d9 - std::rt::lang_start::{{closure}}::h1b249b5ffacd55da 15: 0x557300d0c664 - std::panicking::try::h9134436c64049e5f 16: 0x557300cfa02b - std::rt::lang_start_internal::hf4417b67ea9bae52 17: 0x557300bf4bf5 - main 18: 0x7f60e8f2a10e - __libc_start_call_main 19: 0x7f60e8f2a1c9 - __libc_start_main@@GLIBC_2.34 20: 0x557300be5245 - _start 21: 0x0 - <unknown>
I recently upgraded my whole system. Now I get the primary_selection version error from #132 again. Just bumping wl-clipboard-rs seems to have fixed it.
hyprctl version
```sh Hyprland, built from branch at commit 7f09646ab8b5b6d9f835681d0af5d7a0dc29d8f1 (). Date: 2024-06-22 Tag: , commits: 7f09646ab8b5b6d9f835681d0af5d7a0dc29d8f1 ```nixpkgs
```json { "locked": { "lastModified": 1719075281, "narHash": "sha256-CyyxvOwFf12I91PBWz43iGT1kjsf5oi6ax7CrvaMyAo=", "owner": "nixos", "repo": "nixpkgs", "rev": "a71e967ef3694799d0c418c98332f7ff4cc5f6af", "type": "github" }, "original": { "owner": "nixos", "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } } ```