eonpatapon / mpDris2

MPRIS V2.1 support for mpd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

System Service regularly crashes

xeruf opened this issue · comments

commented

I start it, and hours later it is down, with an error like this:

>  journalctl --user --unit mpDris2
...
Oct 12 12:16:30 elephant.arch systemd[1215]: Started mpDris2 - Music Player Daemon D-Bus bridge.
Oct 12 18:24:13 elephant.arch mpDris2[1951931]: Traceback (most recent call last):
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:   File "/usr/lib/python3.10/site-packages/gi/overrides/GLib.py", line 671, in <lambda>
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:     func_fdtransform = lambda _, cond, *data: callback(channel, cond, *data)
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:   File "/usr/bin/mpDris2", line 445, in socket_callback
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:     data = fd._fetch_objects("changed")
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:   File "/usr/bin/mpDris2", line 931, in _fetch_objects
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:     return list(self.client._parse_objects_direct(self.client._read_lines(),
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:   File "/usr/lib/python3.10/site-packages/mpd/base.py", line 240, in _parse_objects
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:     for key, value in self._parse_pairs(lines):
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:   File "/usr/lib/python3.10/site-packages/mpd/base.py", line 235, in _parse_pairs
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:     for line in lines:
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:   File "/usr/lib/python3.10/site-packages/mpd/base.py", line 586, in _read_lines
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:     line = self._read_line()
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:   File "/usr/lib/python3.10/site-packages/mpd/base.py", line 568, in _read_line
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:     line = self._rbfile.readline().decode("utf-8")
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:   File "/usr/lib/python3.10/socket.py", line 705, in readinto
Oct 12 18:24:13 elephant.arch mpDris2[1951931]:     return self._sock.recv_into(b)
Oct 12 18:24:13 elephant.arch mpDris2[1951931]: TimeoutError: timed out
Oct 12 18:24:13 elephant.arch mpDris2[1951931]: 2022-10-12 18:24:13,186 mpDris2 WARNING: Disconnected

Using latest git version on arch.