Skip to content

Protontricks Crashes on Start #475

@omniscientoverlady

Description

@omniscientoverlady

Describe the bug
Protontricks refuses to start; crashes.

To Reproduce
Steps to reproduce the behavior:

  1. Run command protontricks foo bar
  2. Command fails and error is displayed

Expected behavior
Protontricks starts.

System (please complete the following information):

  • Distro: Debian 13
  • Protontricks installation method: Flatpak
  • Protontricks version: 1.14.1
  • Steam version: Default.

Additional context

Reinstalled Protontricks to no avail.

Traceback (most recent call last):
  File "/app/lib/python3.13/site-packages/protontricks/steam.py", line 277, in from_appmanifest
    name = app_state["name"]
           ~~~~~~~~~^^^^^^^^
KeyError: 'name'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/bin/protontricks", line 6, in <module>
    sys.exit(cli())
             ~~~^^
  File "/app/lib/python3.13/site-packages/protontricks/cli/main.py", line 24, in cli
    main(args)
    ~~~~^^^^^^
  File "/app/lib/python3.13/site-packages/protontricks/cli/util.py", line 180, in wrapper
    return cli_func(self, *args, **kwargs)
  File "/app/lib/python3.13/site-packages/protontricks/cli/main.py", line 168, in main
    command.execute()
    ~~~~~~~~~~~~~~~^^
  File "/app/lib/python3.13/site-packages/protontricks/cli/command.py", line 96, in execute
    self.populate_required_params()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/app/lib/python3.13/site-packages/protontricks/cli/command.py", line 132, in populate_required_params
    self.populate_steam_apps()
    ~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/app/lib/python3.13/site-packages/protontricks/cli/command.py", line 244, in populate_steam_apps
    self.steam_apps = get_steam_apps(
                      ~~~~~~~~~~~~~~^
        steam_root=self.steam_root, steam_path=self.steam_path,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        steam_lib_paths=steam_lib_paths
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/app/lib/python3.13/site-packages/protontricks/steam.py", line 1563, in get_steam_apps
    steam_app = SteamApp.from_appmanifest(
        manifest_path, steam_lib_paths=steam_lib_paths,
        steam_path=steam_path
    )
  File "/app/lib/python3.13/site-packages/protontricks/steam.py", line 280, in from_appmanifest
    name = app_state["userconfig"]["name"]
           ~~~~~~~~~^^^^^^^^^^^^^^
KeyError: 'userconfig'


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions