Is this IPython 0.10.x or 0.11 (development)?<div><br></div><div>Brian<br><br><div class="gmail_quote">On Mon, Nov 22, 2010 at 12:01 PM, Johann Rohwer <span dir="ltr"><<a href="mailto:jr@sun.ac.za">jr@sun.ac.za</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm just starting out with parallel IPython and can get the cluster<br>
controller and engine launcher working. However, when trying to activate the<br>
IPython parallel magics from within an IPython session, I'm getting the<br>
following traceback (running from a fresh git install). Any ideas?<br>
Johann<br>
<br>
<br>
<br>
In [1]: from IPython.kernel import client<br>
<br>
/usr/local/src/ipython/IPython/kernel/client.py:48: DeprecationWarning:<br>
twisted.internet.error.PotentialZombieWarning was deprecated in Twisted<br>
10.0.0: There is no longer any potential for zombie process.<br>
from twisted.internet.error import PotentialZombieWarning<br>
2010-11-22 21:47:33+0200 [-] Log opened.<br>
<br>
In [2]: mec=client.MultiEngineClient()<br>
2010-11-22 21:47:46+0200 [-] Connecting [0]<br>
2010-11-22 21:47:46+0200 [Negotiation,client] Connected:<br>
/home/jr/.ipython/cluster_default/security/ipcontroller-mec.furl<br>
<br>
In [3]: mec.activate()<br>
---------------------------------------------------------------------------<br>
AttributeError Traceback (most recent call last)<br>
/home/jr/<ipython-input-3-f37cf28bb36c> in <module>()<br>
----> 1 mec.activate()<br>
<br>
/usr/local/src/ipython/IPython/kernel/multiengineclient.py in activate(self)<br>
273 print "The IPython parallel magics (%result, %px,<br>
%autopx) only work within IPython."<br>
274 else:<br>
--> 275 pmagic = ip.get_component('parallel_magic')<br>
276 if pmagic is not None:<br>
277 pmagic.active_multiengine_client = self<br>
<br>
AttributeError: 'TerminalInteractiveShell' object has no attribute<br>
'get_component'<br>
<br>
_______________________________________________<br>
IPython-User mailing list<br>
<a href="mailto:IPython-User@scipy.org">IPython-User@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-user" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-user</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Brian E. Granger, Ph.D.<br>Assistant Professor of Physics<br>Cal Poly State University, San Luis Obispo<br><a href="mailto:bgranger@calpoly.edu">bgranger@calpoly.edu</a><br>
<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a><br>
</div>