[Bug 1035103] [NEW] Software that uses Python will not load at all, e.g. Update Manager
Launchpad Bug Tracker
1035103 at bugs.launchpad.net
Fri Aug 10 09:56:21 UTC 2012
You have been subscribed to a public bug:
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.
** Affects: python2.7 (Ubuntu)
Importance: Undecided
Status: New
** Tags: bot-comment
--
Software that uses Python will not load at all, e.g. Update Manager
https://bugs.launchpad.net/bugs/1035103
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
More information about the foundations-bugs
mailing list