ActivityWatch / aw-watcher-window-wayland

Window and AFK watcher for some Wayland compositors
Mozilla Public License 2.0
57 stars 14 forks source link

Error while running watcher on fedora GNOME wayland #31

Closed benmoussatMouad closed 1 year ago

benmoussatMouad commented 1 year ago

Results after running : RUST_BACKTRACE=full aw-watcher-window-wayland

### Setting up display
### Fetching wayland globals
### Setting up toplevel manager
thread 'main' panicked at 'Wayland session does not expose a ToplevelManager object, this window manager is most likely not supported: Missing', src/current_window.rs:90:10
stack backtrace:
   0:     0x5593af062851 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he2d7504f4835c323
   1:     0x5593af086ede - core::fmt::write::hbad316f0c144c3e8
   2:     0x5593af05fdc1 - std::io::Write::write_fmt::he069b7089db5a8ab
   3:     0x5593af062665 - std::sys_common::backtrace::print::h52f090589a73c22a
   4:     0x5593af063bc7 - std::panicking::default_hook::{{closure}}::h2ae1d9b0c8d033ef
   5:     0x5593af06394a - std::panicking::default_hook::h6762521957e6f39c
   6:     0x5593af0640c8 - std::panicking::rust_panic_with_hook::ha8f4cf42f951adbf
   7:     0x5593af063fc7 - std::panicking::begin_panic_handler::{{closure}}::h70e23f730b80a838
   8:     0x5593af062c86 - std::sys_common::backtrace::__rust_end_short_backtrace::h691684a8796e2b10
   9:     0x5593af063cc2 - rust_begin_unwind
  10:     0x5593aee881f3 - core::panicking::panic_fmt::h948d730ab95cff98
  11:     0x5593aee88693 - core::result::unwrap_failed::h635ba02246ac7b35
  12:     0x5593aeeabc8d - aw_watcher_window_wayland::current_window::assign_toplevel_manager::h7b0457097a34999d
  13:     0x5593aeea6d94 - aw_watcher_window_wayland::main::hd3bfacbc68c8300d
  14:     0x5593aeeabe73 - std::sys_common::backtrace::__rust_begin_short_backtrace::hf248a933ce49c1d3
  15:     0x5593aeeac149 - std::rt::lang_start::{{closure}}::h2c43238c50341743
  16:     0x5593af05b4e2 - std::rt::lang_start_internal::h3ea77274cf9893cd
  17:     0x5593aeea8405 - main
  18:     0x7febd944a510 - __libc_start_call_main
  19:     0x7febd944a5c9 - __libc_start_main@GLIBC_2.2.5
  20:     0x5593aee88955 - _start
johan-bjareholt commented 1 year ago

As stated in the README, Gnome Wayland is not supported.

You can try your luck with https://github.com/2e3s/awatcher/, might work.