Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

can't activate IPython parallel magics #209

jmrohwer opened this Issue Nov 29, 2010 · 4 comments


None yet
3 participants

IPython version: 0.11.dev
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).

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:

In [3]: mec.activate()

AttributeError Traceback (most recent call last)
/home/jr/ in ()
----> 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


minrk commented Nov 29, 2010

Lots of the Twisted-based parallel code is broken in 0.11, and will not be fixed. It is to be deprecated, and possibly removed before 0.11 release, in favor of the new ZeroMQ based parallel code, currently found in my newparallel branch:

If you want to use the Twisted parallel code, you should use 0.10.

Unfortunately, at this point there are several key things missing from the new parallel code, including the more sophisticated ipcluster scripts and the magics.


ellisonbg commented Dec 3, 2010

I am actually going to fix a few of these things...


ellisonbg commented Dec 3, 2010

I just pushed a fix to master. But autopx is still not working.


ellisonbg commented Dec 8, 2010

Everything should not be working with autopx.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment