On 11/03/2022 16.39, Tiago Bortoletto Vaz wrote:
Andreas Beckmann also confirmed it doesn't work for him.
Digging a bit further into the problem ... https://stackoverflow.com/questions/55670051/python3-gtk-program-throws-introspection-typelib-error ... installing gir1.2-gtk-3.0 makes it no longer crash immediately at startup. It's noisy, though. But I have no idea if it is usable with this dependency added.;-) Btw, there seems to be a 1.5.1 upstream release available while Debian has 1.5.0. In a minimal pbuilder chroot with build-essential, playitslowly, xvfb, xauth, gir1.2-gtk-3.0 installed (and --install-recommends disabled): # xvfb-run playitslowly /usr/lib/python3/dist-packages/playitslowly/app.py:36: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk, GObject, Gst, Gio, Gdk /usr/lib/python3/dist-packages/playitslowly/app.py:38: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading GObject.threads_init() /usr/lib/python3/dist-packages/playitslowly/app.py:44: DeprecationWarning: Gtk.Settings.set_long_property is deprecated Gtk.Settings.get_default().set_long_property("gtk-button-images", True, "main") /usr/lib/python3/dist-packages/playitslowly/app.py:92: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "type" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations Gtk.Window.__init__(self, Gtk.WindowType.TOPLEVEL) /usr/lib/python3/dist-packages/playitslowly/app.py:117: PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "label" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations self.recentbutton = Gtk.Button(_("Recent")) /usr/lib/python3/dist-packages/playitslowly/app.py:164: PyGTKDeprecationWarning: Stock items are deprecated. Please use: Gtk.Button.new_with_mnemonic(label) self.play_button = Gtk.ToggleButton(stock=Gtk.STOCK_MEDIA_PLAY) /usr/lib/python3/dist-packages/playitslowly/app.py:166: DeprecationWarning: Gtk.Button.set_use_stock is deprecated self.play_button.set_use_stock(True) /usr/lib/python3/dist-packages/playitslowly/app.py:171: DeprecationWarning: Gtk.Button.new_from_stock is deprecated self.back_button = Gtk.Button.new_from_stock(Gtk.STOCK_MEDIA_REWIND) (app.py:1180): Gtk-WARNING **: 17:49:08.459: Error loading theme icon 'media-playback-start' for stock: (app.py:1180): Gtk-WARNING **: 17:49:08.460: Error loading theme icon 'media-seek-backward' for stock: (app.py:1180): Gtk-WARNING **: 17:49:08.460: Error loading theme icon 'document-save-as' for stock: Icon 'document-save-as' not present in theme Adwaita (app.py:1180): Gtk-WARNING **: 17:49:08.460: Error loading theme icon 'help-about' for stock: Icon 'help-about' not present in theme Adwaita ^C Andreas