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 Desktop Packages, which is subscribed to pygobject in Ubuntu. https://bugs.launchpad.net/bugs/839712 Title: Plugins written in Python can no longer be enabled Status in “gedit” package in Ubuntu: Confirmed Status in “gedit-plugins” package in Ubuntu: Confirmed Status in “libpeas” package in Ubuntu: Confirmed Status in “pygobject” package in Ubuntu: Confirmed Status in “pygobject-2” package in Ubuntu: Confirmed Bug description: I updated to Ubuntu 11.10 Beta 1, and I can no longer enable gedit plugins written in Python. When I go to "Edit > Preferences > Plugins" and I try to enable such a plugin, the checkbox is greyed out. Here's the output on a terminal when I try to enable Snippets: (gedit:19196): libpeas-WARNING **: Error initializing Python interpreter: could not import gi (gedit:19196): libpeas-WARNING **: Please check the installation of all the Python related packages required by libpeas and try again (gedit:19196): libpeas-WARNING **: Cannot load Python plugin 'snippets' since libpeas was not able to initialize the Python interpreter (gedit:19196): libpeas-WARNING **: Error loading plugin 'snippets' I didn't have this bug with Ubuntu 11.10 Alpha 3. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: gedit 3.1.4-0ubuntu1 ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3 Uname: Linux 3.0.0-9-generic i686 Architecture: i386 Date: Fri Sep 2 12:27:29 2011 ExecutablePath: /usr/bin/gedit InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) SourcePackage: gedit UpgradeStatus: Upgraded to oneiric on 2011-08-23 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/839712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp