-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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. :-\
Metadata
Metadata
Assignees
Labels
No labels