ValvePython / steamctl

🤸 Take control of Steam from your terminal
https://pypi.org/project/steamctl/
MIT License
311 stars 16 forks source link

[BUG] steamctl depot list -a 570 raising TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' #81

Open overklassniy opened 7 months ago

overklassniy commented 7 months ago

Steps to Reproduce the behavior Run: steamctl depot list -a 570

Logs

steamctl -l debug ``` [DEBUG] steamctl: Parsed args: {'versions_report': None, 'log_level': 'debug', 'anonymous': False, 'user': None, 'password': None, 'command': 'depot', '_cmd_func': 'steamctl.commands.depot.gcmds:cmd_depot_list', 'subcommand': 'list', 'cell_id': None, 'os': 'any', 'file': None, 'app': 570, 'depot': None, 'manifest': None, 'branch': 'public', 'skip_depot': None, 'skip_login': False, 'skip_licenses': False, 'long': False, 'vpk': False, 'name': None, 'regex': None} [DEBUG] steamctl.utils.storage: Opening file (r): C:\Users\overklassniy\AppData\Local\steamctl\steamctl\cs_servers.json [DEBUG] CachingCDNClient: No steam licenses found on SteamClient instance [DEBUG] steamctl.utils.storage: Opening file (r): C:\Users\overklassniy\AppData\Local\steamctl\steamctl\client\lastuser [INFO] SteamClient: Reusing previous username: [INFO] SteamClient: Hint: use 'steamctl --user ...' to change [DEBUG] steamctl.utils.storage: Opening file (r): C:\Users\overklassniy\AppData\Local\steamctl\steamctl\client\lastuser [INFO] SteamClient: Enter credentials for: Password: [DEBUG] SteamClient: Attempting login [DEBUG] SteamClient: Connect initiated. [DEBUG] CMServerList: Attempting bootstrap via WebAPI [DEBUG] urllib3.connectionpool: Starting new HTTPS connection (1): api.steampowered.com:443 [DEBUG] urllib3.connectionpool: https://api.steampowered.com:443 "GET /ISteamDirectory/GetCMList/v1/?cellid=0&format=json HTTP/1.1" 200 736 [DEBUG] CMServerList: Received 100 servers from WebAPI [DEBUG] CMServerList: Added 100 new CM addresses. [DEBUG] Connection: Attempting connection to ('155.133.248.38', 27018) [DEBUG] Connection: Connected. [DEBUG] SteamClient: Emit event: 'connected' [DEBUG] SteamClient: Incoming: | ChannelEncryptRequest)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Securing channel [DEBUG] SteamClient: Outgoing: | ChannelEncryptResponse)> [DEBUG] SteamClient: Incoming: | ChannelEncryptResult)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Channel secured [DEBUG] SteamClient: Emit event: 'channel_secured' [DEBUG] SteamClient: Outgoing: | CMsgClientLogon)> [DEBUG] Connection: Connection error (reader). [DEBUG] Connection: Disconnected. [DEBUG] SteamClient: Incoming: | CMsgMulti)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Multi: Unpacking [DEBUG] SteamClient: Incoming: | CMsgClientLogonResponse)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Emit event: 'error' [DEBUG] SteamClient: Emit event: 'disconnected' [DEBUG] SteamClient: Emit event: 'auth_code_required' Enter 2FA code: [DEBUG] SteamClient: Attempting login [DEBUG] SteamClient: Connect initiated. [DEBUG] Connection: Attempting connection to ('155.133.248.38', 27018) [DEBUG] Connection: Connected. [DEBUG] SteamClient: Emit event: 'connected' [DEBUG] SteamClient: Incoming: | ChannelEncryptRequest)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Securing channel [DEBUG] SteamClient: Outgoing: | ChannelEncryptResponse)> [DEBUG] SteamClient: Incoming: | ChannelEncryptResult)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Channel secured [DEBUG] SteamClient: Emit event: 'channel_secured' [DEBUG] SteamClient: Outgoing: | CMsgClientLogon)> [DEBUG] SteamClient: Incoming: | CMsgMulti)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Multi: Unpacking [DEBUG] SteamClient: Multi: Decompressing payload (7699 -> 19501) [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientLogonResponse)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientFriendsList)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientLicenseList)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Logon completed [DEBUG] SteamClient: Heartbeat started. [DEBUG] SteamClient: Emit event: 'logged_on' [DEBUG] SteamClient: Outgoing: | CMsgClientRequestFriendData)> [DEBUG] CachingSteamClient.friends: Emit event: 'ready' [DEBUG] SteamClient: Incoming: | CMsgMulti)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Multi: Unpacking [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgMulti)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Multi: Unpacking [DEBUG] SteamClient: Multi: Decompressing payload (2696 -> 4706) [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgMulti)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Multi: Unpacking [DEBUG] SteamClient: Multi: Decompressing payload (282 -> 307) [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgClientPersonaState)> [DEBUG] SteamClient: Emit event: [DEBUG] steamctl.utils.storage: Opening file (r): C:\Users\overklassniy\AppData\Local\steamctl\steamctl\client\lastuser [DEBUG] SteamClient: Login result is: [DEBUG] SteamClient: Outgoing: | CMsgClientHeartBeat)> [INFO] steamctl.commands.depot.gcmds: Login to Steam successful [INFO] steamctl.commands.depot.gcmds: Checking licenses [DEBUG] SteamClient: Fetching product info [DEBUG] SteamClient: Outgoing: | CMsgClientPICSAccessTokenRequest)> [DEBUG] SteamClient: Incoming: | CMsgMulti)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Multi: Unpacking [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Incoming: | CMsgMulti)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Multi: Unpacking [DEBUG] SteamClient: Multi: Decompressing payload (3636 -> 4218) [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Emit event: 'job_1' [DEBUG] SteamClient: Outgoing: | CMsgClientPICSProductInfoRequest)> [DEBUG] SteamClient: Incoming: | CMsgMulti)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Multi: Unpacking [DEBUG] SteamClient: Multi: Decompressing payload (27193 -> 73503) [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Emit event: 'job_2' [INFO] steamctl.commands.depot.gcmds: Checking change list [DEBUG] steamctl.utils.storage: Opening file (r): C:\Users\overklassniy\AppData\Local\steamctl\steamctl\Cache\last_change_number [DEBUG] SteamClient: Checking PICS for app changes [DEBUG] SteamClient: Outgoing: | CMsgClientPICSChangesSinceRequest)> [DEBUG] SteamClient: Incoming: | CMsgMulti)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Multi: Unpacking [DEBUG] SteamClient: Incoming: | not parsed)> [DEBUG] SteamClient: Emit event: [DEBUG] SteamClient: Emit event: 'job_3' [DEBUG] steamctl.utils.storage: Opening file (w): C:\Users\overklassniy\AppData\Local\steamctl\steamctl\Cache\last_change_number [DEBUG] SteamClient: Checking for outdated cached appinfo files [INFO] steamctl.commands.depot.gcmds: Getting manifests for 'public' branch [DEBUG] SteamClient: Serving appinfo from cache [DEBUG] steamctl.utils.storage: Opening file (r): C:\Users\overklassniy\AppData\Local\steamctl\steamctl\Cache\appinfo\570.json [DEBUG] CachingCDNClient: No license for depot 373307 (373307). Skipped Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' 2024-02-08T12:47:58Z failed with TypeError Traceback (most recent call last): File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\overklassniy\Desktop\venv\Scripts\steamctl.exe\__main__.py", line 7, in File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steamctl\__main__.py", line 59, in main rcode = cmd_func(args=args) File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steamctl\commands\depot\gcmds.py", line 326, in cmd_depot_list with init_clients(args) as (_, _, manifests): File "C:\Program Files\Python310\lib\contextlib.py", line 135, in __enter__ return next(self.gen) File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steamctl\commands\depot\gcmds.py", line 254, in init_clients for manifest in cdn.get_manifests(args.app, branch=branch, password=password, filter_func=depot_filter, decrypt=False): File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 857, in get_manifests result = task.get() File "src\\gevent\\greenlet.py", line 805, in gevent._gevent_cgreenlet.Greenlet.get File "src\\gevent\\greenlet.py", line 373, in gevent._gevent_cgreenlet.Greenlet._raise_exception File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\gevent\_compat.py", line 49, in reraise raise value.with_traceback(tb) File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest app_id, depot_id, int(manifest_gid), branch_name, branch_pass TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict' ```

