[Bug 1247657] Re: python-dbg is unable to import webkit
Forest
1247657 at bugs.launchpad.net
Sun Nov 3 20:19:02 UTC 2013
Possibly related to this bug #1040914?
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pywebkitgtk in Ubuntu.
https://bugs.launchpad.net/bugs/1247657
Title:
python-dbg is unable to import webkit
Status in “pywebkitgtk” package in Ubuntu:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pywebkitgtk/+bug/1247657/+subscriptions
More information about the foundations-bugs
mailing list