So I was trying to try out the parallel testing that Ondrej has setup  
in his par branch (see this old thread: 
http://groups.google.com/group/sympy/browse_thread/thread/379f13863348f80/af9d58ab53418e0f?lnk=gst&q=parallel#af9d58ab53418e0f
 
  , and here is Ondrej's branch: http://github.com/certik/sympy/tree/par) 
.

After installing twisted and foolcap and running "ipcluster local -n  
2" (I have a dual core MacBook Pro), which created the furl files in  
~/.ipython/security, I tried running

In [1]: from IPython.kernel import client
In [2]: mec = client.MultiEngineClient()
As suggested on 
http://ipython.scipy.org/doc/manual/html/parallel/parallel_intro.html#getting-started
 
.  But I got this traceback:
---------------------------------------------------------------------------
ConnectionRefusedError                    Traceback (most recent call  
last)

/Users/aaronmeurer/Documents/Python/sympy/sympy/<ipython console> in  
<module>()

/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- 
packages/IPython/kernel/client.pyc in  
get_multiengine_client(furl_or_file)
      67     """
      68     client =  
blockingCallFromThread(_client_tub.get_multiengine_client,
---> 69         furl_or_file)
      70     return client.adapt_to_blocking_client()
      71

/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- 
packages/IPython/kernel/twistedutil.pyc in blockingCallFromThread(f,  
*a, **kw)
      70         @raise: any error raised during the callback chain.
      71         """
---> 72         return  
twisted.internet.threads.blockingCallFromThread(reactor, f, *a, **kw)
      73
      74 else:

/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- 
packages/Twisted-8.2.0-py2.6-macosx-10.3-fat.egg/twisted/internet/ 
threads.pyc in blockingCallFromThread(reactor, f, *a, **kw)
     112     result = queue.get()
     113     if isinstance(result, failure.Failure):
--> 114         result.raiseException()
     115     return result
     116

/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site- 
packages/Twisted-8.2.0-py2.6-macosx-10.3-fat.egg/twisted/python/ 
failure.pyc in raiseException(self)
     324         information if available.
     325         """
--> 326         raise self.type, self.value, self.tb
     327
     328

ConnectionRefusedError: Connection was refused by other side: 61:  
Connection refused.

Any idea what could be causing this?

Aaron Meurer

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to