Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#41339 - wxpython: import wx.html2 fails due to missing library

Attached to Project: Arch Linux
Opened by Luke McCarthy (shaurz) - Friday, 25 July 2014, 00:59 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 25 July 2014, 01:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

wx.html2 fails to import, complaining that libwebkitgtk-1.0.so.0 does not exist.

I have installed the webkitgtk package but it does not provide this library.

It does provide libwebkitgtk-3.0.so.0 so I guess wxwidgets/wxpython need to be recompiled for the new version of the webkit library.


Steps to reproduce:

$ python2
Python 2.7.8 (default, Jul 1 2014, 17:30:21)
[GCC 4.9.0 20140604 (prerelease)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx.html2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/wx-3.0-gtk2/wx/html2.py", line 8, in <module>
import _html2
ImportError: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 25 July 2014, 01:28 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Optdep is already in place.
Comment by Doug Newgard (Scimmia) - Friday, 25 July 2014, 01:26 GMT
Take a look at the file where the import fails, it's specifically dealing with wxgtk.

And from the wxgtk package page:
webkitgtk2 (optional) - for webview support

% pkgfile libwebkitgtk-1.0.so.0
extra/webkitgtk2

Loading...