editorconfig / editorconfig-gedit

EditorConfig plugin for Gedit
http://editorconfig.org
Other
54 stars 13 forks source link

Fails to run when GObject introspection data not installed #18

Open bignose-debian opened 6 years ago

bignose-debian commented 6 years ago

The GObject introspection libraries are needed only for programmers developing Gnome software. They should not be needed for running Gnome programs.

The ‘editorconfig_plugin.gedit’ module attempts to use GObject introspection:

from gi.repository import GObject, Gedit

This fails when the GObject introspection libraries are not present. This means the plug-in cannot run.

jefferyto commented 5 years ago

Every Python gedit plugin uses GObject introspection. You can see the minimal plugin template for yourself.

GI is required if you want to use Python plugins with gedit (or any other program that uses libpeas, e.g. Rhythmbox).