GTK WebView, failed to load shared libraries. - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: GUI (https://python-forum.io/forum-10.html) +--- Thread: GTK WebView, failed to load shared libraries. (/thread-13940.html) |
GTK WebView, failed to load shared libraries. - TimeMen - Nov-07-2018 Hey there, troubling with the the WebView from WebKitGTK. Created a large project using the WebView at some points. On my old OS (Linux Mint 19) all worked well, but after setting up my new notebook with a Manjaro Linux (Arch), I get those error messages after executing the file. [rtfm@Inspiron ~]$ python3 Python 3.7.1 (default, Oct 22 2018, 10:41:28) [GCC 8.2.1 20180831] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import gi >>> gi.require_version('WebKit', '3.0') >>> from gi.repository import WebKit (.:2689): Gtk-WARNING **: 13:43:59.853: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version (.:2689): Gtk-WARNING **: 13:43:59.853: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version (.:2689): Gtk-WARNING **: 13:43:59.853: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version >>> wv = WebKit.WebView() ** (.:2689): WARNING **: 13:44:23.836: Failed to load shared library 'libwebkitgtk-3.0.so.0' referenced by the typelib: libicui18n.so.62: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden ** (.:2689): WARNING **: 13:44:23.837: Failed to load shared library 'libjavascriptcoregtk-3.0.so.0' referenced by the typelib: libicui18n.so.62: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden __main__:1: Warning: cannot retrieve class for invalid (unclassed) type 'void' Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: could not get a reference to type classAll the libs I needed from Pip I've installed already, but I don't know how to solve this problem. In the AUR there are no packages called like the above mentioned libraries. [rtfm@Inspiron ~]$ uname -a Linux Inspiron 4.14.78-1-MANJARO #1 SMP PREEMPT Sun Oct 21 07:57:51 UTC 2018 x86_64 GNU/Linux [rtfm@Inspiron ~]$ python --version Python 3.7.1It would be great, if someone could post some ideas or maybe an solution. Best wishes, TimeMen |