Public bug reported: I'm trying to debug a python application (exaile) that uses python- webkit, but can't, because python-dbg won't load the webkit extension. I'm not sure, but it looks to me like this might be due to not having a debug version of python-webkit. Sadly, the ubuntu repositories don't seem to include any such debug version.
$ python-dbg -c 'import webkit' Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/webkit/__init__.py", line 21, in <module> import webkit ImportError: /usr/lib/python2.7/dist-packages/webkit/webkit.so: undefined symbol: Py_InitModule4_64 Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 64, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes File "/usr/lib/python2.7/dist-packages/apport/__init__.py", line 5, in <module> from apport.report import Report File "/usr/lib/python2.7/dist-packages/apport/report.py", line 30, in <module> import apport.fileutils File "/usr/lib/python2.7/dist-packages/apport/fileutils.py", line 23, in <module> from apport.packaging_impl import impl as packaging File "/usr/lib/python2.7/dist-packages/apport/packaging_impl.py", line 20, in <module> import apt File "/usr/lib/python2.7/dist-packages/apt/__init__.py", line 21, in <module> import apt_pkg ImportError: /usr/lib/python2.7/dist-packages/apt_pkg.so: undefined symbol: Py_InitModule4_64 Original exception was: Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/webkit/__init__.py", line 21, in <module> import webkit ImportError: /usr/lib/python2.7/dist-packages/webkit/webkit.so: undefined symbol: Py_InitModule4_64 [44587 refs] $ lsb_release -r Release: 13.10 ** Affects: pywebkitgtk (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1247657 Title: python-dbg is unable to import webkit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pywebkitgtk/+bug/1247657/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs