I tried to add some plugins in gedit 3.10.4 on ubuntu 14.04LTS and some errors occured when I try to activate those plugins in gedit:
(gedit:20686): libpeas-WARNING **: Error initializing Python Plugin Loader: PyGObject initialization failed ImportError: could not import gobject (error was: ImportError("No module named 'gi'",))
(gedit:20686): libpeas-WARNING **: Please check the installation of all the Python related packages required by libpeas and try again
(gedit:20686): libpeas-WARNING **: Loader 'python3' is not a valid PeasPluginLoader instance
(gedit:20686): libpeas-WARNING **: Could not find loader 'python3' for plugin 'bracketcompletion'
And I see, on ged
plugin loader 'python3' was not found
Does anyone have an idea from where the problem could come?
It's a gedit bug, see https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/859089
As a workaround, in your
/usr/lib/gedit/pluginsearch for your plugin file (e.g.bracketcompletion.plugin) and changeLoader=python3toLoader=pythonUnfortunately, this workaround doesn't work for all the plugins.