-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k

Description
Original Launchpad bug 308253: https://bugs.launchpad.net/ipython/+bug/308253
Reported by: vvatsa (Vishal Vatsa).
Not Sure that is a bug or an expected behavior.
I am starting the ipcontoller such that it reuses the ipcontroller-tc.furl between restarts.
After the restart, if I invoke a DeadReferenceError with the following traceback:
I am using the blocking TaskClient from an ipython shell.
In [8]: tc.spin()
DeadReferenceError Traceback (most recent call last)
/home/vishal/ in ()
/usr/lib/python2.5/site-packages/IPython/kernel/taskclient.pyc in spin(self)
119 scheduler is idle for some reason.
120 """
--> 121 return blockingCallFromThread(self.task_controller.spin)
122
123 def queue_status(self, verbose=False):
/usr/lib/python2.5/site-packages/IPython/kernel/twistedutil.pyc in blockingCallFromThread(f, _a, *_kw)
67 @raise: any error raised during the callback chain.
68 """
---> 69 return twisted.internet.threads.blockingCallFromThread(reactor, f, _a, *_kw)
70
71 else:
/usr/lib/python2.5/site-packages/twisted/internet/threads.pyc in blockingCallFromThread(reactor, f, _a, *_kw)
81 result = queue.get()
82 if isinstance(result, failure.Failure):
---> 83 result.raiseException()
84 return result
85
/usr/lib/python2.5/site-packages/twisted/python/failure.pyc in raiseException(self)
317 information if available.
318 """
--> 319 raise self.type, self.value, self.tb
320
321
DeadReferenceError: Calling Stale Broker