← Back to team overview

desktop-packages team mailing list archive

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

 

Should be fixed with

libpeas (1.2.0-0ubuntu1) oneiric; urgency=low

  * New upstream release:
    - Fix using Python plugins.
    - Misc improvement and fixes.
    - Translation updates
  * debian/libpeas-1.0-0.symbols:
    - Updated symbols

 -- Didier Roche <didrocks@xxxxxxxxxx>   Tue, 27 Sep 2011 09:21:20 +0200

I'll double-check once it's built.

** Changed in: pygobject
       Status: New => Invalid

** Package changed: pygobject (Ubuntu Oneiric) => libpeas (Ubuntu
Oneiric)

** Changed in: libpeas (Ubuntu Oneiric)
       Status: In Progress => Fix Released

-- 
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:
  Invalid
Status in “libpeas” package in Ubuntu:
  Fix Released
Status in “libpeas” source package in Oneiric:
  Fix Released

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