Control: tags -1 + patch

There is a one-line fix for this in the relevant upstream bug:

https://github.com/Cimbali/pympress/issues/330

--- i/pympress/builder.py
+++ w/pympress/builder.py
@@ -76,7 +76,7 @@ class Builder(Gtk.Builder):
         Args:
a_widget (:class:`~GObject.Object`): an object built by the builder, usually a widget
         """
- for str_prop in (prop.name for prop in a_widget.props if prop.value_type == GObject.TYPE_STRING): + for str_prop in (prop.name for prop in list(a_widget.props) if prop.value_type == GObject.TYPE_STRING):
             try:
                 str_val = getattr(a_widget.props, str_prop)
                 if str_val:


Alternatively, the pygobject package can be fixed - the fix for that is in experimental but not in trixie/sid.

I suspect working around the pygobject bug for the trixie release is best, dropping that patch as soon as the updated pygobject is uploaded during the forky release cycle.

regards
Stuart

--
Stuart Prescott   http://www.nanonanonano.net/ stu...@nanonanonano.net
Debian Developer  http://www.debian.org/       stu...@debian.org
GPG fingerprint   90E2 D2C1 AD14 6A1B 7EBB 891D BBC1 7EBB 1396 F2F7

Reply via email to