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

Brian Granger ellisonbg@gmail....
Tue Nov 23 13:52:36 CST 2010


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.furl
>
> 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
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger@calpoly.edu
ellisonbg@gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20101123/9f27934d/attachment.html 


More information about the IPython-User mailing list