eog-modified-date-plugin icon indicating copy to clipboard operation
eog-modified-date-plugin copied to clipboard

Plugin not working on Ubuntu 18.04.5 / EOG 3.28.1

Open Phlos opened this issue 3 years ago • 1 comments

Hi there!

thanks a lot for this potentially very useful feature. I wanted to install it on my machine (Ubuntu 18.04.5) but got the following error:

(eog:18977): libpeas-WARNING **: 21:51:09.942: Error initializing Python Plugin Loader: PyGObject initialization failed
ImportError: could not import gobject (error was: ModuleNotFoundError("No module named 'gi'",))

(eog:18977): libpeas-WARNING **: 21:51:09.942: Please check the installation of all the Python related packages required by libpeas and try again

(eog:18977): libpeas-WARNING **: 21:51:09.942: Loader 'python3' is not a valid PeasPluginLoader instance

It's complaining both about the python3 and the module gi. I don't know enough about this to assess it further, but do you have an idea how to solve this? Thanks :)

Phlos avatar Feb 18 '22 21:02 Phlos

I'd have to test it, but my guess is that python3 is either not installed or not the default. But I don't believe I tested as far back as Ubuntu 18.04.5. I think I did test on 19.10 and it worked, but I needed to make a small code change. So it's possible I will need to update the plugin. I can take a look tomorrow. Thanks for reporting this.

One thing you can try for now is changing this line in the modified-date.plugin file:

Loader=python3

To:

Loader=python

I can't recall if I was using any features that needed Python 3 but maybe that will fix it.

cybereality avatar Feb 18 '22 23:02 cybereality