qtile: App crashes when sending a dbus notification
The issue:
See https://github.com/ciderapp/Cider/issues/1475 for more details.
After playing a few songs with Cider App, the app will crash when changing songs with the following error message in the logs. I am not sure which side is responsible for the bug.
[395803:0929/171008.500207:ERROR:libnotify_notification.cc(49)] notify_notification_close: domain=1236 code=36 message="GDBus.Error:com.dubstepdish.dbus.next.ServiceError: The service interface raised an error: list index out of range.
[' File "/usr/lib/python3.10/site-packages/dbus_next/message_bus.py", line 712, in _process_message\n handler(msg, send_reply)\n', ' File "/usr/lib/python3.10/site-packages/dbus_next/message_bus.py", line 731, in handler\n result = method.fn(interface, *args)\n', ' File "/usr/lib/python3.10/site-packages/libqtile/notify.py", line 88, in CloseNotification\n self.manager.close(nid)\n', ' File "/usr/lib/python3.10/site-packages/libqtile/notify.py", line 203, in close\n notif = self.notifications[nid]\n']"
Trace/breakpoint trap (core dumped)
Required:
- I have searched past issues to see if this bug has already been reported.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (11 by maintainers)
Commits related to this issue
- Fix Notify `CloseNotification` bug `CloseNotification` tried to look up the notifcation by the id received by the method. However, the id was not zero indexed and so sending the ID of the last notifi... — committed to elParaguayo/qtile by elParaguayo 2 years ago
- Fix Notify `CloseNotification` bug `CloseNotification` tried to look up the notifcation by the id received by the method. However, the id was not zero indexed and so sending the ID of the last notifi... — committed to elParaguayo/qtile by elParaguayo 2 years ago
- Fix Notify `CloseNotification` bug `CloseNotification` tried to look up the notifcation by the id received by the method. However, the id was not zero indexed and so sending the ID of the last notifi... — committed to qtile/qtile by elParaguayo 2 years ago
You got it handled but for posterity, I got the same type of error and the update definitely fixed it for me too.
Thanks for this.
This does suggest it’s a qtile issue which is what I suspected. I’ll take a look when I can.