Error initializing Python Plugin Loader:PyGObject initialization failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gedit-plugins (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
libpeas (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When attempting to enable any python-related gedit plugin, the plugin fails to load. As an example, trying to enable charmap throws:
$ gedit
(gedit:13751): libpeas-WARNING **: Error initializing Python Plugin Loader:PyGObject initialization failed
ImportError: could not import gobject (error was: '/usr/lib/
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
from apport.fileutils import likely_packaged
File "/usr/lib/
from apport.report import Report
File "/usr/lib/
from xml.parsers.expat import ExpatError
File "/usr/lib/
from pyexpat import *
ImportError: /usr/lib/
Original exception was:
ImportError: could not import gobject (error was: '/usr/lib/
(gedit:13751): libpeas-WARNING **: Please check the installation of all the Python related packages required by libpeas and try again
(gedit:13751): libpeas-WARNING **: Loader 'python' is not a valid PeasPluginLoader instance
(gedit:13751): libpeas-WARNING **: Could not find loader 'python' for plugin 'charmap'
Since the error is similar to the one described in Bug #839712, the plugins might be broken as a result of the last upgrade to the python-gobject package.
The latest git version of gedit-plugins is 3.1.5, whereas the one in the Ubuntu repositories is 3.1.4. So updating the package in the repositories could solve the issue.
...:~$ lsb_release -rd && uname -rsvpm && apt-cache policy gedit gedit-plugins
Description: Ubuntu oneiric (development branch)
Release: 11.10
Linux 3.0.0-11-generic #18-Ubuntu SMP Tue Sep 13 23:38:01 UTC 2011 x86_64 x86_64
gedit:
Installed: 3.1.6-0ubuntu1
Candidate: 3.1.6-0ubuntu1
Version table:
*** 3.1.6-0ubuntu1 0
500 http://
100 /var/lib/
gedit-plugins:
Installed: 3.1.4-0ubuntu1
Candidate: 3.1.4-0ubuntu1
Version table:
*** 3.1.4-0ubuntu1 0
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gedit 3.1.6-0ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-11-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Fri Sep 23 00:40:26 2011
ExecutablePath: /usr/bin/gedit
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110921.2)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in libpeas (Ubuntu): | |
status: | New → Confirmed |
Changed in gedit-plugins (Ubuntu): | |
status: | Confirmed → Invalid |
Status changed to 'Confirmed' because the bug affects multiple users.