Open tigerkiller55891 opened 1 month ago
I'd double check dbus is running okay on your machine. Ironbar should never fail to connect to it if it's running okay
dbus seems to be fine I can control it fine with playerctl and waybar also works correctly. Its possible I messed up something but I haven't actually changed anything with dbus since I installed and I can't find anything. I could be wrong but idk. I am not very familiar with how dbus works unfortunately.
Hm odd, that'd suggest it's working. Can you send a full log with just the MPRIS module in the config, and IRONBAR_LOG=trace
set please?
❯ ironbar
2024-07-25T20:05:33.323664Z DEBUG universal_config: 165: Using config dir: /home/voltzing/.config/ironbar
2024-07-25T20:05:33.323690Z DEBUG universal_config: 140: Found file at: '/home/voltzing/.config/ironbar/config.corn
2024-07-25T20:05:33.323809Z DEBUG ironbar: 327: Loaded config file
2024-07-25T20:05:33.323822Z INFO ironbar: 132: Ironbar version 0.16.0-pre
2024-07-25T20:05:33.323829Z INFO ironbar: 133: Starting application
2024-07-25T20:05:33.324131Z TRACE mio::poll: 551: registering event source with poller: token=Token(1), interests=READABLE
2024-07-25T20:05:33.324394Z TRACE ironbar::clients::wayland: 179: Locking self.rx
2024-07-25T20:05:33.324520Z TRACE polling::epoll: 400: created eventfd for notifier
2024-07-25T20:05:33.324551Z TRACE polling::epoll: 70: new epoll_fd=12 notifier=EventFd(OwnedFd { fd: 13 }) timer_fd=Some(OwnedFd { fd: 14 })
2024-07-25T20:05:33.324562Z TRACE calloop::loop_logic: 126: [calloop] Inserting new source #0
2024-07-25T20:05:33.324577Z DEBUG sctk: 456: Bound new global [46] wl_output v4
2024-07-25T20:05:33.324582Z DEBUG sctk: 496: Bound new global [9] zxdg_output_manager_v1 v3
2024-07-25T20:05:33.324590Z DEBUG sctk: 456: Bound new global [1] wl_seat v7
2024-07-25T20:05:33.324595Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel::manager: 25: Bound to ZwlForeignToplevelManagerV1 global
2024-07-25T20:05:33.324601Z DEBUG ironbar::clients::wayland::wlr_data_control::manager: 29: Bound to ZwlDataControlManagerV1 global
2024-07-25T20:05:33.324607Z TRACE calloop::loop_logic: 126: [calloop] Inserting new source #1
2024-07-25T20:05:33.324612Z TRACE ironbar::clients::wayland: 303: Dispatching event loop
2024-07-25T20:05:33.324626Z TRACE Poller::wait{timeout=None}:wait{epoll_fd=12 timeout=None}: polling::epoll: 200: new events epoll_fd=12 res=1
2024-07-25T20:05:33.324636Z TRACE calloop::loop_logic: 436: [calloop] Dispatching events for source #1
2024-07-25T20:05:33.324638Z TRACE calloop::sources: 322: [calloop] Processing events for source type calloop::sources::channel::Channel
2024-07-25T20:05:33.324642Z TRACE ironbar::clients::wayland: 318: Request: Msg(Roundtrip)
2024-07-25T20:05:33.324648Z DEBUG ironbar::clients::wayland: 322: received roundtrip request
2024-07-25T20:05:33.324652Z TRACE ironbar::clients::wayland: 303: Dispatching event loop
2024-07-25T20:05:33.324691Z TRACE Poller::wait{timeout=None}:wait{epoll_fd=12 timeout=None}: polling::epoll: 200: new events epoll_fd=12 res=1
2024-07-25T20:05:33.324716Z TRACE calloop::loop_logic: 436: [calloop] Dispatching events for source #0
2024-07-25T20:05:33.324719Z TRACE calloop::sources: 322: [calloop] Processing events for source type calloop_wayland_source::WaylandSource
2024-07-25T20:05:33.324729Z DEBUG ironbar::clients::wayland::wl_output: 64: Handler received new output
2024-07-25T20:05:33.324735Z DEBUG ironbar::clients::wayland::wl_seat: 30: Handler received new capability
2024-07-25T20:05:33.324739Z DEBUG ironbar::clients::wayland::wl_seat: 38: Adding new data control device
2024-07-25T20:05:33.324744Z DEBUG ironbar::clients::wayland::wl_seat: 30: Handler received new capability
2024-07-25T20:05:33.324749Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 47: Manager received new handle
2024-07-25T20:05:33.324753Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: AppId { app_id: "spotube" }
2024-07-25T20:05:33.324757Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 122: Locking data.inner
2024-07-25T20:05:33.324760Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324763Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: Title { title: "Spotube" }
2024-07-25T20:05:33.324765Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 120: Locking data.inner
2024-07-25T20:05:33.324767Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324770Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: OutputEnter { output: WlOutput { id: ObjectId(wl_output@3, 3), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
2024-07-25T20:05:33.324775Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 139: Locking data.inner
2024-07-25T20:05:33.324778Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324780Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: State { state: [] }
2024-07-25T20:05:33.324783Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 136: Locking data.inner
2024-07-25T20:05:33.324785Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 137: Locking data.inner
2024-07-25T20:05:33.324787Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324790Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: Done
2024-07-25T20:05:33.324792Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 151: Locking data.inner
2024-07-25T20:05:33.324795Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 153: Locking data.inner
2024-07-25T20:05:33.324797Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 154: Locking data.inner
2024-07-25T20:05:33.324799Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 157: Locking data.inner
2024-07-25T20:05:33.324802Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 166: Locking data.inner
2024-07-25T20:05:33.324804Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 53: Handler received new handle
2024-07-25T20:05:33.324810Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info
2024-07-25T20:05:33.324867Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner
2024-07-25T20:05:33.324869Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel: 57: Adding new handle: ToplevelInfo { id: 1, app_id: "spotube", title: "Spotube", fullscreen: false, focused: false }
2024-07-25T20:05:33.324873Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info
2024-07-25T20:05:33.324875Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner
2024-07-25T20:05:33.324879Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324882Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 47: Manager received new handle
2024-07-25T20:05:33.324884Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: AppId { app_id: "LibreWolf" }
2024-07-25T20:05:33.324887Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 122: Locking data.inner
2024-07-25T20:05:33.324891Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324895Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: Title { title: "music widget fails when using mpris backend · Issue #663 · JakeStanger/ironbar — LibreWolf" }
2024-07-25T20:05:33.324900Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 120: Locking data.inner
2024-07-25T20:05:33.324903Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324905Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: OutputEnter { output: WlOutput { id: ObjectId(wl_output@3, 3), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
2024-07-25T20:05:33.324909Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 139: Locking data.inner
2024-07-25T20:05:33.324911Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324913Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: State { state: [] }
2024-07-25T20:05:33.324915Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 136: Locking data.inner
2024-07-25T20:05:33.324918Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 137: Locking data.inner
2024-07-25T20:05:33.324920Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324922Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: Done
2024-07-25T20:05:33.324924Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 151: Locking data.inner
2024-07-25T20:05:33.324926Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 153: Locking data.inner
2024-07-25T20:05:33.324929Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 154: Locking data.inner
2024-07-25T20:05:33.324931Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 157: Locking data.inner
2024-07-25T20:05:33.324932Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 166: Locking data.inner
2024-07-25T20:05:33.324934Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 53: Handler received new handle
2024-07-25T20:05:33.324937Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info
2024-07-25T20:05:33.324939Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner
2024-07-25T20:05:33.324941Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel: 57: Adding new handle: ToplevelInfo { id: 2, app_id: "LibreWolf", title: "music widget fails when using mpris backend · Issue #663 · JakeStanger/ironbar — LibreWolf", fullscreen: false, focused: false }
2024-07-25T20:05:33.324945Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info
2024-07-25T20:05:33.324947Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner
2024-07-25T20:05:33.324950Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324953Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 47: Manager received new handle
2024-07-25T20:05:33.324956Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: AppId { app_id: "kitty" }
2024-07-25T20:05:33.324959Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 122: Locking data.inner
2024-07-25T20:05:33.324962Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324966Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: Title { title: "ironbar" }
2024-07-25T20:05:33.324969Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 120: Locking data.inner
2024-07-25T20:05:33.324971Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324974Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: OutputEnter { output: WlOutput { id: ObjectId(wl_output@3, 3), version: 4, data: Some(ObjectData { .. }), backend: WeakBackend { inner: WeakInnerBackend { state: (Weak) } } } }
2024-07-25T20:05:33.324977Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 139: Locking data.inner
2024-07-25T20:05:33.324979Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324983Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: State { state: [2, 0, 0, 0] }
2024-07-25T20:05:33.324988Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 136: Locking data.inner
2024-07-25T20:05:33.324991Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 137: Locking data.inner
2024-07-25T20:05:33.324994Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.324998Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 116: Processing handle event: Done
2024-07-25T20:05:33.325001Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 151: Locking data.inner
2024-07-25T20:05:33.325004Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 153: Locking data.inner
2024-07-25T20:05:33.325008Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 154: Locking data.inner
2024-07-25T20:05:33.325011Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 157: Locking data.inner
2024-07-25T20:05:33.325014Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 166: Locking data.inner
2024-07-25T20:05:33.325017Z DEBUG ironbar::clients::wayland::wlr_foreign_toplevel: 53: Handler received new handle
2024-07-25T20:05:33.325020Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info
2024-07-25T20:05:33.325023Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner
2024-07-25T20:05:33.325027Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel: 57: Adding new handle: ToplevelInfo { id: 3, app_id: "kitty", title: "ironbar", fullscreen: false, focused: true }
2024-07-25T20:05:33.325031Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 26: Retrieving handle info
2024-07-25T20:05:33.325035Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 45: Locking self.inner
2024-07-25T20:05:33.325040Z TRACE ironbar::clients::wayland::wlr_foreign_toplevel::handle: 179: Event processed
2024-07-25T20:05:33.325050Z TRACE ironbar::clients::wayland: 303: Dispatching event loop
2024-07-25T20:05:33.325078Z TRACE Poller::wait{timeout=None}:wait{epoll_fd=12 timeout=None}: polling::epoll: 200: new events epoll_fd=12 res=1
2024-07-25T20:05:33.325103Z TRACE calloop::loop_logic: 436: [calloop] Dispatching events for source #0
2024-07-25T20:05:33.325107Z TRACE calloop::sources: 322: [calloop] Processing events for source type calloop_wayland_source::WaylandSource
2024-07-25T20:05:33.325113Z TRACE ironbar::clients::wayland::wlr_data_control::device: 115: Locking data.inner
2024-07-25T20:05:33.325117Z TRACE ironbar::clients::wayland::wlr_data_control::device: 121: Locking inner.undetermined_offers
2024-07-25T20:05:33.325126Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 85: Locking self.inner
2024-07-25T20:05:33.325131Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'text/plain;charset=utf-8'
2024-07-25T20:05:33.325134Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner
2024-07-25T20:05:33.325138Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner
2024-07-25T20:05:33.325141Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer
2024-07-25T20:05:33.325145Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'UTF8_STRING'
2024-07-25T20:05:33.325148Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner
2024-07-25T20:05:33.325152Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner
2024-07-25T20:05:33.325155Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer
2024-07-25T20:05:33.325158Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'COMPOUND_TEXT'
2024-07-25T20:05:33.325161Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner
2024-07-25T20:05:33.325165Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner
2024-07-25T20:05:33.325168Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer
2024-07-25T20:05:33.325171Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'TEXT'
2024-07-25T20:05:33.325174Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner
2024-07-25T20:05:33.325177Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner
2024-07-25T20:05:33.325180Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer
2024-07-25T20:05:33.325183Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'text/plain'
2024-07-25T20:05:33.325186Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner
2024-07-25T20:05:33.325190Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner
2024-07-25T20:05:33.325193Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer
2024-07-25T20:05:33.325196Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'STRING'
2024-07-25T20:05:33.325200Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner
2024-07-25T20:05:33.325203Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner
2024-07-25T20:05:33.325206Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer
2024-07-25T20:05:33.325210Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'text/plain;charset=utf-8'
2024-07-25T20:05:33.325213Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner
2024-07-25T20:05:33.325216Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner
2024-07-25T20:05:33.325219Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer
2024-07-25T20:05:33.325222Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'text/plain'
2024-07-25T20:05:33.325226Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner
2024-07-25T20:05:33.325229Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner
2024-07-25T20:05:33.325232Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer
2024-07-25T20:05:33.325235Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 152: Adding new offer with type 'SAVE_TARGETS'
2024-07-25T20:05:33.325239Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 69: Locking self.inner
2024-07-25T20:05:33.325242Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 154: Locking data.inner
2024-07-25T20:05:33.325245Z TRACE ironbar::clients::wayland::wlr_data_control: 292: Handler received offer
2024-07-25T20:05:33.325248Z TRACE ironbar::clients::wayland::wlr_data_control::device: 115: Locking data.inner
2024-07-25T20:05:33.325252Z TRACE ironbar::clients::wayland::wlr_data_control::device: 132: Locking inner.selection_offer
2024-07-25T20:05:33.325255Z TRACE ironbar::clients::wayland::wlr_data_control::device: 135: Locking inner.undetermined_offers
2024-07-25T20:05:33.325259Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 73: Locking self.inner
2024-07-25T20:05:33.325262Z DEBUG ironbar::clients::wayland::wlr_data_control: 208: Handler received selection event
2024-07-25T20:05:33.325266Z TRACE ironbar::clients::wayland::wlr_data_control::device: 40: Locking lock!(inner.inner).selection_offer
2024-07-25T20:05:33.325270Z TRACE ironbar::clients::wayland::wlr_data_control::device: 40: Locking inner.inner
2024-07-25T20:05:33.325273Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 111: Locking self.inner
2024-07-25T20:05:33.325278Z TRACE ironbar::clients::wayland::wlr_data_control::device: 54: Locking lock!(inner.inner).selection_offer
2024-07-25T20:05:33.325281Z TRACE ironbar::clients::wayland::wlr_data_control::device: 54: Locking inner.inner
2024-07-25T20:05:33.325284Z TRACE ironbar::clients::wayland::wlr_data_control::offer: 115: Locking self.inner
2024-07-25T20:05:33.325289Z DEBUG ironbar::clients::wayland::wlr_data_control: 240: Receiving mime type: text/plain;charset=utf-8
2024-07-25T20:05:33.325308Z TRACE calloop::loop_logic: 126: [calloop] Inserting new source #2
2024-07-25T20:05:33.325323Z TRACE ironbar::clients::wayland::wlr_data_control::device: 115: Locking data.inner
2024-07-25T20:05:33.325333Z TRACE ironbar::clients::wayland: 303: Dispatching event loop
2024-07-25T20:05:33.325421Z TRACE Poller::wait{timeout=None}:wait{epoll_fd=12 timeout=None}: polling::epoll: 200: new events epoll_fd=12 res=1
2024-07-25T20:05:33.325438Z TRACE calloop::loop_logic: 436: [calloop] Dispatching events for source #2
2024-07-25T20:05:33.325442Z TRACE calloop::sources: 322: [calloop] Processing events for source type smithay_client_toolkit::data_device_manager::read_pipe::ReadPipe
2024-07-25T20:05:33.325454Z TRACE ironbar::clients::wayland::wlr_data_control: 260: Locking clipboard
2024-07-25T20:05:33.325459Z TRACE calloop::loop_logic: 256: [calloop] Removing source #2
2024-07-25T20:05:33.325463Z TRACE calloop::loop_logic: 484: [calloop] Postaction remove for source #2
2024-07-25T20:05:33.325478Z TRACE ironbar::clients::wayland: 303: Dispatching event loop
2024-07-25T20:05:33.355190Z WARN ironbar::ipc::server: 33: Socket already exists. Did Ironbar exit abruptly?
2024-07-25T20:05:33.355212Z WARN ironbar::ipc::server: 34: Attempting IPC shutdown to allow binding to address
2024-07-25T20:05:33.355257Z INFO ironbar::ipc::server: 39: Starting IPC on /run/user/1000/ironbar-ipc.sock
2024-07-25T20:05:33.355290Z TRACE mio::poll: 551: registering event source with poller: token=Token(128560182333312), interests=READABLE | WRITABLE
2024-07-25T20:05:33.355365Z DEBUG ironbar: 211: Received activation signal, initialising bars
2024-07-25T20:05:33.355373Z TRACE ironbar: 372: Locking map
2024-07-25T20:05:33.355376Z TRACE ironbar: 376: Locking map
2024-07-25T20:05:33.355379Z TRACE ironbar: 377: Locking map
2024-07-25T20:05:33.355977Z INFO ironbar::bar: 118: Initializing bar 'bar-5' on 'DP-3'
2024-07-25T20:05:33.358314Z DEBUG ironbar::clients::music::mpris: 304: Creating new subscription
2024-07-25T20:05:33.358324Z TRACE ironbar::clients::music::mpris: 217: Locking self.current_player
2024-07-25T20:05:33.358755Z TRACE ironbar::clients::music::mpris: 231: Locking current_player
2024-07-25T20:05:33.358925Z ERROR ironbar::logging: 48: The application panicked (crashed).
Message: Failed to connect to D-Bus
Location: src/clients/music/mpris.rs:52
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. 2024-07-25T20:05:33.359536Z DEBUG ironbar::popup: 119: Registered popup content for #6 2024-07-25T20:05:33.359633Z DEBUG ironbar::bar: 296: Showing bar: bar-5 2024-07-25T20:05:33.368733Z DEBUG ironbar::modules: 404: Closing popup for music [#6] 2024-07-25T20:05:33.558822Z TRACE ironbar::clients::music::mpris: 231: Locking current_player 2024-07-25T20:05:33.758896Z TRACE ironbar::clients::music::mpris: 231: Locking current_player 2024-07-25T20:05:33.959010Z TRACE ironbar::clients::music::mpris: 231: Locking current_player 2024-07-25T20:05:34.159154Z TRACE ironbar::clients::music::mpris: 231: Locking current_player 2024-07-25T20:05:34.359310Z TRACE ironbar::clients::music::mpris: 231: Locking current_player 2024-07-25T20:05:34.559429Z TRACE ironbar::clients::music::mpris: 231: Locking current_player 2024-07-25T20:05:34.759503Z TRACE ironbar::clients::music::mpris: 231: Locking current_player 2024-07-25T20:05:34.959644Z TRACE ironbar::clients::music::mpris: 231: Locking current_player 2024-07-25T20:05:35.159802Z TRACE ironbar::clients::music::mpris: 231: Locking current_player 2024-07-25T20:05:35.359984Z TRACE ironbar::clients::music::mpris: 231: Locking current_player 2024-07-25T20:05:35.560140Z TRACE ironbar::clients::music::mpris: 231: Locking current_player
it keeps saying that infinitely
Apologies for the delay, finally got round to having a look at this again.
The 'locking current player' you see once every few hundred MS is normal, so that's not an issue. Unfortunately the logs aren't very useful beyond what we already had.
I've just pushed an update to git which should hopefully slightly improve the error handling, and give better logs when it does crash. If you get a chance to try again, could you please update & re-share the logs (debug or even info will be fine this time around)?
Describe the bug
The widget silently fails and in the cli it panics and fails to connect to D-Bus
To Reproduce Steps to reproduce the behavior:
Expected behavior For the music widget with mpris to display
System information:
Configuration
Config
``` let { $workspaces = { type = "workspaces" name_map = { 1 = "1" 2 = "2" 3 = "3" 4 = "4" 5 = "5" 6 = "6" 7 = "7" 8 = "8" 9 = "9" } } $clock = { type = "clock" } $music = { type = "music" player_type = "mpris" } $launcher = { type = "launcher" favorites = [ "kitty" ] } $sysinfo = { type = "sys_info" interval.memory = 30 interval.cpu = 1 interval.temps = 5 interval.disks = 300 interval.networks = 3 format = [ " {cpu_percent}% | {temp_c:coretemp-Package-id-0}°C" " {memory_used} / {memory_total} GB ({memory_percent}%)" " {disk_used:/} / {disk_total:/} GB ({disk_percent:/}%)" " {net_down:wlan0} / {net_up:wlan0} Mbps" " {uptime}" ] } } in { height = 0 position = "top" start = [ $workspaces ] center = [ $music ] end = [ $sysinfo $launcher ] } ```Additional context I am using trying it with spotube which is my music player exact error
024-07-14T00:20:36.568949Z INFO ironbar: 132: Ironbar version 0.16.0-pre 2024-07-14T00:20:36.568962Z INFO ironbar: 133: Starting application 2024-07-14T00:20:36.623994Z INFO ironbar::ipc::server: 39: Starting IPC on /run/user/1000/ironbar-ipc.sock 2024-07-14T00:20:36.625226Z INFO ironbar::bar: 118: Initializing bar 'bar-3' on 'DP-3' 2024-07-14T00:20:36.626977Z INFO ironbar::clients::compositor::hyprland: 32: Starting Hyprland event listener 2024-07-14T00:20:44.633151Z ERROR ironbar::logging: 48: The application panicked (crashed). Message: Failed to connect to D-Bus Location: src/clients/music/mpris.rs:52