Weird. I did that and I thought it wasn&#39;t working. Maybe something else was wrong. Regardless, it seems to be working now.<div><br>Thanks,</div><div>-A<br><br><div class="gmail_quote">On Thu, Oct 25, 2012 at 1:15 PM, MinRK <span dir="ltr">&lt;<a href="mailto:benjaminrk@gmail.com" target="_blank">benjaminrk@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">IPython 0.14 rewrites the connection/handshake step, as well as serialization.  It is not compatible with 0.13, so you have to upgrade all IPythons  in a given cluster (engine, controller, and client) at once.<br>

<br><div class="gmail_quote"><div><div class="h5">

On Thu, Oct 25, 2012 at 12:50 PM, Alessandro Gagliardi <span dir="ltr">&lt;<a href="mailto:alessandro@path.com" target="_blank">alessandro@path.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div class="h5">

I had been able to run IPython Notebook locally and connect to StarCluster using:<div>rc = Client(&#39;/home/alessandro/.starcluster/ipcluster/myfourthcluster-us-west-1.json&#39;, sshkey=&#39;/home/alessandro/.ssh/path-ops.pem&#39;, packer=&#39;pickle&#39;)</div>





<div>I upgraded IPython from 0.12 to 0.13 and it worked for the most part, though I had some trouble at times, so following the advice at <a href="https://github.com/ipython/ipython/issues/2171" target="_blank">https://github.com/ipython/ipython/issues/2171</a> I upgraded to 0.14. After restarting myfourthcluster I was no longer able to connect. I was still running 0.13 locally and was able to generate the attached crash report. I noticed that my local copy of IPython was looking for a &quot;url&quot; field in the JSON file which now looks like:</div>





<div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">{</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

  &quot;control&quot;: XXXXX, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">  &quot;task&quot;: XXXXX, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">





  &quot;notification&quot;: XXXXX, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">  &quot;exec_key&quot;: &quot;XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&quot;,</div>

<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">  &quot;task_scheme&quot;: &quot;leastload&quot;, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">

  &quot;mux&quot;: XXXXX, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">  &quot;iopub&quot;: XXXXX, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">





  &quot;ssh&quot;: &quot;<a href="mailto:sgeadmin@ec2-XX-XX-XX-XX.us-west-1.compute.amazonaws.com" style="color:rgb(17,85,204)" target="_blank">sgeadmin@ec2-XX-XX-XX-XX.us-west-1.compute.amazonaws.com</a>&quot;, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">





  &quot;registration&quot;: XXXXX, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">  &quot;interface&quot;: &quot;tcp://XX.XX.XX.XX&quot;, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">





  &quot;pack&quot;: &quot;pickle&quot;, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">  &quot;unpack&quot;: &quot;pickle&quot;, </div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">





  &quot;location&quot;: &quot;XX.XX.XX.XX&quot;</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">}</div></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">





I noticed that a JSON file I had for an older instance looked quite different:</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><div>{</div><div>  &quot;url&quot;: &quot;tcp:///XX.XX.XX.XX:XXXXX&quot;, </div>





<div>  &quot;exec_key&quot;: XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, </div><div>  &quot;ssh&quot;: &quot;<a href="mailto:sgeadmin@ec2-XX-XX-XX-XX.us-west-1.compute.amazonaws.com" style="color:rgb(17,85,204)" target="_blank">sgeadmin@ec2-XX-XX-XX-XX.us-west-1.compute.amazonaws.com</a>&quot;, </div>





<div>  &quot;location&quot;: &quot;XX.XX.XX.XX&quot;</div><div>}</div><div>I tried adding a &quot;url&quot; field but could not figure out what to fill it with.</div><div>I then figured that the problem could be because of a mismatch between 0.13 on my local machine and 0.14 remotely, so I upgraded.</div>





<div>Now when I try the above Client command, it hangs indefinitely.</div><div><br></div><div>Please help!</div><div><br></div><div>Thank you,</div><div>-Alessandro</div></div>
<br></div></div>_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu" target="_blank">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br></blockquote></div><br>
</blockquote></div><br></div>