Keyerrors 'name' and 'userconfig' on new package installation
Describe the bug Unable to actually use protontricks as it seems to have issues upon selecting a steam installation.
To Reproduce Steps to reproduce the behavior:
- enter command
protontricks --gui - select native steam installation
Expected behavior Presumably, protontricks should begin scanning and identifying all installed games to populate its gui
System (please complete the following information):
- Distro: Nobara 39
- Protontricks installation method: package installer
- Protontricks version: 1.10.5-1.fc39
- Steam version: Default, up to date
Additional context
Protontricks was closed due to the following error:
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 231, in from_appmanifest
name = app_state["name"]
~~~~~~~~~^^^^^^^^
KeyError: 'name'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/protontricks/cli/util.py", line 149, in wrapper
return cli_func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/protontricks/cli/main.py", line 241, in main
steam_apps = get_steam_apps(
^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 1253, in get_steam_apps
steam_app = SteamApp.from_appmanifest(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/protontricks/steam.py", line 234, in from_appmanifest
name = app_state["userconfig"]["name"]
~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'userconfig'
=============
Please include this entire error message when making a bug report.
Log messages:
Found Steam directory at /home/atlas/.local/share/Steam
Found Steam directory at /home/atlas/.var/app/com.valvesoftware.Steam/.local/share/Steam
Using 'yad' as GUI provider
Using default Steam Runtime at /home/atlas/.local/share/Steam/ubuntu12_32/steam-runtime
WINETRICKS environment variable is not available. Searching from $PATH.
Found 4 Steam library folders
Multiple compatdata directories found for app 2348590
Multiple compatdata directories found for app 1493710
One of the appmanifest files doesn't seem to have a name field. Could you try running the following command? It should print the contents for any files that lack the field.
$ find ~/.steam/steam/steamapps -name "appmanifest_*.acf" -exec sh -c "cat {} | tr '\n' ' ' | grep -v '\"name\"'" \;
"AppState" { "appid" "20554559" "Universe" "1" "installdir" "ELDEN RING" "StateFlags""1026" }
"AppState" { "appid" "20561646" "Universe" "1" "installdir" "PAYDAY3" "StateFlags""1026" }
I want to say these are two games whose drives I've changed by uninstalling and then redownloading, maybe in windows. Renaming/removing both appmanifest files allows protontricks to work.
"AppState" { "appid" "20554559" "Universe" "1" "installdir" "ELDEN RING" "StateFlags""1026" } "AppState" { "appid" "20561646" "Universe" "1" "installdir" "PAYDAY3" "StateFlags""1026" }I want to say these are two games whose drives I've changed by uninstalling and then redownloading, maybe in windows. Renaming/removing both appmanifest files allows protontricks to work.
To clarify, are the game installations located in the same directory as the appmanifest files, or are they simply leftover files?
"AppState" { "appid" "20554559" "Universe" "1" "installdir" "ELDEN RING" "StateFlags""1026" } "AppState" { "appid" "20561646" "Universe" "1" "installdir" "PAYDAY3" "StateFlags""1026" }I want to say these are two games whose drives I've changed by uninstalling and then redownloading, maybe in windows. Renaming/removing both appmanifest files allows protontricks to work.
To clarify, are the game installations located in the same directory as the appmanifest files, or are they simply leftover files?
They were leftover files, it seems.