I Broke it and need help :)

so i’m trying to get D2R working. was using techhub’s thing and not fully understanding what i did. i broke it, any help would be nice :slight_smile:

i typed lutris -d, here is the output.

Traceback (most recent call last):
File “/usr/games/lutris”, line 52, in
from lutris.gui.application import Application # pylint: disable=no-name-in-module
File “/usr/lib/python3/dist-packages/lutris/gui/application.py”, line 39, in
from lutris.game import Game
File “/usr/lib/python3/dist-packages/lutris/game.py”, line 23, in
from lutris.runners import InvalidRunner, import_runner, wine
File “/usr/lib/python3/dist-packages/lutris/runners/wine.py”, line 9, in
from lutris.runners.commands.wine import ( # noqa: F401 pylint: disable=unused-import
File “/usr/lib/python3/dist-packages/lutris/runners/commands/wine.py”, line 16, in
from lutris.util.wine.prefix import WinePrefixManager
File “/usr/lib/python3/dist-packages/lutris/util/wine/prefix.py”, line 7, in
from lutris.util.wine.registry import WineRegistry
File “/usr/lib/python3/dist-packages/lutris/util/wine/registry.py”, line 9, in
from lutris.util.wine.wine import WINE_DEFAULT_ARCH
File “/usr/lib/python3/dist-packages/lutris/util/wine/wine.py”, line 9, in
from lutris.runners.steam import steam
File “/usr/lib/python3/dist-packages/lutris/runners/steam.py”, line 243
if library_config := self.get_library_config():
^
SyntaxError: invalid syntax
Error in sys.excepthook:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/apport_python_hook.py”, line 154, in apport_excepthook
os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), ‘wb’) as f:
FileNotFoundError: [Errno 2] No such file or directory: ‘/var/crash/_usr_games_lutris.1000.crash’

Original exception was:
Traceback (most recent call last):
File “/usr/games/lutris”, line 52, in
from lutris.gui.application import Application # pylint: disable=no-name-in-module
File “/usr/lib/python3/dist-packages/lutris/gui/application.py”, line 39, in
from lutris.game import Game
File “/usr/lib/python3/dist-packages/lutris/game.py”, line 23, in
from lutris.runners import InvalidRunner, import_runner, wine
File “/usr/lib/python3/dist-packages/lutris/runners/wine.py”, line 9, in
from lutris.runners.commands.wine import ( # noqa: F401 pylint: disable=unused-import
File “/usr/lib/python3/dist-packages/lutris/runners/commands/wine.py”, line 16, in
from lutris.util.wine.prefix import WinePrefixManager
File “/usr/lib/python3/dist-packages/lutris/util/wine/prefix.py”, line 7, in
from lutris.util.wine.registry import WineRegistry
File “/usr/lib/python3/dist-packages/lutris/util/wine/registry.py”, line 9, in
from lutris.util.wine.wine import WINE_DEFAULT_ARCH
File “/usr/lib/python3/dist-packages/lutris/util/wine/wine.py”, line 9, in
from lutris.runners.steam import steam
File “/usr/lib/python3/dist-packages/lutris/runners/steam.py”, line 243
if library_config := self.get_library_config():
^
SyntaxError: invalid syntax

the error mentionned in line 243 has a fix to apply.

you can have a look at https://github.com/lutris/lutris/issues/3734