Giter Site home page Giter Site logo

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

overklassniy avatar overklassniy commented on June 12, 2024
[BUG] steamctl depot list -a 570 raising TypeError: int() argument must be a string, a bytes-like object or a real number, not 'dict'

from steamctl.

Comments (1)

woctezuma avatar woctezuma commented on June 12, 2024
  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.

from steamctl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.