On 2019-05-07 15:37, Jesse Gibbons wrote:
...


When I look into the file that defines the Browser class I see it tries
to import the "webKit2" package, version 4.0 which is not defined by
guix. Then it defines a subclass of WebKit2.WebView which Python says
is null.

Luckily there is a warning about what it is looking for:

** (journal.py:2637): WARNING **: 07:12:54.144: Failed to load shared library 
'libwebkit2gtk-4.0.so.37' referenced by the typelib: libwebkit2gtk-4.0.so.37: 
cannot open shared object file: No such file or directory

** (journal.py:2637): WARNING **: 07:12:54.144: Failed to load shared library 
'libjavascriptcoregtk-4.0.so.18' referenced by the typelib: 
libjavascriptcoregtk-4.0.so.18: cannot open shared object file: No such file or 
directory

This was the error I had before i updated guix. Both of these shared
libraries are in the environment's $LIBRARY_PATH.

It is quite common that software is hardcoded to expect the libraries in certain paths e.g. /usr/lib or whatever. I suggest you substitute the path in journal.py to help it find the libraries.

--
Cheers
Swedebugia

Reply via email to