Lutris not launching, probably user error

After updating garuda today, i found i was unable to launch lutris. Before it had some trouble launching, but it was not consistently failing either. A second or third click on the icon in latte would launch it. Now it's not working at all.

╭─[email protected] in /var/cache/pacman/pkg🔒 took 103ms
╰─λ lutris                                                                                            (base)
Traceback (most recent call last):
File "/usr/bin/lutris", line 52, in <module>
from lutris.gui.application import Application  # pylint: disable=no-name-in-module
ModuleNotFoundError: No module named 'lutris'

Copy-pasting the error into google actually brought up a (rather old) garuda forum article: Lutris won't start -- which links to a post on the lutris forum that describes:

doing a sudo mv /usr/lib/python3.6/site-packages/lutris* /usr/lib/python3.7/site-packages/

so i looked at my directory there:

╭─[email protected] in /var/cache/pacman/pkg🔒 took 1s
╰─λ ls /usr/lib | grep python3                                                                        (base)
drwxr-xr-x     - root 17 Sep 07:21  python3.10

[... irrelevant stuff redacted ...]

╭─[email protected] in /var/cache/pacman/pkg🔒 took 7ms
╰─λ ls /usr/lib/python3.10/site-packages | grep lutris                                                (base)
drwxr-xr-x    - root 17 Sep 08:57  lutris

So it's there...

╭─[email protected] in /var/cache/pacman/pkg🔒 took 8ms
╰─λ which python                                                                                      (base)
/home/user/anaconda3/bin/python

If my fish in terminal emulator is linked to the wrong version of python, is there a chance that when i launch it, it's picking the wrong version or something?

╭─[email protected] in ~ took 50ms
╰─[🔴] × python --version                                                                             (base)
Python 3.9.12

I've tried the above, plus uninstalling, reinstalling lutris, downgrading lutris, and pyenv tomfoolery which updated my shell symlink to /home/user/.pyenv/shims/python (pyenv shell system followed by below).

╭─[email protected] in ~ took 29ms
╰─λ pyenv shell 3.10.6                                                                                (base)

╭─[email protected] in ~ took 15ms
╰─λ python --version                                                                                  (base)
Python 3.10.6

