Couldn't run `lutris-unwrapped`
Hi, thanks for the great channel!
I was trying to install lutris
, and was unable to run it with guix shell lutris-unwrapped -- lutris
.
It shows me ValueError: Namespace WebKit2 not available
error.
Do you know what it might be?
Here's the full stack trace I got from python:
Traceback (most recent call last):
File "/gnu/store/4izdwfx4kb5vzpkbql2pm4gmk4cy579b-lutris-unwrapped-0.5.12/lib/python3.10/site-packages/lutris/gui/dialogs/webconnect_dialog.py", line 7, in <module>
gi.require_version("WebKit2", "4.1")
File "/gnu/store/387748bimzwa0hif3bbl5q4kyjh8ir59-python-pygobject-3.42.2/lib/python3.10/site-packages/gi/__init__.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace WebKit2 not available
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/gnu/store/4izdwfx4kb5vzpkbql2pm4gmk4cy579b-lutris-unwrapped-0.5.12/bin/.lutris-real", line 52, in <module>
from lutris.gui.application import Application # pylint: disable=no-name-in-module
File "/gnu/store/4izdwfx4kb5vzpkbql2pm4gmk4cy579b-lutris-unwrapped-0.5.12/lib/python3.10/site-packages/lutris/gui/application.py", line 45, in <module>
from lutris.gui.installerwindow import InstallerWindow, InstallationKind
File "/gnu/store/4izdwfx4kb5vzpkbql2pm4gmk4cy579b-lutris-unwrapped-0.5.12/lib/python3.10/site-packages/lutris/gui/installerwindow.py", line 17, in <module>
from lutris.installer import InstallationKind, get_installers, interpreter
File "/gnu/store/4izdwfx4kb5vzpkbql2pm4gmk4cy579b-lutris-unwrapped-0.5.12/lib/python3.10/site-packages/lutris/installer/interpreter.py", line 15, in <module>
from lutris.installer.installer import LutrisInstaller
File "/gnu/store/4izdwfx4kb5vzpkbql2pm4gmk4cy579b-lutris-unwrapped-0.5.12/lib/python3.10/site-packages/lutris/installer/installer.py", line 13, in <module>
from lutris.services import SERVICES
File "/gnu/store/4izdwfx4kb5vzpkbql2pm4gmk4cy579b-lutris-unwrapped-0.5.12/lib/python3.10/site-packages/lutris/services/__init__.py", line 5, in <module>
from lutris.services.amazon import AmazonService
File "/gnu/store/4izdwfx4kb5vzpkbql2pm4gmk4cy579b-lutris-unwrapped-0.5.12/lib/python3.10/site-packages/lutris/services/amazon.py", line 16, in <module>
from lutris.services.base import OnlineService
File "/gnu/store/4izdwfx4kb5vzpkbql2pm4gmk4cy579b-lutris-unwrapped-0.5.12/lib/python3.10/site-packages/lutris/services/base.py", line 16, in <module>
from lutris.gui.dialogs.webconnect_dialog import DEFAULT_USER_AGENT, WebConnectDialog
File "/gnu/store/4izdwfx4kb5vzpkbql2pm4gmk4cy579b-lutris-unwrapped-0.5.12/lib/python3.10/site-packages/lutris/gui/dialogs/webconnect_dialog.py", line 9, in <module>
gi.require_version("WebKit2", "4.0")
File "/gnu/store/387748bimzwa0hif3bbl5q4kyjh8ir59-python-pygobject-3.42.2/lib/python3.10/site-packages/gi/__init__.py", line 126, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace WebKit2 not available
And here's (part of) my guix describe
:
Generation 51 Jan 23 2024 09:38:55 (current)
small-guix 0e8762f
repository URL: https://gitlab.com/orang3/small-guix
branch: master
commit: 0e8762f196fd9b3a8b8591f9c75cb03319bb946b
nonguix 47d7caa
repository URL: https://gitlab.com/nonguix/nonguix
branch: master
commit: 47d7caa2316f2e24f19e5341aeb259872fe7b21a
guix ffc5fef
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: ffc5fefce370f5fc01091869e13fdf525be1e0c0
Also, I was able to build lutris fine with guix time-machine
with commits from 10 months ago:
guix time-machine --channels=./channels.scm -- shell lutris-unwrapped -- lutris
with this channels.scm:
(list (channel
(name 'small-guix)
(url "https://gitlab.com/orang3/small-guix")
(branch "master")
(commit
"558c0a03e2f33146d02009a63b4d20bf81a50b62")
(introduction
(make-channel-introduction
"f260da13666cd41ae3202270784e61e062a3999c"
(openpgp-fingerprint
"8D10 60B9 6BB8 292E 829B 7249 AED4 1CC1 93B7 01E2"))))
(channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
(branch "master")
(commit
"748ec7f8d3f86d27e3bad50987771200230e49be")
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
(channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(commit
"c4cca9cb5d3e93ef146acb930a95da9d2da6fb06")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
Edited by Gleb Zakharov