-
Notifications
You must be signed in to change notification settings - Fork 172
get_manifests() failed with TypeError #460
-
Kinda new to python trying to use this to get manifest info but I'm getting TypeError following the example script, executed straight from python console.
from steam.client import SteamClient
from steam.client.cdn import CDNClient
client = SteamClient()
client.cli_login()
<EResult.OK: 1>
mycdn = CDNClient(client)
mycdn.get_manifests(582660)
Traceback (most recent call last):
File "src\gevent\greenlet.py", line 908, in gevent._gevent_cgreenlet.Greenlet.run
File "C:\Users2円.0\AppData\Local\Programs\Python\Python310\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年03月28日T13:39:46Z <Greenlet at 0x27d4f0b5300: async_fetch_manifest(582660, 582667, {'gid': '4917028189945595676', 'size': '7052737981, True, 582667, branch_name='public', branch_pass=None)> failed with TypeError
Traceback (most recent call last):
File "", line 1, in
File "C:\Users2円.0\AppData\Local\Programs\Python\Python310\lib\site-packages\steam\client\cdn.py", line 857, in get_manifests
result = task.get()
File "src\gevent\greenlet.py", line 831, in gevent._gevent_cgreenlet.Greenlet.get
File "src\gevent\greenlet.py", line 373, in gevent._gevent_cgreenlet.Greenlet._raise_exception
File "C:\Users2円.0\AppData\Local\Programs\Python\Python310\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:\Users2円.0\AppData\Local\Programs\Python\Python310\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'
Beta Was this translation helpful? Give feedback.
All reactions
See #437. Honestly though I doubt it'll get fixed this library seems kinda dead, maybe look for a fork or different library.
Replies: 1 comment 1 reply
-
See #437. Honestly though I doubt it'll get fixed this library seems kinda dead, maybe look for a fork or different library.
Beta Was this translation helpful? Give feedback.
All reactions
-
tyvm adding that code fixed it
Beta Was this translation helpful? Give feedback.