mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 08:15:21 +01:00
[GH-ISSUE #663] music widget fails when using mpris backend #1630
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#1630
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tigerkiller55891 on GitHub (Jul 14, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/663
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
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
@JakeStanger commented on GitHub (Jul 14, 2024):
I'd double check dbus is running okay on your machine. Ironbar should never fail to connect to it if it's running okay
@tigerkiller55891 commented on GitHub (Jul 14, 2024):
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.
@JakeStanger commented on GitHub (Jul 19, 2024):
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=traceset please?@tigerkiller55891 commented on GitHub (Jul 26, 2024):
Log
it keeps saying that infinitely
@JakeStanger commented on GitHub (Aug 10, 2024):
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)?
@JakeStanger commented on GitHub (Nov 5, 2024):
Closing this because I've not heard anything for a couple of months, and I'm still not able to replicate this myself. Any problems still, let me know and I'll re-open.