JakeStanger / ironbar

Customisable Wayland gtk bar written in Rust.
https://crates.io/crates/ironbar
MIT License
544 stars 44 forks source link

OS error 2 #594

Closed madfanat closed 4 months ago

madfanat commented 4 months ago

Describe the bug Today I installed all available updates and then restarted my computer. Everything works fine, but ironbar won't start. Here is the output I am getting::

$ RUST_BACKTRACE=1 ironbar
2024-05-18T13:40:30.562133Z  INFO ironbar: 115: Ironbar version 0.16.0-pre
2024-05-18T13:40:30.562143Z  INFO ironbar: 116: Starting application

(ironbar:1810): dbind-WARNING **: 16:40:30.588: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
2024-05-18T13:40:30.611897Z  INFO ironbar::ipc::server: 37: Starting IPC on /run/user/1000/ironbar-ipc.sock
2024-05-18T13:40:30.612721Z  INFO ironbar::bar: 118: Initializing bar 'bar-5' on 'DP-2'
2024-05-18T13:40:30.614477Z  INFO ironbar::clients::compositor::hyprland: 32: Starting Hyprland event listener
2024-05-18T13:40:30.614708Z ERROR ironbar: 203:
   0: zbus error
   1: I/O error: Нет такого файла или каталога (os error 2)
   2: Нет такого файла или каталога (os error 2)

Location:
   src/clients/mod.rs:121

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

To Reproduce Steps to reproduce the behavior: 1.Type paru -Syu

  1. Restart a computer
  2. See error

System information:

Configuration

Share your bar configuration and stylesheet as applicable:

Config ```corn let { $workspaces = { type = "workspaces" } $launcher = { type = "launcher" favorites = [ "org.gnome.Nautilus" "thorium-browser" "alacritty" "transmission-gtk" "steam" "net.lutris.Lutris" "org.prismlauncher.PrismLauncher" "telegram-desktop" ] } $notifications = { type = "notifications" show_count = true icons.closed_none = "󰂜" icons.closed_some = "󰂜" icons.closed_dnd = "󰪓" icons.open_none = "󰂚" icons.open_some = "󰂚" icons.open_dnd = "󰂠" } $tray = { type = "tray" direction = "left_to_right" icon_size = 20 } $clock = { type = "clock" format = "%d.%m.%Y %H:%M" } $volume = { type = "volume" format = "{icon} {percentage}%" max_volume = 100 icons.volume_high = " " icons.volume_medium = "" icons.volume_low = "" icons.muted = " " } $button = { type = "button" name="power-button" label = "󰐥" on_click = "popup:toggle" } $popup = { type = "box" orientation = "horizontal" widgets = [ { type = "box" widgets = [ { type = "button" class="power-button" label = "󰐥" on_click = "!loginctl poweroff" } { type = "button" class="power-button" label = "󰜉" on_click = "!loginctl reboot" } { type = "button" class="power-button" label = "󰤄" on_clock = "!loginctl suspend" } ] } ] } $power_menu = { type = "custom" class = "power-menu" bar = [ $button ] popup = [ $popup ] } } in { anchor_to_edges = true icon_theme = "Papirus-Dark" start = [ $power_menu $workspaces ] center = [ $launcher ] end = [ $tray $volume $clock $notifications ] } ```
Styles ```css @import "mocha.css"; /* -- general configuration -- */ * { font-family: "JetbrainsMono Nerd Font"; font-size: 16px; border: none; border-radius: 18px; } #bar { border-top: 1px solid @surface0; } box, menubar, button { background-image: none; box-shadow: none; } box, menubar { background-color: @base; } button { background-color: @surface0; padding: 0 5px; } button, label { color: @text; } button:hover { background-color: @surface2; } .popup { padding: 1em; border: 1px solid @surface0; } /* -- workspaces configuration */ .workspaces { background-color: @surface0; margin-left: 5px; } .workspaces .item { background-color: @surface0; border-radius: 100%; } .workspaces .item:not(:first-child) { margin-left: 4px; } .workspaces .item.focused { background-color: @surface1; } .workspaces .item:hover { background-color: @surface2; } /* -- launcher configuration -- */ .launcher { margin-left: 5px; } .launcher .item { background-color: @base; padding: 0 5px; border-radius: 100%; } .launcher .item:not(:first-child) { margin-left: 4px; } .launcher :hover { background-color: @surface2; } .launcher .open { background-color: @surface1; } .launcher .focused { background-color: @surface2; } .launcher .urgent { background-color: @red; } .popup-launcher { padding: 5px; } .popup-launcher .popup-item:not(:first-child) { margin-top: 5px; } /* -- clock configuration -- */ .clock { font-weight: bold; margin-left: 5px; margin-right: 5px; } .popup-clock .calendar-clock { color: @text; font-size: 2.5em; margin-bottom: 5px; padding-left: 5px; padding-right: 5px; background-color: @surface0; } .popup-clock .calendar { background-color: @surface0; color: @text; } .popup-clock .calendar .header { font-size: 1.5em; } .popup-clock .calendar:selected { background-color: @rosewater; color: @base; } /* -- notifications configuration -- */ .notifications { border-radius: 100%; } .notifications .count { font-size: 0.6rem; background-color: @text; color: @crust; border-radius: 100%; margin-right: 3px; margin-top: 3px; padding-left: 4px; padding-right: 4px; opacity: 0.7; } /* -- tray configuration -- */ .tray { background-color: @base; } .tray .item:hover { background-color: @surface2; } .tray .item:not(:first-child) { margin-left: 4px; } /* -- volume configuration -- */ .volume { margin-left: 5px; } .popup-volume .device-box .device-selector { background-color: @surface0; } .popup-volume .device-box .slider { background-color: @surface0; } /* -- powermenu configuration -- */ .power-menu #power-button { padding: 0 13px; border-radius: 100%; } .popup-power-menu { padding: 5px; } .popup-power-menu .power-button { padding: 0 10px; border-radius: 100%; margin: 0 2.5px; } ```
JakeStanger commented 4 months ago

