gnome-music on -current has a small bug regarding a call to a log method, which was introduced with gnome-music 3.36. The fix has already been merged upstream [1] and might be included in a new point release.

Thanks!

Nils

[1] https://gitlab.gnome.org/GNOME/gnome-music/-/commit/e191f98239a4190ae9c4fd28506a445fb4637ce5
Index: patches/patch-gnomemusic_pauseonsuspend_py
===================================================================
RCS file: patches/patch-gnomemusic_pauseonsuspend_py
diff -N patches/patch-gnomemusic_pauseonsuspend_py
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-gnomemusic_pauseonsuspend_py	10 Jun 2020 13:45:06 -0000
@@ -0,0 +1,26 @@
+$OpenBSD$
+
+Fix logmessage format, see upstream commit:
+https://gitlab.gnome.org/GNOME/gnome-music/-/commit/e191f98239a4190ae9c4fd28506a445fb4637ce5
+
+Index: gnomemusic/pauseonsuspend.py
+--- gnomemusic/pauseonsuspend.py.orig
++++ gnomemusic/pauseonsuspend.py
+@@ -95,7 +95,7 @@ class PauseOnSuspend(GObject.GObject):
+                 "g-signal", self._pause_playing)
+         except GLib.Error as e:
+             self._log.warning(
+-                "Error: Failed to finish proxy call:", e.message)
++                "Error: Failed to finish proxy call: {}".format(e.message))
+ 
+     def _release_lock(self):
+         if self._file_descriptor >= 0:
+@@ -117,7 +117,7 @@ class PauseOnSuspend(GObject.GObject):
+             self._suspend_proxy = proxy.new_finish(result)
+         except GLib.Error as e:
+             self._log.warning(
+-                "Error: Failed to contact logind daemon:", e.message)
++                "Error: Failed to contact logind daemon: {}".format(e.message))
+             return
+ 
+     def _pause_playing(self, proxy, sender, signal, parameters):

Reply via email to