Git Product home page Git Product logo

Comments (1)

carljm avatar carljm commented on May 23, 2024

When I follow your steps, I am able to monkeytype Celery, there is just some error output in some cases where MonkeyType is unable to record a trace for some call. But these errors are just caught and printed, they don't prevent tracing from continuing. I end up with a monkeytype.sqlite3 containing over 6 million call traces, and I'm able to generate stubs from it (though first I have to actually pip install the dependencies, since deps installed by setuptools as local eggs aren't accessible when not running setup.py test).

I see a number of different error messages from traces that fail to record, the above traceback is just one of them.

In general, I'm not surprised that in a codebase as large and dynamic as Celery, there are a number of cases where MonkeyType is unable to record a specific trace or generate a specific stub. I'm closing this issue since AFAICS "can't monkeytype Celery" is not true, but I'm open to more specific issues for specific cases of inability to trace or stub.

I'm pretty much stumped by the specific traceback you posted; I can't see why or how Thenable would be undefined at that point in the code, or how MonkeyType would cause that.

from monkeytype.

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.