trackma icon indicating copy to clipboard operation
trackma copied to clipboard

Exception from mpris tracker

Open FichteFoll opened this issue 2 years ago • 1 comments

I've had this happen a couple times but it's not reproducible. These sender … identifiers are also kinda questionable but it's been that way for long (another one is :1.3130, for example).

  File "/usr/lib/python3.10/site-packages/pydbus/subscription.py", line 52, in <lambda>
    callback = (lambda con, sender, object, iface, signal, params: signal_fired(sender, object, iface, signal, params.unpack())) if signal_fired is not None else lambda *args: None
  File "/usr/lib/python3.10/site-packages/pydbus/proxy_signal.py", line 15, in signal_fired
    callback(*params)
  File "/home/fichte/code/trackma/trackma/tracker/mpris.py", line 54, in <lambda>
    lambda x, props, y: self._on_update(sender, props))
  File "/home/fichte/code/trackma/trackma/tracker/mpris.py", line 163, in _on_update
    self._handle_status(self.statuses[sender], sender)
KeyError: ':1.2662'

FichteFoll avatar Jul 26 '22 22:07 FichteFoll

AFAIK, this happens when dbus returns a bus with MPRIS object, but that bus gets closed abnormally before trackma can query it for info.

ahmubashshir avatar Jul 27 '22 18:07 ahmubashshir

Duplicate of #440.

FichteFoll avatar Mar 09 '23 22:03 FichteFoll