╭─[email protected] in ~ took 29ms
╰─λ lutris                                                                                            (base)
Traceback (most recent call last):
File "/usr/bin/lutris", line 52, in <module>
from lutris.gui.application import Application  # pylint: disable=no-name-in-module
ModuleNotFoundError: No module named 'lutris'
garuda-inxi
╭─[email protected] in /var/cache/pacman/pkg🔒 took 22ms
╰─[🔴] × garuda-inxi                                                                                  (base)
System:
Kernel: 5.19.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=f6cccf9c-8580-435e-8f33-927e3e31bb2d rw [email protected]
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=2e9cba84-8fd3-4884-995e-6ac1c54716ad loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.25.5 tk: Qt v: 5.15.6 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: X570 AORUS ELITE v: -CF
serial: <superuser required>
Mobo: Gigabyte model: X570 AORUS ELITE v: x.x
serial: <superuser required> UEFI: American Megatrends LLC. v: F34
date: 06/10/2021
Battery:
ID-1: hidpp_battery_0 charge: 63% condition: N/A volts: 3.9 min: N/A
model: Logitech G502 LIGHTSPEED Wireless Gaming Mouse type: N/A
serial: <filter> status: discharging
CPU:
Info: model: AMD Ryzen 9 3950X bits: 64 type: MT MCP arch: Zen 2 gen: 3
level: v3 built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23)
model-id: 0x71 (113) stepping: 0 microcode: 0x8701021
Topology: cpus: 1x cores: 16 tpc: 2 threads: 32 smt: enabled cache:
L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB desc: 16x512 KiB
L3: 64 MiB desc: 4x16 MiB
Speed (MHz): avg: 3526 high: 3924 min/max: 2200/4761 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 3500 2: 3500
3: 3500 4: 3552 5: 3500 6: 3500 7: 3593 8: 3500 9: 3500 10: 3500 11: 3500
12: 3500 13: 3500 14: 3500 15: 3500 16: 3500 17: 3500 18: 3592 19: 3590
20: 3591 21: 3500 22: 3500 23: 3500 24: 3500 25: 3500 26: 3500 27: 3500
28: 3924 29: 3500 30: 3500 31: 3500 32: 3500 bogomips: 223588
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
protection
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] vendor: Micro-Star MSI
driver: nvidia v: 515.65.01 alternate: nouveau,nvidia_drm non-free: 515.xx+
status: current (as of 2022-08) arch: Turing code: TUxxx
process: TSMC 12nm built: 2018-22 pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 0a:00.0 chip-ID: 10de:1e84 class-ID: 0300
Device-2: Logitech C922 Pro Stream Webcam type: USB
driver: snd-usb-audio,uvcvideo bus-ID: 1-3.4.3:7 chip-ID: 046d:085c
class-ID: 0102 serial: <filter>
Device-3: Focusrite-Novation Scarlett 2i2 Camera type: USB
driver: snd-usb-audio bus-ID: 7-2:2 chip-ID: 1235:8210 class-ID: 0102
serial: <filter>
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: nvidia unloaded: modesetting
alternate: fbdev,nouveau,nv,vesa gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 5119x1440 s-dpi: 107 s-size: 1215x342mm (47.83x13.46")
s-diag: 1262mm (49.69")
Monitor-1: DP-2 pos: primary,right res: 2560x1440 dpi: 109
size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
Monitor-2: DP-4 pos: primary,left res: 2560x1440 dpi: 109
size: 598x336mm (23.54x13.23") diag: 686mm (27.01") modes: N/A
OpenGL: renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA
515.65.01 direct render: Yes
Audio:
Device-1: YUAN High-Tech Development vendor: Corsair Memory driver: N/A
bus-ID: 1-3.4.3:7 pcie: gen: 1 chip-ID: 046d:085c class-ID: 0102
speed: 2.5 GT/s lanes: 1 serial: <filter> bus-ID: 06:00.0
chip-ID: 12ab:0380 class-ID: 0480
Device-2: NVIDIA TU104 HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 0a:00.1 chip-ID: 10de:10f8 class-ID: 0403
Device-3: AMD Starship/Matisse HD Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 0c:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-4: Logitech C922 Pro Stream Webcam type: USB
driver: snd-usb-audio,uvcvideo
Device-5: Texas Instruments ATH-G1WL type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-3.4.4:8
chip-ID: 0451:16ba class-ID: 0300 serial: <filter>
Device-6: Focusrite-Novation Scarlett 2i2 Camera type: USB
driver: snd-usb-audio bus-ID: 7-2:2 chip-ID: 1235:8210 class-ID: 0102
serial: <filter>
Sound Server-1: ALSA v: k5.19.9-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 16.1 running: no
Sound Server-3: PipeWire v: 0.3.58 running: yes
Network:
Device-1: Intel I211 Gigabit Network vendor: Gigabyte driver: igb v: kernel
pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 05:00.0
chip-ID: 8086:1539 class-ID: 0200
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
Device-1: TP-Link UB500 Adapter type: USB driver: btusb v: 0.8
bus-ID: 7-4:3 chip-ID: 2357:0604 class-ID: e001 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 4.57 TiB used: 870.81 GiB (18.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: SanDisk model: ADATA SX6000PNP
size: 953.87 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: V9002s85
temp: 37.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Western Digital
model: WDS100T1XHE-00AFY0 size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 614600WD temp: 46.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 1TB
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 4B6Q scheme: GPT
ID-4: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD20EARX-00ZUDB0 size: 1.82 TiB block-size: physical: 4096 B
logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
rev: 0A80 scheme: GPT
Partition:
ID-1: / raw-size: 896.73 GiB size: 896.73 GiB (100.00%) used: 384.9 GiB
(42.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 592 KiB
(0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
ID-3: /home raw-size: 896.73 GiB size: 896.73 GiB (100.00%) used: 384.9
GiB (42.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-4: /var/log raw-size: 896.73 GiB size: 896.73 GiB (100.00%) used: 384.9
GiB (42.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
ID-5: /var/tmp raw-size: 896.73 GiB size: 896.73 GiB (100.00%) used: 384.9
GiB (42.9%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 31.29 GiB used: 1.8 MiB (0.0%)
priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 34.49 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
System Temperatures: cpu: 45.9 C mobo: 33.0 C gpu: nvidia temp: 48 C
Fan Speeds (RPM): N/A gpu: nvidia fan: 24%
Info:
Processes: 521 Uptime: 34m wakeups: 2 Memory: 31.29 GiB used: 5.63 GiB
(18.0%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 alt: 11 clang: 14.0.6 Packages: pm: pacman
pkgs: 2324 libs: 561 tools: octopi,pamac,paru Shell: fish v: 3.5.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.21
Garuda (2.6.7-1):
System install date:     2022-01-22
Last full system update: 2022-09-17 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:            sendmail.service systemd-guest-user.service

First thing, reboot.

2 Likes

oh i copied that after running garuda-update again after rebooting. does it put the reboot symbol even if the pacman returns the following?

:: Starting full system upgrade...
there is nothing to do

Rebooted again and still

╭─[email protected] in ~ took 25ms
╰─λ lutris                                                                                            (base)
Traceback (most recent call last):
File "/usr/bin/lutris", line 52, in <module>
from lutris.gui.application import Application  # pylint: disable=no-name-in-module
ModuleNotFoundError: No module named 'lutris'

Nope :slight_smile: :slight_smile:

??? IDK

I'd hoped i wouldn't have to do that, but here goes! At least it's easy to try...

No dice. Same error.

Show hidden files, then make sure you remove all the lutris folders;

  1. .cache/lutris
  2. .config/lutris
  3. .local/share/lutris

Reboot, then try installing Lutris.

1 Like

Same error.

Try installing this package 'python-lxml'.

1 Like

already had it, reinstalled, same error.

Very strange. You could try updating pip management...in terminal;

pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U

If that doesn't work, it could be a python thing, maybe try reinstalling python files??

Also try reinstalling 'python-gobject'.

1 Like

no dice, same error

Are you rebooting after trying these?

1 Like

Ask in Lutris forum :slight_smile:

I assume you are using the community version, but have you tried the 'lutris-git' version found in Chaotic-AUR?

Yes, i've tried both versions.

One last thing I will leave you with, I have 'libglvnd' and 'lib32-libglvnd' installed. This has been known in the past to throw that same error, install or reinstall, reboot.

1 Like

I didn't have it installed, but i did try installing it. Again still same error. :frowning: