Skip to content

[BUG] SyntaxError: Invalid magic, got b')DV\x07' #462

Description

@WinterPhoenix

Description
Steam Client Beta seems to be rolling out a new format again.

Steps to Reproduce the behavior

>>> from steam.utils.appcache import parse_appinfo
>>> header, apps = parse_appinfo(open(r"C:\Users\Winter\Desktop\WIP\appinfo.vdf", "rb"))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Python311_64\Lib\site-packages\steam\utils\appcache.py", line 73, in parse_appinfo
raise SyntaxError("Invalid magic, got %s" % repr(magic))
SyntaxError: Invalid magic, got b')DV\x07'

Example appinfo.vdf, like last time:
appinfo.zip

Versions Report

steam: 1.4.4Dependencies:
vdf: 3.4protobuf: 4.21.11requests: 2.31.0cachetools: 5.2.0gevent: Not Installedgevent-eventemitter: Not Installedpycryptodomex: 3.16.0enum34: Not Installedwin-inet-pton: Not InstalledPython runtime:
executable: D:\Python311_64\python.exeversion: 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)]platform: win32System info:
system: Windowsmachine: AMD64release: 10version: 10.0.19045

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions