Starting Lutris displays the following error and does not start the program
Traceback (most recent call last):
File "/usr/bin/lutris", line 29, in <module>
from lutris.gui.application import Application
File "/usr/lib/python3.6/site-packages/lutris/gui/application.py", line 26, in <module>
gi.require_version('Gdk', '3.0')
File "/usr/lib64/python3.6/site-packages/gi/__init__.py", line 134, in require_version
(namespace, version))
ValueError: Namespace Gdk not available for version 3.0
Looks like you’re missing a Gdk dependency, are our dependencies wrong on the Tumbleweed package?
I haven’t heard complaints from other openSUSE users so it may be a recent change in Tumbleweed? The upgrade to Python 3.6 for example, that was an issue for Arch users where they had to uninstall and reinstall Lutris.
I’m not sure, recently I installed OpenSUSE (it’s also my first contact with this OS).
I installed Lutris using ‘One Click Install’.
I have uninstalled the program and reinstalled it but the problem continues.
I’ve got the same issue and ./bin/lutris has the same error
I’m using tumbleweed, I’m guessing that a dependency is missing from the build spec but looking at it nothing is obviously missing.
doryx@sam ~/P/lutris> python3 -c "import gi; gi.require_version('Gdk', '3.0')"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib64/python3.6/site-packages/gi/__init__.py", line 134, in require_version
(namespace, version))
ValueError: Namespace Gdk not available for version 3.0
So the issue is with a Gdk3 dep… I’ve had no luck figuring out what’s missing.
I noticed there is an outstanding revision to the spec:
Signed up to mention that I have the same exact issue. Installed all of the python-related gdk dependencies, can’t get it to work. Really bummed, I wanna play Dark Souls II SOTFS on Linux instead of having to reboot.
Adding the python3-gobject-Gdk dependency to the spec file breaks other OpenSUSE version, I already rejected a patch for this. If someone knows how to patch the spec file so that it works on all SUSE distros, I’ll merge the change, otherwise Tumbleweed will remain broken since it has lower priority than other OpenSUSE versions.
Thanks!
I saw your PR on OBS, if it doesn’t break the other suse builds, I’ll integrate it. Can you send a PR on Github instead? That’s where keep the lutris.spec file. If you don’t have a github account, that’s fine, I can make the change myself.
Update: So the build passed! If you want you can submit the PR, otherwise I’ll just commit the changes. The packages on OBS should now work properly.