flathub / flathub/com.github.Matoking.protontricks

Protontricks doesnt launch anymore

Open
#77 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
55
Forks
7
Avg merge
48m
Merged PRs (30d)
1

Description

I've been trying forever to get this to work and it simply will not run anymore. I keep getting the following error code

```
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 1253, in get_steam_apps
steam_app = SteamApp.from_appmanifest(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.11/site-packages/protontricks/steam.py", line 190, in from_appmanifest
content = path.read_text(encoding="utf-8")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/pathlib.py", line 1058, in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/pathlib.py", line 1044, in open
return io.open(self, mode, buffering, encoding, errors, newline)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/deck/.local/share/Steam/steamapps/appmanifest_400.acf'

=============

Please include this entire error message when making a bug report.
Log messages:

Running inside Flatpak sandbox, version 1.12.4.
Found Steam directory at /home/deck/.local/share/Steam
Using default Steam Runtime at /home/deck/.local/share/Steam/ubuntu12_32/steam-runtime
WINETRICKS environment variable is not available. Searching from $PATH.
Found 2 Steam library folders

```
I have removed and reinstalled the program and restarted my deck and it still doesn't work

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in cli/main.py at the get_steam_apps call, then inspect steam.py where SteamApp.from_appmanifest reads appmanifest_400.acf. Reproduce the missing-file failure and determine how this case should be handled; done means Protontricks no longer exits when that manifest is absent.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.