Do you always see that dbind-WARNING message, or do you know if that's new? The crash is coming from the tray client initialization code, which is dbus related, as is that warning.

It looks like this may be due to a dbus-related system issue, but hard to tell.

Are you able to re-run with IRONBAR_LOG=trace RUST_BACKTRACE=full too please, and share the log (it will probably be a lot bigger)? Hopefully this should give a few more clues as to what's going on.

madfanat commented 4 months ago
Yep, here is the output ``` $ IRONBAR_LOG=trace RUST_BACKTRACE=full ironbar 2024-05-18T14:26:10.874758Z DEBUG universal_config: 165: Using config dir: /home/tim/.config/ironbar 2024-05-18T14:26:10.874775Z DEBUG universal_config: 140: Found file at: '/home/tim/.config/ironbar/config.corn 2024-05-18T14:26:10.875001Z DEBUG ironbar: 309: Loaded config file 2024-05-18T14:26:10.875004Z INFO ironbar: 115: Ironbar version 0.16.0-pre 2024-05-18T14:26:10.875006Z INFO ironbar: 116: Starting application 2024-05-18T14:26:10.875243Z TRACE mio::poll: 551: registering event source with poller: token=Token(1), interests=READABLE 2024-05-18T14:26:10.875597Z TRACE ironbar::clients::wayland: 178: Locking self.rx 2024-05-18T14:26:10.875707Z TRACE polling::epoll: 400: created eventfd for notifier 2024-05-18T14:26:10.875739Z TRACE polling::epoll: 70: new epoll_fd=12 notifier=EventFd(OwnedFd { fd: 13 }) timer_fd=Some(OwnedFd { fd: 14 }) 2024-05-18T14:26:10.875750Z TRACE calloop::loop_logic: 126: [calloop] Inserting new source #0 2024-05-18T14:26:10.875762Z DEBUG sctk: 456: Bound new global [51] wl_output v4 2024-05-18T14:26:10.875767Z DEBUG sctk: 496: Bound new global [3] zxdg_output_manager_v1 v3 2024-05-18T14:26:10.875775Z DEBUG sctk: 456: Bound new global [39] wl_seat v7 2024-05-18T14:26:10.875779Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel::manager: 25: Bound to ZwlForeignToplevelManagerV1 global 2024-05-18T14:26:10.875786Z DEBUG ironbar::clients::wayland::wlr_data_control::manager: 29: Bound to ZwlDataControlManagerV1 global 2024-05-18T14:26:10.875790Z TRACE calloop::loop_logic: 126: [calloop] Inserting new source #1 2024-05-18T14:26:10.875798Z TRACE ironbar::clients::wayland: 302: Dispatching event loop 2024-05-18T14:26:10.875811Z TRACE Poller::wait{timeout=None}:wait{epoll_fd=12 timeout=None}: polling::epoll: 200: new events epoll_fd=12 res=1 2024-05-18T14:26:10.875822Z TRACE calloop::loop_logic: 436: [calloop] Dispatching events for source #1 2024-05-18T14:26:10.875825Z TRACE calloop::sources: 322: [calloop] Processing events for source type calloop::sources::channel::Channel 2024-05-18T14:26:10.875828Z TRACE ironbar::clients::wayland: 315: Request: Msg(Roundtrip) 2024-05-18T14:26:10.875833Z DEBUG ironbar::clients::wayland: 319: received roundtrip request 2024-05-18T14:26:10.875838Z TRACE ironbar::clients::wayland: 302: Dispatching event loop 2024-05-18T14:26:10.875845Z TRACE Poller::wait{timeout=None}:wait{epoll_fd=12 timeout=None}: polling::epoll: 200: new events epoll_fd=12 res=1 2024-05-18T14:26:10.875869Z TRACE calloop::loop_logic: 436: [calloop] Dispatching events for source #0 2024-05-18T14:26:10.875872Z TRACE calloop::sources: 322: [calloop] Processing events for source type calloop_wayland_source::WaylandSource 2024-05-18T14:26:10.875883Z DEBUG ironbar::clients::wayland::wl_output: 64: Handler received new output 2024-05-18T14:26:10.875889Z DEBUG ironbar::clients::wayland::wl_seat: 30: Handler received new capability 2024-05-18T14:26:10.875891Z DEBUG ironbar::clients::wayland::wl_seat: 38: Adding new data control device 2024-05-18T14:26:10.875895Z DEBUG ironbar::clients::wayland::wl_seat: 30: Handler received new capability 2024-05-18T14:26:10.875898Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 47: Manager received new handle 2024-05-18T14:26:10.875902Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 115: Processing handle event: AppId { app_id: "Alacritty" } 2024-05-18T14:26:10.875906Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 121: Locking data.inner 2024-05-18T14:26:10.875909Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 175: Event processed 2024-05-18T14:26:10.875911Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 115: Processing handle event: Title { title: "Alacritty" } 2024-05-18T14:26:10.875914Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 119: Locking data.inner 2024-05-18T14:26:10.875916Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 175: Event processed 2024-05-18T14:26:10.875919Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 115: Processing handle event: OutputEnter { output: WlOutput { id: ObjectId(wl_output@3, 3), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } } 2024-05-18T14:26:10.875926Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 138: Locking data.inner 2024-05-18T14:26:10.875929Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 175: Event processed 2024-05-18T14:26:10.875931Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 115: Processing handle event: State { state: [2, 0, 0, 0] } 2024-05-18T14:26:10.875935Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 135: Locking data.inner 2024-05-18T14:26:10.875938Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 136: Locking data.inner 2024-05-18T14:26:10.875940Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 175: Event processed 2024-05-18T14:26:10.875942Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 115: Processing handle event: Done 2024-05-18T14:26:10.875945Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 149: Locking data.inner 2024-05-18T14:26:10.875948Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 150: Locking data.inner 2024-05-18T14:26:10.875950Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 153: Locking data.inner 2024-05-18T14:26:10.875952Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 162: Locking data.inner 2024-05-18T14:26:10.875955Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 53: Handler received new handle 2024-05-18T14:26:10.875957Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info 2024-05-18T14:26:10.875960Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner 2024-05-18T14:26:10.875962Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel: 57: Adding new handle: ToplevelInfo { id: 1, app_id: "Alacritty", title: "Alacritty", fullscreen: false, focused: true } 2024-05-18T14:26:10.875968Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info 2024-05-18T14:26:10.875970Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner 2024-05-18T14:26:10.875973Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 175: Event processed 2024-05-18T14:26:10.875976Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 47: Manager received new handle 2024-05-18T14:26:10.875978Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 115: Processing handle event: AppId { app_id: "thorium-browser" } 2024-05-18T14:26:10.875981Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 121: Locking data.inner 2024-05-18T14:26:10.875983Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 175: Event processed 2024-05-18T14:26:10.875986Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 115: Processing handle event: Title { title: "Новая вкладка - Thorium" } 2024-05-18T14:26:10.875992Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 119: Locking data.inner 2024-05-18T14:26:10.875994Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 175: Event processed 2024-05-18T14:26:10.875996Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 115: Processing handle event: OutputEnter { output: WlOutput { id: ObjectId(wl_output@3, 3), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } } 2024-05-18T14:26:10.875999Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 138: Locking data.inner 2024-05-18T14:26:10.876002Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 175: Event processed 2024-05-18T14:26:10.876004Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 115: Processing handle event: State { state: [] } 2024-05-18T14:26:10.876006Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 135: Locking data.inner 2024-05-18T14:26:10.876008Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 136: Locking data.inner 2024-05-18T14:26:10.876010Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 175: Event processed 2024-05-18T14:26:10.876013Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 115: Processing handle event: Done 2024-05-18T14:26:10.876015Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 149: Locking data.inner 2024-05-18T14:26:10.876017Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 150: Locking data.inner 2024-05-18T14:26:10.876020Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 153: Locking data.inner 2024-05-18T14:26:10.876022Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 162: Locking data.inner 2024-05-18T14:26:10.876024Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 53: Handler received new handle 2024-05-18T14:26:10.876026Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info 2024-05-18T14:26:10.876028Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner 2024-05-18T14:26:10.876030Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel: 57: Adding new handle: ToplevelInfo { id: 2, app_id: "thorium-browser", title: "Новая вкладка - Thorium", fullscreen: false, focused: false } 2024-05-18T14:26:10.876034Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info 2024-05-18T14:26:10.876036Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner 2024-05-18T14:26:10.876039Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 175: Event processed 2024-05-18T14:26:10.876043Z TRACE ironbar::clients::wayland: 302: Dispatching event loop 2024-05-18T14:26:10.876056Z TRACE Poller::wait{timeout=None}:wait{epoll_fd=12 timeout=None}: polling::epoll: 200: new events epoll_fd=12 res=1 2024-05-18T14:26:10.876071Z TRACE calloop::loop_logic: 436: [calloop] Dispatching events for source #0 2024-05-18T14:26:10.876074Z TRACE calloop::sources: 322: [calloop] Processing events for source type calloop_wayland_source::WaylandSource 2024-05-18T14:26:10.876078Z TRACE ironbar::clients::wayland::wlr_data_control::device: 115: Locking data.inner 2024-05-18T14:26:10.876081Z TRACE ironbar::clients::wayland::wlr_data_control::device: 121: Locking inner.undetermined_offers 2024-05-18T14:26:10.876084Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 85: Locking self.inner 2024-05-18T14:26:10.876088Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'text/html' 2024-05-18T14:26:10.876091Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876095Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876097Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876101Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'STRING' 2024-05-18T14:26:10.876104Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876106Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876108Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876110Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'text/plain;charset=utf-8' 2024-05-18T14:26:10.876113Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876115Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876117Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876120Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'TEXT' 2024-05-18T14:26:10.876122Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876124Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876127Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876129Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'UTF8_STRING' 2024-05-18T14:26:10.876131Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876133Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876135Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876137Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'text/plain' 2024-05-18T14:26:10.876139Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876141Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876144Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876147Z TRACE ironbar::clients::wayland::wlr_data_control::device: 115: Locking data.inner 2024-05-18T14:26:10.876149Z TRACE ironbar::clients::wayland::wlr_data_control::device: 132: Locking inner.selection_offer 2024-05-18T14:26:10.876150Z TRACE ironbar::clients::wayland::wlr_data_control::device: 135: Locking inner.undetermined_offers 2024-05-18T14:26:10.876152Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 73: Locking self.inner 2024-05-18T14:26:10.876155Z DEBUG ironbar::clients::wayland::wlr_data_control: 208: Handler received selection event 2024-05-18T14:26:10.876156Z TRACE ironbar::clients::wayland::wlr_data_control::device: 40: Locking lock!(inner.inner).selection_offer 2024-05-18T14:26:10.876158Z TRACE ironbar::clients::wayland::wlr_data_control::device: 40: Locking inner.inner 2024-05-18T14:26:10.876161Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 111: Locking self.inner 2024-05-18T14:26:10.876163Z TRACE ironbar::clients::wayland::wlr_data_control::device: 54: Locking lock!(inner.inner).selection_offer 2024-05-18T14:26:10.876165Z TRACE ironbar::clients::wayland::wlr_data_control::device: 54: Locking inner.inner 2024-05-18T14:26:10.876167Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 115: Locking self.inner 2024-05-18T14:26:10.876170Z DEBUG ironbar::clients::wayland::wlr_data_control: 240: Receiving mime type: STRING 2024-05-18T14:26:10.876180Z TRACE calloop::loop_logic: 126: [calloop] Inserting new source #2 2024-05-18T14:26:10.876188Z TRACE ironbar::clients::wayland::wlr_data_control::device: 115: Locking data.inner 2024-05-18T14:26:10.876191Z TRACE ironbar::clients::wayland::wlr_data_control::device: 121: Locking inner.undetermined_offers 2024-05-18T14:26:10.876193Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 85: Locking self.inner 2024-05-18T14:26:10.876195Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'TEXT' 2024-05-18T14:26:10.876197Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876199Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876201Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876202Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'STRING' 2024-05-18T14:26:10.876204Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876206Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876207Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876209Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'UTF8_STRING' 2024-05-18T14:26:10.876211Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876212Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876214Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876216Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'text/plain' 2024-05-18T14:26:10.876218Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876219Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876221Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876223Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'text/plain;charset=utf-8' 2024-05-18T14:26:10.876224Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner 2024-05-18T14:26:10.876226Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner 2024-05-18T14:26:10.876228Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer 2024-05-18T14:26:10.876229Z TRACE ironbar::clients::wayland::wlr_data_control::device: 115: Locking data.inner 2024-05-18T14:26:10.876234Z TRACE ironbar::clients::wayland: 302: Dispatching event loop 2024-05-18T14:26:10.876270Z TRACE Poller::wait{timeout=None}:wait{epoll_fd=12 timeout=None}: polling::epoll: 200: new events epoll_fd=12 res=1 2024-05-18T14:26:10.876277Z TRACE calloop::loop_logic: 436: [calloop] Dispatching events for source #2 2024-05-18T14:26:10.876279Z TRACE calloop::sources: 322: [calloop] Processing events for source type smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe 2024-05-18T14:26:10.876285Z TRACE ironbar::clients::wayland::wlr_data_control: 260: Locking clipboard 2024-05-18T14:26:10.876288Z TRACE calloop::loop_logic: 256: [calloop] Removing source #2 2024-05-18T14:26:10.876290Z TRACE calloop::loop_logic: 484: [calloop] Postaction remove for source #2 2024-05-18T14:26:10.876300Z TRACE ironbar::clients::wayland: 302: Dispatching event loop (ironbar:10501): dbind-WARNING **: 17:26:10.900: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. 2024-05-18T14:26:10.924590Z INFO ironbar::ipc::server: 37: Starting IPC on /run/user/1000/ironbar-ipc.sock 2024-05-18T14:26:10.924627Z TRACE mio::poll: 551: registering event source with poller: token=Token(128538371952512), interests=READABLE | WRITABLE 2024-05-18T14:26:10.924710Z DEBUG ironbar::style: 31: Loaded css from '/home/tim/.config/ironbar/style.css' 2024-05-18T14:26:10.924778Z TRACE mio::poll: 551: registering event source with poller: token=Token(0), interests=READABLE 2024-05-18T14:26:10.924802Z DEBUG ironbar: 194: Received activation signal, initialising bars 2024-05-18T14:26:10.924809Z TRACE ironbar: 354: Locking map 2024-05-18T14:26:10.924812Z TRACE ironbar: 358: Locking map 2024-05-18T14:26:10.924815Z TRACE ironbar: 359: Locking map 2024-05-18T14:26:10.924839Z TRACE notify::inotify: 412: adding inotify watch: /home/tim/.config/ironbar 2024-05-18T14:26:10.924857Z DEBUG ironbar::style: 67: Installed CSS file watcher on '/home/tim/.config/ironbar/style.css' 2024-05-18T14:26:10.925324Z INFO ironbar::bar: 118: Initializing bar 'bar-4' on 'DP-2' 2024-05-18T14:26:10.926860Z TRACE ironbar::dynamic_value::dynamic_string: 40: Locking label_parts 2024-05-18T14:26:10.926868Z TRACE ironbar::dynamic_value::dynamic_string: 95: Locking label_parts 2024-05-18T14:26:10.926947Z TRACE ironbar::dynamic_value::dynamic_string: 40: Locking label_parts 2024-05-18T14:26:10.926951Z TRACE ironbar::dynamic_value::dynamic_string: 95: Locking label_parts 2024-05-18T14:26:10.926985Z TRACE ironbar::dynamic_value::dynamic_string: 40: Locking label_parts 2024-05-18T14:26:10.926987Z TRACE ironbar::dynamic_value::dynamic_string: 95: Locking label_parts 2024-05-18T14:26:10.927016Z TRACE ironbar::dynamic_value::dynamic_string: 40: Locking label_parts 2024-05-18T14:26:10.927019Z TRACE ironbar::dynamic_value::dynamic_string: 95: Locking label_parts 2024-05-18T14:26:10.927075Z DEBUG ironbar::popup: 119: Registered popup content for #5 2024-05-18T14:26:10.927108Z DEBUG ironbar::clients::compositor: 61: Getting workspace client for: Hyprland 2024-05-18T14:26:10.927111Z INFO ironbar::clients::compositor::hyprland: 32: Starting Hyprland event listener 2024-05-18T14:26:10.927186Z TRACE ironbar::modules::workspaces: 183: Setting up UI event handler 2024-05-18T14:26:10.927219Z TRACE ironbar::clients::wayland: 178: Locking self.rx 2024-05-18T14:26:10.927224Z TRACE Poller::wait{timeout=None}:wait{epoll_fd=12 timeout=None}: polling::epoll: 200: new events epoll_fd=12 res=1 2024-05-18T14:26:10.927249Z TRACE calloop::loop_logic: 436: [calloop] Dispatching events for source #1 2024-05-18T14:26:10.927251Z TRACE calloop::sources: 322: [calloop] Processing events for source type calloop::sources::channel::Channel 2024-05-18T14:26:10.927254Z TRACE ironbar::clients::wayland: 315: Request: Msg(ToplevelInfoAll) 2024-05-18T14:26:10.927257Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info 2024-05-18T14:26:10.927260Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner 2024-05-18T14:26:10.927262Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info 2024-05-18T14:26:10.927261Z DEBUG ironbar::popup: 119: Registered popup content for #8 2024-05-18T14:26:10.927264Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner 2024-05-18T14:26:10.927270Z TRACE ironbar::clients::wayland: 302: Dispatching event loop 2024-05-18T14:26:10.927271Z TRACE ironbar::modules::launcher: 125: Locking items 2024-05-18T14:26:10.927281Z TRACE ironbar::modules::launcher: 125: Locking items 2024-05-18T14:26:10.927284Z TRACE ironbar::modules::launcher: 138: Locking items 2024-05-18T14:26:10.927306Z TRACE ironbar::modules::workspaces: 171: Set up workspace subscription 2024-05-18T14:26:10.927312Z DEBUG ironbar::modules::workspaces: 174: Received update: Init([Workspace { id: 1, name: "1", monitor: "DP-2", visibility: Visible(true) }]) 2024-05-18T14:26:10.927345Z ERROR ironbar: 203: 0: zbus error 1: I/O error: Нет такого файла или каталога (os error 2) 2: Нет такого файла или каталога (os error 2) Location: src/clients/mod.rs:121 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. 2024-05-18T14:26:10.927531Z TRACE ironbar::modules::workspaces: 222: Creating workspace buttons 2024-05-18T14:26:10.927637Z DEBUG ironbar::modules::launcher: 329: Adding item with id 'org.gnome.Nautilus' to the bar: Item { app_id: "org.gnome.Nautilus", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.931828Z DEBUG ironbar::image::provider: 48: Resolved org.gnome.Nautilus --> Icon { name: "org.gnome.Nautilus", theme: IconTheme { inner: TypedObjectRef { inner: 0x5c1113f4bc40, type: GtkIconTheme } } } (size: 32) 2024-05-18T14:26:10.935800Z DEBUG ironbar::modules::launcher: 329: Adding item with id 'thorium-browser' to the bar: Item { app_id: "thorium-browser", favorite: true, open_state: Open { focused: false }, windows: {2: Window { id: 2, name: "Новая вкладка - Thorium", open_state: Open { focused: false } }}, name: "Новая вкладка - Thorium" } 2024-05-18T14:26:10.935841Z DEBUG ironbar::image::provider: 48: Resolved thorium-browser --> Icon { name: "thorium-browser", theme: IconTheme { inner: TypedObjectRef { inner: 0x5c1113f4bc40, type: GtkIconTheme } } } (size: 32) 2024-05-18T14:26:10.936184Z DEBUG ironbar::modules::launcher: 329: Adding item with id 'alacritty' to the bar: Item { app_id: "alacritty", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.936296Z TRACE ironbar::desktop_file: 187: Locking desktop_files() 2024-05-18T14:26:10.936318Z DEBUG ironbar::image::provider: 48: Resolved alacritty --> Icon { name: "Alacritty", theme: IconTheme { inner: TypedObjectRef { inner: 0x5c1113f4bc40, type: GtkIconTheme } } } (size: 32) 2024-05-18T14:26:10.936642Z DEBUG ironbar::modules::launcher: 329: Adding item with id 'transmission-gtk' to the bar: Item { app_id: "transmission-gtk", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.936668Z DEBUG ironbar::image::provider: 48: Resolved transmission-gtk --> Icon { name: "transmission-gtk", theme: IconTheme { inner: TypedObjectRef { inner: 0x5c1113f4bc40, type: GtkIconTheme } } } (size: 32) 2024-05-18T14:26:10.937005Z DEBUG ironbar::modules::launcher: 329: Adding item with id 'steam' to the bar: Item { app_id: "steam", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.937032Z DEBUG ironbar::image::provider: 48: Resolved steam --> Icon { name: "steam", theme: IconTheme { inner: TypedObjectRef { inner: 0x5c1113f4bc40, type: GtkIconTheme } } } (size: 32) 2024-05-18T14:26:10.937399Z DEBUG ironbar::modules::launcher: 329: Adding item with id 'net.lutris.Lutris' to the bar: Item { app_id: "net.lutris.Lutris", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.937424Z DEBUG ironbar::image::provider: 48: Resolved net.lutris.Lutris --> Icon { name: "net.lutris.Lutris", theme: IconTheme { inner: TypedObjectRef { inner: 0x5c1113f4bc40, type: GtkIconTheme } } } (size: 32) 2024-05-18T14:26:10.937956Z DEBUG ironbar::modules::launcher: 329: Adding item with id 'org.prismlauncher.PrismLauncher' to the bar: Item { app_id: "org.prismlauncher.PrismLauncher", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.937988Z DEBUG ironbar::image::provider: 48: Resolved org.prismlauncher.PrismLauncher --> Icon { name: "org.prismlauncher.PrismLauncher", theme: IconTheme { inner: TypedObjectRef { inner: 0x5c1113f4bc40, type: GtkIconTheme } } } (size: 32) 2024-05-18T14:26:10.938450Z DEBUG ironbar::modules::launcher: 329: Adding item with id 'telegram-desktop' to the bar: Item { app_id: "telegram-desktop", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.938478Z DEBUG ironbar::image::provider: 48: Resolved telegram-desktop --> Icon { name: "telegram-desktop", theme: IconTheme { inner: TypedObjectRef { inner: 0x5c1113f4bc40, type: GtkIconTheme } } } (size: 32) 2024-05-18T14:26:10.938740Z DEBUG ironbar::modules::launcher: 329: Adding item with id 'Alacritty' to the bar: Item { app_id: "Alacritty", favorite: false, open_state: Open { focused: true }, windows: {1: Window { id: 1, name: "Alacritty", open_state: Open { focused: true } }}, name: "Alacritty" } 2024-05-18T14:26:10.938766Z DEBUG ironbar::image::provider: 48: Resolved Alacritty --> Icon { name: "Alacritty", theme: IconTheme { inner: TypedObjectRef { inner: 0x5c1113f4bc40, type: GtkIconTheme } } } (size: 32) 2024-05-18T14:26:10.938838Z TRACE ironbar::modules::launcher: 443: Adding item with id 'org.gnome.Nautilus' to the popup: Item { app_id: "org.gnome.Nautilus", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.938842Z TRACE ironbar::modules::launcher: 443: Adding item with id 'thorium-browser' to the popup: Item { app_id: "thorium-browser", favorite: true, open_state: Open { focused: false }, windows: {2: Window { id: 2, name: "Новая вкладка - Thorium", open_state: Open { focused: false } }}, name: "Новая вкладка - Thorium" } 2024-05-18T14:26:10.938910Z TRACE ironbar::modules::launcher: 443: Adding item with id 'alacritty' to the popup: Item { app_id: "alacritty", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.938913Z TRACE ironbar::modules::launcher: 443: Adding item with id 'transmission-gtk' to the popup: Item { app_id: "transmission-gtk", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.938915Z TRACE ironbar::modules::launcher: 443: Adding item with id 'steam' to the popup: Item { app_id: "steam", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.938918Z TRACE ironbar::modules::launcher: 443: Adding item with id 'net.lutris.Lutris' to the popup: Item { app_id: "net.lutris.Lutris", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.938920Z TRACE ironbar::modules::launcher: 443: Adding item with id 'org.prismlauncher.PrismLauncher' to the popup: Item { app_id: "org.prismlauncher.PrismLauncher", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.938922Z TRACE ironbar::modules::launcher: 443: Adding item with id 'telegram-desktop' to the popup: Item { app_id: "telegram-desktop", favorite: true, open_state: Closed, windows: {}, name: "" } 2024-05-18T14:26:10.938925Z TRACE ironbar::modules::launcher: 443: Adding item with id 'Alacritty' to the popup: Item { app_id: "Alacritty", favorite: false, open_state: Open { focused: true }, windows: {1: Window { id: 1, name: "Alacritty", open_state: Open { focused: true } }}, name: "Alacritty" } ```
madfanat commented 4 months ago

