Just a side note, as I have gone to determine why the plugins won't
activate, I discovered that running "python2.7 -c "from gi.repository
import Gedit" fails, but running "python3 -c "from gi.repository import
Gedit" doesn't. I am assuming it could be the way libpeas/gedit is
linked to Python, and/or the version of the interpreter that it loads. I
can also see that gedit depends on python 2.7.

When I try to activate the "Bracket Completion" plugin, gedit outputs this:
(gedit:25444): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 
`gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(gedit:25444): libpeas-WARNING **: Error initializing Python
interpreter: could not import gi

(gedit:25444): libpeas-WARNING **: Please check the installation of all
the Python related packages required by libpeas and try again

(gedit:25444): libpeas-WARNING **: Cannot load Python plugin
'bracketcompletion' since libpeas was not able to initialize the Python
interpreter

(gedit:25444): libpeas-WARNING **: Error loading plugin
'bracketcompletion'


This could mean that the python "gi" module is probably written for python 3, 
but not python 2.7. 

Hope this helps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/839712

Title:
  Plugins written in Python can no longer be enabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/839712/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to