Matoking / protontricks

A wrapper that does winetricks things for Proton enabled games, requires Winetricks.
GNU General Public License v3.0
1.56k stars 35 forks source link

Invalid file magic number #270

Closed Apaxis closed 6 months ago

Apaxis commented 6 months ago

When launching protontricks I get the following error:

Traceback (most recent call last): File "/usr/bin/protontricks", line 33, in sys.exit(load_entry_point('protontricks==1.7.0', 'console_scripts', 'protontricks')()) File "/usr/lib/python3/dist-packages/protontricks/cli/main.py", line 28, in cli main(args) File "/usr/lib/python3/dist-packages/protontricks/cli/util.py", line 143, in wrapper return cli_func(self, *args, **kwargs) File "/usr/lib/python3/dist-packages/protontricks/cli/main.py", line 264, in main proton_app = find_proton_app( File "/usr/lib/python3/dist-packages/protontricks/steam.py", line 624, in find_proton_app tool_app = find_steam_compat_tool_app( File "/usr/lib/python3/dist-packages/protontricks/steam.py", line 537, in find_steam_compat_tool_app tool_appid = get_tool_appid(compat_tool_name, appinfo_path) File "/usr/lib/python3/dist-packages/protontricks/steam.py", line 418, in get_tool_appid vdf_sections = get_appinfo_sections(appinfo_path) File "/usr/lib/python3/dist-packages/protontricks/steam.py", line 385, in get_appinfo_sections raise SyntaxError("Invalid file magic number") SyntaxError: Invalid file magic number

Matoking commented 6 months ago

You need to update your Protontricks installation. The latest version is 1.10.5.

Apaxis commented 6 months ago

Looks like the repo has an old version, I installed from flatpak and the issue is resolved. Thanks!

Matoking commented 6 months ago

Alright, closing this as solved.