Skip to content

SyntaxError: Unknown data type at offset 1752: b'3' #431

@ThePartyGoat224

Description

@ThePartyGoat224

Describe the bug
A clear and concise description of what the bug is.

protontricks is unable to read the steamlibrary

To Reproduce
Steps to reproduce the behavior:

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

Traceback (most recent call last):
File "/app/bin/protontricks", line 8, in
sys.exit(cli())
^^^^^
File "/app/lib/python3.12/site-packages/protontricks/cli/main.py", line 32, in cli
main(args)
File "/app/lib/python3.12/site-packages/protontricks/cli/util.py", line 180, in wrapper
return cli_func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.12/site-packages/protontricks/cli/main.py", line 298, in main
steam_apps = get_steam_apps(
^^^^^^^^^^^^^^^
File "/app/lib/python3.12/site-packages/protontricks/steam.py", line 1452, in get_steam_apps
steam_apps += get_custom_windows_shortcuts(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.12/site-packages/protontricks/steam.py", line 1288, in get_custom_windows_shortcuts
vdf.binary_loads(content, raise_on_remaining=False)
File "/app/lib/python3.12/site-packages/vdf/init.py", line 314, in binary_loads
return binary_load(BytesIO(b), mapper, merge_duplicate_keys, alt_format, raise_on_remaining)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/lib/python3.12/site-packages/vdf/init.py", line 414, in binary_load
raise SyntaxError("Unknown data type at offset %d: %s" % (fp.tell() - 1, repr(t)))
SyntaxError: Unknown data type at offset 1752: b'3'

Expected behavior
A clear and concise description of what you expected to happen.

protontricks read the steam library and launch normally

System (please complete the following information):

  • Distro: Linux Mint 22.1 Cinnamon
  • Protontricks installation method: Flatpak AND Apt
  • Protontricks version: 1.13.0
  • Steam version: latest main

Additional context

steamtinkerlaunch is installed

If the error happens when trying to run a Protontricks command, run the command again using the -vv flag and copy the output!

For example, if the command that causes the error is protontricks 42 faudio, run protontricks -vv 42 faudio instead and copy the output here.

If the output is very long, consider creating a gist using gist.github.com.

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