Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717730 - games-util/lutris-0.5.6 crashes with following error: ModuleNotFoundError: No module named 'dbus'
Summary: games-util/lutris-0.5.6 crashes with following error: ModuleNotFoundError: No...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-16 16:24 UTC by Jeremias Stotter
Modified: 2020-04-16 16:44 UTC (History)
1 user (show)

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


Attachments
emerge info (emerge--info.txt,5.89 KB, text/plain)
2020-04-16 16:24 UTC, Jeremias Stotter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremias Stotter 2020-04-16 16:24:59 UTC
Created attachment 633256 [details]
emerge info

When run from the command line lutris crashes with this error:
2020-04-16 18:12:06,345: Package 'distro' unavailable. Unable to read Linux distribution
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/lutris", line 40, in <module>
    from lutris.gui.application import Application
  File "/usr/lib64/python3.6/site-packages/lutris/gui/application.py", line 35, in <module>
    from lutris.game import Game
  File "/usr/lib64/python3.6/site-packages/lutris/game.py", line 14, in <module>
    from lutris.runners import import_runner, InvalidRunner, wine
  File "/usr/lib64/python3.6/site-packages/lutris/runners/wine.py", line 11, in <module>
    from lutris.runners.runner import Runner
  File "/usr/lib64/python3.6/site-packages/lutris/runners/runner.py", line 7, in <module>
    from lutris.config import LutrisConfig
  File "/usr/lib64/python3.6/site-packages/lutris/config.py", line 6, in <module>
    from lutris import settings, sysoptions
  File "/usr/lib64/python3.6/site-packages/lutris/sysoptions.py", line 9, in <module>
    from lutris.util.display import USE_DRI_PRIME, DISPLAY_MANAGER
  File "/usr/lib64/python3.6/site-packages/lutris/util/display.py", line 4, in <module>
    from dbus.exceptions import DBusException
ModuleNotFoundError: No module named 'dbus'

Emerging dev-python/dbus-python fixes the crash, so it seems like lutris should depend on dbus-python.
games-util/lutris-0.5.4-r1 still works without dbus-python
Comment 1 Larry the Git Cow gentoo-dev 2020-04-16 16:44:13 UTC
The bug has been closed via the following commit(s):

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

commit b8ab4f2ce9c5ffce53e267d912bcf5291274f63e
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-04-16 16:43:53 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-04-16 16:44:07 +0000

    games-util/lutris: Added missing dep on dev-python/dbus-python
    
    Closes: https://bugs.gentoo.org/717730
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 games-util/lutris/lutris-0.5.6.ebuild | 1 +
 games-util/lutris/lutris-9999.ebuild  | 1 +
 2 files changed, 2 insertions(+)