Well, I would bet the dbind-WARNING message is new.

madfanat commented 4 months ago

By the way, I guess this warning isn't actually a problem. It just tells you that Gnome Accessibility tool can't be found. Fixed by running with NO_AT_BRIDGE=1 flag. But ironbar still won't run and then I think the issue isn't related to dbus.

madfanat commented 4 months ago

Ohhh, found some kind of workaround. Now I'm able to run ironbar via dbus-launch. But still getting some errors related to swaync, will try to figure out the reason. Here is the short general output:

% dbus-launch ironbar
2024-05-18T15:58:58.128576Z  INFO ironbar: 115: Ironbar version 0.16.0-pre
2024-05-18T15:58:58.128586Z  INFO ironbar: 116: Starting application
2024-05-18T15:58:58.275011Z  INFO ironbar::ipc::server: 37: Starting IPC on /run/user/1000/ironbar-ipc.sock
2024-05-18T15:58:58.275899Z  INFO ironbar::bar: 118: Initializing bar 'bar-4' on 'DP-2'
2024-05-18T15:58:58.277715Z  INFO ironbar::clients::compositor::hyprland: 32: Starting Hyprland event listener
2024-05-18T15:58:58.280807Z  INFO ironbar::clients::volume: 168: connected to server
2024-05-18T15:58:58.281245Z ERROR ironbar::modules::notifications: 123:
   0: org.freedesktop.DBus.Error.ServiceUnknown: The name org.erikreider.swaync.cc was not provided by any .service files

Location:
   src/clients/swaync/mod.rs:74

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

And here is what I get if click on the notifications button:

2024-05-18T16:03:14.820967Z ERROR ironbar::clients::swaync: 81: MethodError(OwnedErrorName(ErrorName(Str(Owned("org.freedesktop.DBus.Error.ServiceUnknown")))), Some("The name org.erikreider.swaync.cc was not provided by any .service files"), Msg { type: Error, sender: UniqueName(Str(Borrowed("org.freedesktop.DBus"))), reply-serial: 7, body: Signature("s") })
JakeStanger commented 4 months ago

Is swaync running? It will need to be for the module to work. If it is, there's definitely a dbus issue your machine.

Running with dbus-launch also should not be required.

It could potentially be a similar issue/solution to this, but I'm not sure.

madfanat commented 4 months ago

Thank you. It's so stupid and cringe. The error occurred because of sddm: it rewrited the hyprland entry and removed the dbus-run-session prefix. Now it's finally fixed.

JakeStanger commented 4 months ago

Glad to hear it's sorted