← Back to team overview

desktop-packages team mailing list archive

[Bug 857348] Re: All python plugins are broken by a bad import

 

@Jean-Philippe Fleury (jpfle) - Are there amd64 packages of that version somewhere? I tried your fix as given and got an error of:
"libpeas-1.0-0:i386 1.1.3-0ubuntu1 (Multi-Arch: no) is not co-installable with libpeas-1.0-0:amd64 1.1.4-0ubuntu1 (Multi-Arch: no) which is currently installed"

-- 
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/857348

Title:
  All python plugins are broken by a bad import

Status in Python bindings for GObject:
  Unknown
Status in “pygobject” package in Ubuntu:
  Triaged

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/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: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
  ProcVersionSignature: Ubuntu 3.0.0-11.18-generic-pae 3.0.4
  Uname: Linux 3.0.0-11-generic-pae i686
  NonfreeKernelModules: nvidia wl
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pygobject/+bug/857348/+subscriptions