Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836332 - games-util/lutris-0.5.9.1 crashes with error: ModuleNotFoundError: No module named 'lxml'
Summary: games-util/lutris-0.5.9.1 crashes with error: ModuleNotFoundError: No module ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Andrew Ammerlaan
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-03-28 20:28 UTC by kurth4cker
Modified: 2022-03-30 15:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge info (emerge--info.txt,6.21 KB, text/plain)
2022-03-28 20:28 UTC, kurth4cker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kurth4cker 2022-03-28 20:28:44 UTC
Created attachment 768086 [details]
emerge info

When run from the command line lutris crashes with this error:


  Gtk-Message: 23:04:58.746: Failed to load module "colorreload-gtk-module"
  2022-03-28 23:04:59,775: Package 'distro' unavailable. Unable to read Linux distribution
  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
    File "/usr/lib/python3.9/site-packages/lutris/gui/application.py", line 43, in <module>
      from lutris.gui.installerwindow import InstallerWindow
    File "/usr/lib/python3.9/site-packages/lutris/gui/installerwindow.py", line 16, in <module>
      from lutris.installer import interpreter
    File "/usr/lib/python3.9/site-packages/lutris/installer/interpreter.py", line 14, in <module>
      from lutris.installer.installer import LutrisInstaller
    File "/usr/lib/python3.9/site-packages/lutris/installer/installer.py", line 13, in <module>
      from lutris.services import SERVICES
    File "/usr/lib/python3.9/site-packages/lutris/services/__init__.py", line 9, in <module>
      from lutris.services.gog import GOGService
    File "/usr/lib/python3.9/site-packages/lutris/services/gog.py", line 9, in <module>
      from lxml import etree
  ModuleNotFoundError: No module named 'lxml'


Emerging dev-python/lxml fixes the crash.
Comment 1 tastytea 2022-03-28 20:51:14 UTC
games-util/lutris is in ::gentoo, not in ::guru. Should be assigned to the Games Project.
Comment 2 Larry the Git Cow gentoo-dev 2022-03-30 11:51:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bdc866c6fd38850f8feb9561054e523b607dd6f

commit 5bdc866c6fd38850f8feb9561054e523b607dd6f
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-03-30 10:18:23 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-03-30 11:50:53 +0000

    games-util/lutris: add 0.5.10_beta2
    
    Bug: https://github.com/lutris/lutris/issues/4175
    Bug: https://bugs.gentoo.org/835897
    Bug: https://bugs.gentoo.org/822969
    Bug: https://bugs.gentoo.org/836332
    Bug: https://bugs.gentoo.org/820860
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/24815
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 games-util/lutris/Manifest                         |  1 +
 .../lutris-0.5.10_beta2-fix-install-requires.patch | 13 ++++
 .../lutris-0.5.10_beta2-fix-launching-steam.patch  | 22 ++++++
 games-util/lutris/lutris-0.5.10_beta2.ebuild       | 88 ++++++++++++++++++++++
 4 files changed, 124 insertions(+)