Eye of Gnome (Eog) slideshow shuffle plugin fail

I have the slideshow shuffle plugin installed for Eye of Gnome. This used to work, but I just recently noticed that now it doesn’t. It has been a while since I last used it, so I don’t know when it broke.

Installed:

S  | Name                        | Type    | Version         | Arch   | Repository
---+-----------------------------+---------+-----------------+--------+------------------------
i+ | eog                         | package | 49.1-1.2        | x86_64 | openSUSE-Tumbleweed-Oss
i+ | eog-lang                    | package | 49.1-1.2        | noarch | openSUSE-Tumbleweed-Oss
i+ | eog-plugin-exif-display     | package | 44.1-1.5        | x86_64 | openSUSE-Tumbleweed-Oss
i+ | eog-plugin-slideshowshuffle | package | 44.1-1.5        | x86_64 | openSUSE-Tumbleweed-Oss
i+ | eog-plugins                 | package | 44.1-1.5        | x86_64 | openSUSE-Tumbleweed-Oss
i+ | eog-plugins-data            | package | 44.1-1.5        | noarch | openSUSE-Tumbleweed-Oss
i+ | eog-plugins-lang            | package | 44.1-1.5        | noarch | openSUSE-Tumbleweed-Oss

In Preferences, the plugin shows that it cannot be enabled, with an error:

Sadly, the error text is only shown as a mouse-over popup, so I can’t get a screenshot of it. The text is:

The plugin Slideshow Shuffle could not be loaded. An error occurred: Plugin loader “python3” was not found.

“Not found” seems to not be completely true, it’s really that the Python plugin returns an error and won’t load.

The plugin file (/usr/lib64/eog/plugins/slideshowshuffle.plugin) contains:

[Plugin]
Loader=python3
Module=slideshowshuffle

The plugin Python code errors out here:

from gi.repository import GObject, Gtk, Eog

with this:

/usr/lib64/eog/plugins/slideshowshuffle.py:18: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gtk, Eog
Traceback (most recent call last):
  File "/usr/lib64/eog/plugins/slideshowshuffle.py", line 18, in <module>
    from gi.repository import GObject, Gtk, Eog
  File "/usr/lib64/python3.13/site-packages/gi/importer.py", line 130, in create_module
    raise ImportError(
        f"cannot import name {namespace}, introspection typelib not found"
    )
ImportError: cannot import name Eog, introspection typelib not found

Google suggests that I’m missing something called typelib-1_0-Eog-3_0 that provides “GObject introspection bindings”, but I can find no reference to any such RPM actually existing. Google also suggests that typelib-1_0-Gtk* provides the needed GObject introspection bindings, but those are installed:

S  | Name                       | Type    | Version     | Arch   | Repository
---+----------------------------+---------+-------------+--------+------------------
i  | typelib-1_0-Gtk-3_0        | package | 3.24.51-1.1 | x86_64 | (System Packages)
i  | typelib-1_0-Gtk-4_0        | package | 4.20.3-1.1  | x86_64 | (System Packages)

There is clearly something that it’s not happy about, but I’ve not been able to find a useful reference point to dig any further.

Anybody know what I’m missing here?

@gersic Hi, I would suggest you wait a couple of weeks until GNOME 50 drops and test again…

Does it work in Gnome 50?

@gersic Not by the looks now, but need to investigate… it should be built against libpeas-2 by the looks…

1 Like

@gersic I should be fixed in GNOME 50 with libpeas 1.38. There was an issue GIR conflicts, that’s why it was disabled…

1 Like