You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to debug a celery task (specifically the __call__ that calls a celery task), and when I add
import ripdb
ripdb.set_trace()
And I get the normal:
pdb is running on 127.0.0.1:4444
However, as soon as I connect with telnet I get an error:
Warning: Input is not a terminal (fd=16)
Which comes from
./prompt_toolkit/input/vt100.py: msg = "Warning: Input is not a terminal (fd=%r).\n"
as far as I can tell.
Any idea what is going on here? Celery is a difficult case (but exactly why I use rpdb, and trying out ripdb) because it's a piece of code being executed on a worker somewhere. I can't repeat the bug outside of celery, by redirecting stdin/out/err, so I'm not sure what is special about celery, or how to work around it. This works with rpdb. :-\
The text was updated successfully, but these errors were encountered:
I am trying to debug a celery task (specifically the
__call__
that calls a celery task), and when I addAnd I get the normal:
However, as soon as I connect with telnet I get an error:
Which comes from
as far as I can tell.
Any idea what is going on here? Celery is a difficult case (but exactly why I use rpdb, and trying out ripdb) because it's a piece of code being executed on a worker somewhere. I can't repeat the bug outside of celery, by redirecting stdin/out/err, so I'm not sure what is special about celery, or how to work around it. This works with rpdb. :-\
The text was updated successfully, but these errors were encountered: