Closed Partho closed 5 months ago
I see you are using memray. It's possible that there's a bug in memray's profiler forwarding mechanism. Or since memray is a profiler too, it might just not be possible to run both at the same time.
Might be worth asking the memray team as from reading the code, it looks like they're trying to restore the previous profiling state and that's what is causing this error.
I am working on using PyInstrument to profile FastAPI requests. When I am trying to make this post call:
The task is getting stuck, and when I refresh the web page, I am getting this error:
Basically, the error is happening here:
Any idea why I am getting not callable error? Due to this error, we won't be able to profile post calls in FastAPI which is a roadblock for us. Please help in resolving this issue. Thanks.