gedit-plugins unable to load

Bug #859089 reported by Alex Schiff
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I try to enable some plugins in gedit, I get an error:
The plugin 'Bracket Completion' could not be loaded
An error occurred: Plugin loader 'python' was not found.

If I run from the command line, I get:
(gedit:4374): libpeas-WARNING **: Error initializing Python Plugin Loader:PyGObject initialization failed
ImportError: could not import gobject (error was: '/usr/lib/libpyglib-gi-2.0-python2.7.so.0: undefined symbol: _Py_ZeroStruct')
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 59, in apport_excepthook
    from apport.fileutils import likely_packaged
  File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 1, in <module>
    from apport.report import Report
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 16, in <module>
    from xml.parsers.expat import ExpatError
  File "/usr/lib/python2.7/xml/parsers/expat.py", line 4, in <module>
    from pyexpat import *
ImportError: /usr/lib/python2.7/lib-dynload/pyexpat.so: undefined symbol: _Py_ZeroStruct

Original exception was:
ImportError: could not import gobject (error was: '/usr/lib/libpyglib-gi-2.0-python2.7.so.0: undefined symbol: _Py_ZeroStruct')

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

(gedit:4374): libpeas-WARNING **: Loader 'python' is not a valid PeasPluginLoader instance

(gedit:4374): libpeas-WARNING **: Could not find loader 'python' for plugin 'bracketcompletion'

(gedit:4374): libpeas-WARNING **: Could not find loader 'python' for plugin 'snippets'

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gedit 3.1.6-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic 3.0.4
Uname: Linux 3.0.0-11-generic i686
NonfreeKernelModules: wl
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Sun Sep 25 12:38:35 2011
ExecutablePath: /usr/bin/gedit
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alex Schiff (alex.schiff) wrote :
Julian Taylor (jtaylor)
Changed in gedit (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.