Git Product home page Git Product logo

Comments (4)

 avatar commented on May 22, 2024

[ LP comment 1 by: Brian Granger, on 2009-04-14 21:38:33.292246+00:00 ]

I have confirmed this. It also occurs for the MultiEngineClient when the controller stop and is restarted underneath a live client. The client should have reconnect logic that is triggered on a DeadReferenceError.

from ipython.

 avatar commented on May 22, 2024

[ LP comment 2 by: Vishal Vatsa, on 2009-04-24 18:22:23+00:00 ]

Hey Brian,

Totally forgot about this bug. Since I have had a look at this before,
feel free to assign it to me.

-vishal

2009/4/14 Brian Granger [email protected]:

I have confirmed this.  It also occurs for the MultiEngineClient when
the controller stop and is restarted underneath a live client.  The
client should have reconnect logic that is triggered on a
DeadReferenceError.

** Changed in: ipython
  Importance: Undecided => Medium

** Changed in: ipython
      Status: New => Confirmed

** Changed in: ipython
    Assignee: (unassigned) => Brian Granger (ellisonbg)

Getting "DeadReferenceError: Calling Stale Broker" after ipcontroller restart
https://bugs.launchpad.net/bugs/308253
You received this bug notification because you are a direct subscriber
of the bug.

Status in IPython - Enhanced Interactive Python: Confirmed

Bug description:
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

from ipython.

 avatar commented on May 22, 2024

[ LP comment 3 by: Brian Granger, on 2009-04-27 21:13:32.675484+00:00 ]

Thanks for looking into this!

from ipython.

ellisonbg avatar ellisonbg commented on May 22, 2024

Won't fix this issue.

from ipython.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.