For those interested, I tried this:
apt-get install python2.5-dbg valgrind
then, edit your /usr/bin/update-manager, line 1:
#!/usr/bin/python2.5-dbg
Then:
valgrind --log-file=python-errors /usr/bin/update-manager
This produced the attachment, and then said:
Traceback (most recent call last):
File "/usr/bin/update-manager", line 28, in <module>
import gtk
File "/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py", line 38, in
<module>
import gobject as _gobject
File "/var/lib/python-support/python2.5/gtk-2.0/gobject/__init__.py", line
30, in <module>
from gobject.constants import *
File "/var/lib/python-support/python2.5/gtk-2.0/gobject/constants.py", line
22, in <module>
from _gobject import type_from_name
ImportError: /var/lib/python-support/python2.5/gtk-2.0/gobject/_gobject.so:
undefined symbol: Py_InitModule4
Error in sys.excepthook:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/apport_python_hook.py", line 38, in
apport_excepthook
from apport.fileutils import likely_packaged
File "/var/lib/python-support/python2.5/apport/__init__.py", line 1, in
<module>
from apport.report import Report
File "/var/lib/python-support/python2.5/apport/report.py", line 18, in
<module>
from xml.parsers.expat import ExpatError
File "/usr/lib/python2.5/site-packages/_xmlplus/parsers/expat.py", line 4, in
<module>
from pyexpat import *
ImportError: /usr/lib/python2.5/site-packages/_xmlplus/parsers/pyexpat.so:
undefined symbol: Py_InitModule4
Original exception was:
Traceback (most recent call last):
File "/usr/bin/update-manager", line 28, in <module>
import gtk
File "/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py", line 38, in
<module>
import gobject as _gobject
File "/var/lib/python-support/python2.5/gtk-2.0/gobject/__init__.py", line
30, in <module>
from gobject.constants import *
File "/var/lib/python-support/python2.5/gtk-2.0/gobject/constants.py", line
22, in <module>
from _gobject import type_from_name
ImportError: /var/lib/python-support/python2.5/gtk-2.0/gobject/_gobject.so:
undefined symbol: Py_InitModule4
I'll see if I can patch things a bit...
** Attachment added: "python-errors.6189"
http://launchpadlibrarian.net/10311822/python-errors.6189
--
[patch] Upgrade tool crashed with " Cannot allocate memory"
https://bugs.launchpad.net/bugs/107188
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs