Hi everyone,

I tried to find some articles online to help me, but I can't find anything 
about my specific problem, except for a couple of unanswered questions on 
SO...

So my Flask-based app runs fine on its own, but when I try to run it in 
Elastic Beanstalk, it hangs. 
I located the line of code which hangs, which is: `from profanity_check 
import predict_prob`

Because it hangs only when I run it in EB, I need to be enable some kind of 
debugging at WSGI level. I found many resources about how to deal with 
crashes and stack traces, but what I need is be able to trace where exactly 
the app is hanging, as I can't instrument a library such as 
profanity_check. I was thinking of using the `trace` module to print out 
every single line of code that is executed, but I don't know how to do that 
through WSGI....

Any help would be greatly appreciated!

  Fabrice

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/86e19829-e128-45ed-9212-0da51e61ba17%40googlegroups.com.

Reply via email to