https://bugzilla.redhat.com/show_bug.cgi?id=1368911

"FeRD" (Frank Dana) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #5 from "FeRD" (Frank Dana) <[email protected]> ---
This seems to have become a bit more urgent lately because, at least for me,
mpDris2 is failing to connect to MPD using python-mpd. At various times, I was
seeing crashes due to either system library argument formatting and/or pretty
basic string-encoding issues:

  File "/usr/lib/python2.7/site-packages/mpd.py", line 316, in connect
    self._hello()
  File "/usr/lib/python2.7/site-packages/mpd.py", line 276, in _hello
    if not line.endswith("\n"):
TypeError: endswith first arg must be bytes or a tuple of bytes, not str

2017-07-01 07:23:08,409 mpDris2 ERROR: Could not connect to MPD: getaddrinfo()
argument 2 must be integer or string

(The first one is because python-mpd doesn't set encoding="utf-8" on the
network stream, as python-mpd2 does. The second one, I honestly didn't even
begin to explore.)

Regardless, I built a python3-mpd2 of my own, installed it, and instantly by
running 'python3 /usr/bin/mpDris2' full functionality was restored, with no
changes required to the mpDris2 script.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to