python-dbg is unable to import webkit

Bug #1247657 reported by Forest
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pywebkitgtk (Ubuntu)
New
Undecided
Unassigned

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

Revision history for this message
Forest (foresto) wrote :

Possibly related to this bug #1040914?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.