lutris / lutris

Lutris desktop client
https://lutris.net
GNU General Public License v3.0
7.9k stars 692 forks source link

0.5.0-beta Namespace GnomeDesktop not available on Xubuntu 18.04 #1454

Closed Alexmitter closed 5 years ago

Alexmitter commented 5 years ago

915 did not help me in this context.

Running the /bin/lutris from the 0.5.0-beta result in this:

Traceback (most recent call last): File "./bin/lutris", line 31, in from lutris.gui.application import Application File "/tmp/lutris-0.5.0-beta/lutris/gui/application.py", line 30, in gi.require_version("GnomeDesktop", "3.0") File "/usr/lib/python3/dist-packages/gi/init.py", line 130, in require_version raise ValueError('Namespace %s not available' % namespace) ValueError: Namespace GnomeDesktop not available

ghost commented 5 years ago

I just managed to run Lutris 0.5.0 on Gnome Desktop

DarkJarris commented 5 years ago

adding a Me Too, Ubuntu MATE 18.0401

Traceback (most recent call last):
  File "./lutris", line 31, in <module>
    from lutris.gui.application import Application
  File "/home/jarris/Downloads/lutris-0.5.0-beta/lutris/gui/application.py", line 30, in <module>
    gi.require_version("GnomeDesktop", "3.0")
  File "/usr/lib/python3/dist-packages/gi/__init__.py", line 130, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GnomeDesktop not available
Girtablulu commented 5 years ago

same issue on Solus Plasma 5.14.4

jamon commented 5 years ago

try this:

sudo apt install gir1.2-gnomedesktop-3.0 gir1.2-webkit2-4.0

worked for me on debian/plasma

ghost commented 5 years ago

Thanks @jamon

strycore commented 5 years ago

install the dependencies listed by @jamon when in doubt look up the dependency list in debian/control

daniel-j commented 5 years ago

For Arch the package name is gnome-desktop

strycore commented 5 years ago

no it's not

strycore commented 5 years ago

wait

strycore commented 5 years ago

I remember there was something fucky about Arch

strycore commented 5 years ago

does the gnome-desktop package provide the GIR binding for gnomedesktop?

alexws54tk commented 5 years ago

Same issue on Gentoo Plasma 5.14.5

scottchiefbaker commented 5 years ago

Still running in to this issue on Plasma, is there a fix for this?

strycore commented 5 years ago

Please install Lutris with the official packages.

alexws54tk commented 5 years ago

@strycore

Please install Lutris with the official packages.

I just emerge lurtis-9999 ebuild from Gentoo repo, and I not use Gnome on my PC.

strycore commented 5 years ago

Yeah, that was before I realized the Gentoo ebuild is outdated.

This is what I wrote on another ticket: This ebuild is outdated, please update it with the latest dependencies. You can find them in debian/control in the sources of the project. (In this case you'll need the Python GObject bindings for GnomeDesktop and Webkit2, and also install the python3 packages Pillow and requests)

I'm not sure there's a current maintainer for Gentoo, the package page says the last maintainer retired in 2018 so I'm not sure how to get the ebuild updated, maybe you can ask around in the Gentoo community.