[Bug 1035103] Re: Software that uses Python will not load at all, e.g. Update Manager

Scott Kitterman ubuntu at kitterman.com
Fri Aug 10 12:59:27 UTC 2012


** Package changed: python2.7 (Ubuntu) => pygobject (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1035103

Title:
  Software that uses Python will not load at all, e.g. Update Manager

Status in “pygobject” package in Ubuntu:
  New

Bug description:
  I had Ubuntu Studio 10.10 installed, and upgraded through each version
  to 12.04.

  When running Update Manager now, nothing appears. If I use the CLI, I
  get the following error:

  ~$ update-manager
  Traceback (most recent call last):
    File "/usr/bin/update-manager", line 26, in <module>
      from gi.repository import Gtk
    File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 23, in <module>
      from ._gi import _API, Repository
  ImportError: /usr/lib/python2.7/dist-packages/gi/_gi.so: undefined symbol: g_callable_info_skip_return

  
  If I try to run other software, I get the same error, which includes: Ubuntu Software Center, Ubuntu One and Apport/ubuntu-bug. All fail to show anything on screen other than errors in the Terminal.

  When trying to use ubuntu-bug to report this error I got a similar
  error:

  *** Collecting problem information

  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  ........................................ERROR: hook /usr/share/apport/general-hooks/ubuntu.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/apport/report.py", line 717, in add_hooks_info
      exec(compile(fd.read(), hook, 'exec'), symb)
    File "/usr/share/apport/general-hooks/ubuntu.py", line 18, in <module>
      from apport.hookutils import *
    File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 29, in <module>
      from gi.repository import Gio, GLib
    File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 23, in <module>
      from ._gi import _API, Repository
  ImportError: /usr/lib/python2.7/dist-packages/gi/_gi.so: undefined symbol: g_callable_info_skip_return
  ERROR: hook /usr/share/apport/general-hooks/generic.py crashed:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/apport/report.py", line 717, in add_hooks_info
      exec(compile(fd.read(), hook, 'exec'), symb)
    File "/usr/share/apport/general-hooks/generic.py", line 15, in <module>
      import apport.hookutils, apport.fileutils
    File "/usr/lib/python2.7/dist-packages/apport/hookutils.py", line 29, in <module>
      from gi.repository import Gio, GLib
    File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 23, in <module>
      from ._gi import _API, Repository
  ImportError: /usr/lib/python2.7/dist-packages/gi/_gi.so: undefined symbol: g_callable_info_skip_return
  ..

  
  So I was unable to use ubuntu-bug to report the bug as that is also affected by the same bug.

  The bug seems to be this:

  ImportError: /usr/lib/python2.7/dist-packages/gi/_gi.so: undefined
  symbol: g_callable_info_skip_return

  I have tried reinstalling Python 2.7 and some of affected packages,
  but it makes no difference.

  
  This error occured first when I had upgraded to 11.10 and then I had to use the CLI to upgrade to 12.04. Before that in the earlier versions of Ubuntu, this error did not occur.

  I still have a copy of my 10.10 installation, and the file
  /usr/lib/python2.7/dist-packages/gi/_gi.so did not exist in that, nor
  did the gi folder.

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




More information about the foundations-bugs mailing list