Versions Report

steamctl --versions-report ```yaml steamctl: 0.9.5 Dependencies: steam: 1.4.4 appdirs: 1.4.4 argcomplete: 3.2.2 tqdm: 4.66.1 arrow: 1.3.0 pyqrcode: 1.2.1 beautifulsoup4: 4.12.3 vpk: 1.4.0 vdf: 3.4 gevent-eventemitter: 2.1 gevent: 23.9.1 greenlet: 3.0.3 pyyaml: Not Installed pycryptodomex: 3.20.0 protobuf: 3.20.3 Python runtime: executable: C:\Users\overklassniy\Desktop\venv\Scripts\python.exe version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)] platform: win32 System info: system: Windows machine: AMD64 release: 10 version: 10.0.19045 ```
woctezuma commented 7 months ago
  File "src\\gevent\\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
  File "C:\Users\overklassniy\Desktop\venv\lib\site-packages\steam\client\cdn.py", line 785, in async_fetch_manifest
    app_id, depot_id, int(manifest_gid), branch_name, branch_pass
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict'
2024-02-08T12:47:58Z <Greenlet at 0x22178eabf60: async_fetch_manifest(570, 373301, {'download': '3384473472', 'gid': '688587217582548, False, 373301, branch_name='public', branch_pass=None)> failed with TypeError

The error arises because the script tries to compute:

int(manifest_gid)

but manifest_gid is a at best dictionary, or at worst some weird construct with a missing }:

{'download': '80', 'gid': '3442758096700779883', ', False, 401531

You probably want to extract the value linked to gid(here 3442758096700779883) and pass it as the manifest_gid argument.

SmileyAG commented 1 month ago

I just encountered the same error and it turns out it's a bug in https://github.com/ValvePython/steam

Here is the corresponding pull request that fixes it with a detailed explanation in the attached issue: https://github.com/ValvePython/steam/pull/437