Contentstat id error when launching (MTG Arena)

When launching MTG Arena (the only game I have installed via lutris), nothing happens, but the game stays infinitely in “launching”.

I have just reinstalled lutris because of this error, but it still persists. It seems like lutris can’t find the dictionary entry contentstat in the dictionary library[“libraryfolders”]. I am unsure what caused this error. I never had any problems of that kind before with Lutris, but at some day they appeared. I only today learned about lutris -d allowing me to debug the issue. However, I don’t know how I can fix this issue.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lutris/", line 57, in wrapper
    return function(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/lutris/", line 420, in configure_game
    gameplay_info = self.get_gameplay_info()
  File "/usr/lib/python3/dist-packages/lutris/", line 398, in get_gameplay_info
    gameplay_info =
  File "/usr/lib/python3/dist-packages/lutris/runners/", line 825, in play
    launch_info = {"env": self.get_env(os_env=False)}
  File "/usr/lib/python3/dist-packages/lutris/runners/", line 749, in get_env
    env = super(wine, self).get_env(False)
  File "/usr/lib/python3/dist-packages/lutris/runners/", line 186, in get_env
    runtime_env = self.get_runtime_env()
  File "/usr/lib/python3/dist-packages/lutris/runners/", line 789, in get_runtime_env
    for proton_path in get_proton_paths():
  File "/usr/lib/python3/dist-packages/lutris/util/wine/", line 49, in get_proton_paths
    for path in _iter_proton_locations():
  File "/usr/lib/python3/dist-packages/lutris/util/wine/", line 38, in _iter_proton_locations
    for path in [os.path.join(p, "common") for p in steam().get_steamapps_dirs()]:
  File "/usr/lib/python3/dist-packages/lutris/runners/", line 243, in get_steamapps_dirs
    library_config = self.get_library_config()
  File "/usr/lib/python3/dist-packages/lutris/runners/", line 149, in get_library_config
    return read_library_folders(self.steam_data_dir)
  File "/usr/lib/python3/dist-packages/lutris/util/steam/", line 161, in read_library_folders
KeyError: 'contentstatsid'

I am not sure if this is related, but I also can’t stop the launched game using rightclick stop. That returns:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lutris/", line 144, in on_game_stop
  File "/usr/lib/python3/dist-packages/lutris/", line 527, in force_stop
    os.kill(int(pid), signal.SIGTERM)
PermissionError: [Errno 1] Operation not permitted

Thank you very much for your interest!

1 Like

It looks like I was able to fix this using: the explanation given here. lutris -d was most helpful!

1 Like