importing client.TaskClient() hangs
Bug #497419 reported by
Robert Ferrell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
If I start an interactive session and type:
import IPython
from IPython.kernel import client
tc = client.TaskClient()
at the prompt, I get going fine. If I put those commands in a file
and run them as a script, that's fine. But, if I put them in a file
and import the file into an interactive IPython session, it hangs when
I try to get a TaskClient.
This is on OS X 10.6, Python 2.6.1, ipython 0.10.
To post a comment you must log in.
This looks a bit like bug #300218, but isn't the same (to my eyes).
I traced the problem as far as:
try: # restore state no matter what (e.g., KeyboardInterrupt)
waiter. acquire( )
self. _note(" %s.wait( ): got it", self)
if timeout is None:
if __debug__:
in wait() in lib/python2. 6/threading. py. The call to waiter.acquire() never returns. (That's line 237 in my version of threading.py)