Lutris wont start Ubuntu 16.04

Hi I just try to install Lutris using the Ubuntu repository on 16.04, following the instructions on the download page. When I try to start lutris from the command line I get the following information, (Lutris does not start up). I have no idea what any of this means so if anyone knows how to get it starting would be much appreciated.

lutris
INFO 2016-10-26 21:53:03,742 [service]:Welcome to Lutris
Traceback (most recent call last):
File “/usr/bin/lutris”, line 207, in
lutris.run(int(time.time()))
File “/usr/lib/python3/dist-packages/lutris/util/service.py”, line 31, in run
self.lutris_window = LutrisWindow(service=self)
File “/usr/lib/python3/dist-packages/lutris/gui/lutriswindow.py”, line 176, in init
steam.sync_with_lutris()
File “/usr/lib/python3/dist-packages/lutris/util/steam.py”, line 273, in sync_with_lutris
appmanifest = AppManifest(appmanifest_path)
File “/usr/lib/python3/dist-packages/lutris/util/steam.py”, line 353, in init
self.appmanifest_data = vdf_parse(appmanifest_file, {})
File “/usr/lib/python3/dist-packages/lutris/util/steam.py”, line 63, in vdf_parse
line = steam_config_file.readline()
File “/usr/lib/python3.5/codecs.py”, line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x9c in position 0: invalid start byte

Just looking at you’re Error and at the specific File in git , it Looks like it crashes at Reading your Steam cfg to Import you’re already Installed games. And stops because of an wrong encoding wich sounds to me more like a corrupt File.

Is steam even starting for you?
As im not a dev of lutris i can only sugggest to reinstall Steam (of course saving your Steamapps folder First) and try again.

1 Like

It is indeed crashing when trying to sync the Steam games. It is likely to be caused by a special character in the file.
I’ll make sure that those crashes can’t happen anymore, even if a Steam file can’t be properly accessed (it shouldn’t keep you from launching Lutris).

Worst case scenario, you wait 6 days and Lutris 0.4.2 will be released with a fix for that. If you don’t want to wait, you can try to find the file causing the issue (it’s an appmanifest file in the SteamApps folder, which one, I don’t know) and remove it.

1 Like

The fix is here https://github.com/lutris/lutris/commit/445037da013933a731b8f21b2db642c9e34eea07

This will be integrated in the next release.

1 Like

Thanks for the quick fix, I will try the new version when it’s out and let you know how it goes.

1 Like

Just got the updated version and the problem is solved, thanks.

1 Like