Hello,
A few days ago, I decided to clean a bit the Wine runners and removed some old Wine versions in ~/.local/share/lutris/runners/wine. Kept a few old ones and the most recent. Since then, I don’t seem to be able to install games from Lutris scripts anymore.
When I click on “Install” after selecting a game in Community installers, nothing happens. When running Lutris from a terminal, I get the following error, e.g. for X-Wing Alliance which I had previously installed:
2021-12-15 13:14:46,244: No game found. Replacing with placeholder {'id': 'star-wars-x-wing-alliance', 'appid': 'star-wars-x-wing-alliance', 'name': 'STAR WARS: X-Wing Alliance', 'slug': 'star-wars-x-wing-alliance', 'service': 'lutris'}
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/lutris/gui/application.py", line 497, in on_game_install
game_id = service.install(db_game)
File "/usr/lib/python3/dist-packages/lutris/services/base.py", line 188, in install
appid = db_game["appid"]
TypeError: 'NoneType' object is not subscriptable
With a game that I hadn’t installed previously, I don’t get the Python error, only the appid one, e.g.:
2021-12-15 13:20:23,607: No game found. Replacing with placeholder {'id': 'star-wars-x-wing-vs-tie-fighter', 'appid': 'star-wars-x-wing-vs-tie-fighter', 'name': 'STAR WARS: X-Wing vs. TIE Fighter', 'slug': 'star-wars-x-wing-vs-tie-fighter', 'service': 'lutris'}
I’m not completely sure that the issue comes from removing old Wine versions but it’s pretty likely, unless there have been changes on Lutris’ side and it’s a coincidence.
Any idea how I can fix this? Maybe redownloading old Wine runners versions but I’m not sure how.