protontricks icon indicating copy to clipboard operation
protontricks copied to clipboard

Protontricks doesn't open without giving me this error

Open Guilherme-html opened this issue 2 years ago • 6 comments

Protontricks was closed due to the following error:

Traceback (most recent call last): File "/app/lib/python3.11/site-packages/protontricks/cli/util.py", line 149, in wrapper return cli_func(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/lib/python3.11/site-packages/protontricks/cli/main.py", line 241, in main steam_apps = get_steam_apps( ^^^^^^^^^^^^^^^ File "/app/lib/python3.11/site-packages/protontricks/steam.py", line 1268, in get_steam_apps steam_apps += get_custom_compat_tool_installations(steam_root=steam_root) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/lib/python3.11/site-packages/protontricks/steam.py", line 1028, in get_custom_compat_tool_installations for tool_app in get_custom_compat_tool_installations_in_dir(dir_): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/lib/python3.11/site-packages/protontricks/steam.py", line 973, in get_custom_compat_tool_installations_in_dir compat_tools = compat_tools["compatibilitytools"] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ KeyError: 'compatibilitytools'

The only thing I can think of is that it mentions /app/... that don't exist in my system I'm running chimeraos unstable

Guilherme-html avatar Nov 22 '23 21:11 Guilherme-html

WINETRICKS environment variable is not available. Searching from $PATH

it also had this, i forgot to include

Guilherme-html avatar Nov 22 '23 21:11 Guilherme-html

Do you have any custom compatibility tools installed besides the stock Proton? If so, what exactly? They should be found as directories inside both ~/.steam/steam/compatibilitytools.d/ and /usr/share/steam/compatibilitytools.d/.

Protontricks is trying to parse the compatibilitytool.vdf file inside each directory and is crashing due to the missing compatibilitytools. That seems weird, since each compatibility tool should declare that field as far as I know.

Matoking avatar Nov 23 '23 17:11 Matoking

Do you have any custom compatibility tools installed besides the stock Proton? If so, what exactly? They should be found as directories inside both ~/.steam/steam/compatibilitytools.d/ and /usr/share/steam/compatibilitytools.d/.

Protontricks is trying to parse the compatibilitytool.vdf file inside each directory and is crashing due to the missing compatibilitytools. That seems weird, since each compatibility tool should declare that field as far as I know.

There are only the proton files in ~/.steam/steam/compatibilitytools.d/ and only a boxtron.vdf in /usr/share/steam/compatibilitytools.d/

Guilherme-html avatar Nov 23 '23 19:11 Guilherme-html

Is there a compatibilitytool.vdf file in ~/.steam/steam/compatibilitytools.d? If so, what are its contents?

Matoking avatar Nov 25 '23 15:11 Matoking

Is there a compatibilitytool.vdf file in ~/.steam/steam/compatibilitytools.d? If so, what are its contents?

There isn't a compatibilitytool.vdf in the main folder But inside the proton folders there are .vdf files

Guilherme-html avatar Nov 30 '23 19:11 Guilherme-html

Can you try uninstalling Protontricks and then installing the following development version of Protontricks:

$ flatpak install --user https://dl.flathub.org/build-repo/68112/com.github.Matoking.protontricks.flatpakref

The development version has a new -vv that implements more comprehensive logging. Once you've installed the development version, try triggering the error again with the following command:

$ flatpak run com.github.Matoking.protontricks -vv --gui

The log message before the exception should then include the path to the compatibilitytool.vdf file causing the error.

Matoking avatar Dec 04 '23 17:12 Matoking