I have encountered this problem too just now, with an up-to-date jaunty
machine.

After adding some debug messages, I get:

ImportError: could not import gobject (error was: 
'/var/lib/python-support/python2.6/gtk-2.0/glib/_glib.so: undefined symbol: 
Py_InitModule4_64')
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 38, in 
apport_excepthook
    from apport.packaging_impl import impl as packaging
  File "/usr/lib/python2.6/dist-packages/apport/__init__.py", line 1, in 
<module>
    from apport.report import Report
  File "/usr/lib/python2.6/dist-packages/apport/report.py", line 14, in <module>
    import subprocess, tempfile, os.path, urllib, re, pwd, grp, os, sys
  File "/usr/lib/python2.6/subprocess.py", line 401, in <module>
    import select
ImportError: No module named select

Original exception was:
ImportError: could not import gobject (error was: 
'/var/lib/python-support/python2.6/gtk-2.0/glib/_glib.so: undefined symbol: 
Py_InitModule4_64')

Rhythmbox-ERROR **: Failed to initialize pygobject
aborting...
Aborted (core dumped)

Someone should be linking to libpython...
 1. Either the pygobject module could link to libpython;
 2. Or, rhythmbox should link to libpython.

Apparently, neither one is linking to libpython, and so python modules
fail to load due to missing symbols.

Attaching patch to make the error more evident (init_pygobject should be
considered deprecated in favor of pygobject_init!).


** Attachment added: "p.diff"
   http://launchpadlibrarian.net/26175509/p.diff

-- 
rhythmbox crashed with SIGSEGV in rb_python_module_load_with_gil()
https://bugs.launchpad.net/bugs/351524
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to