All python plugins are broken by a bad import
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject |
Invalid
|
Undecided
|
Unassigned | ||
libpeas (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Oneiric |
Fix Released
|
High
|
Martin Pitt |
Bug Description
All python plugins in gedit are disabled because of a python import error. This affects all apps that use libpeas to to host python plugins.
(gedit:3574): 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:3574): libpeas-WARNING **: Please check the installation of all the Python related packages required by libpeas and try again
(gedit:3574): libpeas-WARNING **: Loader 'python' is not a valid PeasPluginLoader instance
(gedit:3574): libpeas-WARNING **: Could not find loader 'python' for plugin 'gdpbzr'
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gir1.2-peas-1.0 1.1.4-0ubuntu1
ProcVersionSign
Uname: Linux 3.0.0-11-
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Fri Sep 23 08:38:30 2011
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: libpeas
UpgradeStatus: Upgraded to oneiric on 2011-09-23 (0 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.