[IPython-User] can't activate IPython parallel magics

Johann Rohwer jr@sun.ac...
Wed Nov 24 00:19:38 CST 2010


Sorry - forgot to reply to list...

On Wednesday 24 November 2010, Johann Rohwer wrote:
> It's 0.11.dev installed from the git repository.
> Johann
> 
> On Tuesday 23 November 2010, Brian Granger wrote:
> > Is this IPython 0.10.x or 0.11 (development)?
> > 
> > Brian
> > 
> > On Mon, Nov 22, 2010 at 12:01 PM, Johann Rohwer <jr@sun.ac.za>
> 
> wrote:
> > > I'm just starting out with parallel IPython and can get the
> > > cluster controller and engine launcher working. However, when
> > > trying to activate the
> > > IPython parallel magics from within an IPython session, I'm
> > > getting the following traceback (running from a fresh git
> > > install). Any ideas? Johann
> > > 
> > > 
> > > 
> > > In [1]: from IPython.kernel import client
> > > 
> > > /usr/local/src/ipython/IPython/kernel/client.py:48:
> > > DeprecationWarning:
> > > twisted.internet.error.PotentialZombieWarning was deprecated in
> > > Twisted 10.0.0: There is no longer any potential for zombie
> > > process.
> > > 
> > >   from twisted.internet.error import PotentialZombieWarning
> > > 
> > > 2010-11-22 21:47:33+0200 [-] Log opened.
> > > 
> > > In [2]: mec=client.MultiEngineClient()
> > > 2010-11-22 21:47:46+0200 [-] Connecting [0]
> > > 2010-11-22 21:47:46+0200 [Negotiation,client] Connected:
> > > /home/jr/.ipython/cluster_default/security/ipcontroller-mec.fur
> > > l
> > > 
> > > In [3]: mec.activate()
> > > ---------------------------------------------------------------
> > > -- ---------- AttributeError                           
> > > Traceback (most recent call last)
> > > /home/jr/<ipython-input-3-f37cf28bb36c> in <module>()
> > > ----> 1 mec.activate()
> > > 
> > > /usr/local/src/ipython/IPython/kernel/multiengineclient.py in
> > > activate(self)
> > > 
> > >     273             print "The IPython parallel magics
> > >     (%result, %px,
> > > 
> > > %autopx) only work within IPython."
> > > 
> > >     274         else:
> > > --> 275             pmagic = ip.get_component('parallel_magic')
> > > 
> > >     276             if pmagic is not None:
> > >     277                 pmagic.active_multiengine_client = self
> > > 
> > > AttributeError: 'TerminalInteractiveShell' object has no
> > > attribute 'get_component'
> > > 
> > > _______________________________________________
> > > IPython-User mailing list
> > > IPython-User@scipy.org
> > > http://mail.scipy.org/mailman/listinfo/ipython-user



More information about the IPython-User mailing list