Python Forum
GTK WebView, failed to load shared libraries.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GTK WebView, failed to load shared libraries.
#1
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 class
All 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.1
It would be great, if someone could post some ideas or maybe an solution.
Best wishes,
TimeMen
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Set wx.html2.WebView invisible ian 1 2,110 May-12-2018, 08:33 AM
Last Post: Weave
  wx.html2.WebView Methods ian 4 3,595 Apr-27-2018, 05:36 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020