<br><br><div class="gmail_quote">On Tue, Mar 16, 2010 at 2:15 PM, chuan gao <span dir="ltr">&lt;<a href="mailto:aggie.gao@gmail.com">aggie.gao@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am using the standard AMI<br>the OS is  ubuntu 9.10<br>yes. I can ssh into AMI with no problem. actually, the error occured at the last step when it is configuring NFS. I checked the AMI on amazon and they have been started. and my permanent volume has been mounted.  <br>

concerning the error, <br><div class="im">build/bdist.linux-i686/egg/paramiko/sftp_client.py<br></div></blockquote><div><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"></div>I looked into directory StarCluster-0.90.1/build/bdist.linux-i686 and nothing is there. should there be egg/paramiko/sftp_client.py ?<br></blockquote><div><br>You mean, in the build directory, after the install is complete?    Well, in the equivalent on my machine, no, there&#39;s nothing in there after the process is done.   But this shouldn&#39;t matter, since unless you&#39;re planning to run starcluster directly from the build directory,  it shouldn&#39;t matter what&#39;s in there.   However, it looks from your error trace like the system <i>is</i> looking in the build directory for binaries.     There are two reasons why this could be the case:    <br>
<br>      1) something went wrong during the build process and the linking was done incorrectly.  <br><br>      2) you&#39;re running &quot;starcluster&quot; command from _inside_ the build directory, and as a result, you end up confusing the Python package importer. <br>
<br>In the case of 1):  how are you doing the installation, exactly?  When you do the
install, what kind of output do you see?  (run your install in the
&quot;debug&quot; mode).   During installation on my machine, I get output like this:<br>
<br>
  Installed /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/StarCluster-0.90-py2.6.egg<br>
  Processing dependencies for StarCluster==0.90<br>
  Searching for paramiko==1.7.6<br>
  Best match: paramiko 1.7.6<br>
  Processing paramiko-1.7.6-py2.6.egg<br>
  paramiko 1.7.6 is already the active version in easy-install.pth<br><br>In the case of 2), just see what happens if you shut down yoru AMI instances and try the &quot;starcluster&quot; command again, from outside the build directory, which you should probably just delete.   Unless you&#39;re explicitly _planning_ to run your installed version directly from your build
directory?  That would be a non-standard way to run things.   I don&#39;t know what what happen if I did that on my machine, I&#39;ve never
tried it since it&#39;s generally bad practice to try that if you&#39;re using
a module that links to external packages.<br>
<br>HTH, <br>Dan<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="h5"><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks Dan, I am pretty sure that I got paramiko installed correctly. I&#39;ll work on it a bit more.<br>
will Justin have a chance to look at this email list and try to point out what could be the problem?<div><div></div>

<div><br><br><br><div class="gmail_quote">
On Tue, Mar 16, 2010 at 11:21 AM, Dan Yamins <span dir="ltr">&lt;<a href="mailto:dyamins@gmail.com" target="_blank">dyamins@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



Hm.  I&#39;m not sure what the problem is (your version is fine).   Something is clearly wrong with either your paramiko installation or the way that starcluster is using it.   <br><br>Have you tried testing paramiko outside the context of starcluster?   Try testing it for normal ssh usage.  If that fails, then you&#39;ll probably have identified the problem.   (I don&#39;t know if you just installed it, perhaps reinstallation would then help.) <br>




<br>If paramiko works normally, then perhaps there&#39;s an argument that is being passed on  line 109 of starcluster/ssh.py that is supposed to represent an existing file object, that somehow isn&#39;t being properly created (probably earlier in the ssh cycle).  In this case, Justin (the creator of starcluster) should probably be the one to address your problem. <br>



<font color="#888888">
<br>Dan</font><div><div></div><div><br><br><br><br><div class="gmail_quote">On Tue, Mar 16, 2010 at 10:57 AM, chuan gao <span dir="ltr">&lt;<a href="mailto:aggie.gao@gmail.com" target="_blank">aggie.gao@gmail.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
paramiko-1.7.6-py2.6.egg<br>Thanks for replying.<br><br><br><div class="gmail_quote"><div><div></div><div>On Tue, Mar 16, 2010 at 9:02 AM, Dan Yamins <span dir="ltr">&lt;<a href="mailto:dyamins@gmail.com" target="_blank">dyamins@gmail.com</a>&gt;</span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div><br><br><div class="gmail_quote"><div>On Tue, Mar 16, 2010 at 1:05 AM, chuan gao <span dir="ltr">&lt;<a href="mailto:aggie.gao@gmail.com" target="_blank">aggie.gao@gmail.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Here is the error message:<br><br>&gt;&gt;&gt; Installing Sun Grid Engine...<br><br></blockquote></div><div>[SNIP] <br></div><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<br>  File &quot;build/bdist.linux-i686/egg/paramiko/sftp_client.py&quot;, line 675, in _read_response<br>  File &quot;build/bdist.linux-i686/egg/paramiko/sftp_client.py&quot;, line 701, in _convert_status<br>
IOError: [Errno 2] No such file<br><br><br></blockquote></div><div><br>What version of paramiko do you have installed?<br> <br></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></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>