flathub / flathub/com.github.Matoking.protontricks

Protontricks doesnt launch anymore

オープン
#77 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
55
フォーク
7
平均マージ
48分
マージ済み PR(30日)
1

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

cli/main.py の get_steam_apps の呼び出しから始め、次に SteamApp.from_appmanifest が appmanifest_400.acf を読み取る steam.py を調べてください。ファイルがない場合の失敗を再現し、このケースをどのように扱うべきかを判断してください。完了の条件は、そのマニフェストが存在しない場合でも Protontricks が終了しなくなることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。