← Back to team overview

desktop-packages team mailing list archive

[Bug 859089] Re: gedit-plugins unable to load

 

*** This bug is a duplicate of bug 857348 ***
    https://bugs.launchpad.net/bugs/857348

** This bug has been marked a duplicate of bug 857348
   All python plugins are broken by a bad import

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/859089

Title:
  gedit-plugins unable to load

Status in “gedit” package in Ubuntu:
  Confirmed

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)

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


References