Hi Justin,<div><br></div><div>No need to apologize!</div><div>I could understand how busy you were as I myself started classes this week here in the UK.</div><div><br></div><div>Per your instruction, I will try it again and report back, if needed.</div>
<div><br></div><div>Many thanks for your detailed response,</div><div>Joseph</div><div><br></div><div>P.S.</div><div>How can I know the version number?</div><div>I just did &#39;git pull&#39;, installed it (&#39;sudo python setup.py install&#39;), and typed &#39;starcluster --version&#39;.</div>
<div>The version number returned, however, is &#39;0.9999&#39;, exactly the same as before.</div><div><br></div><div><br><div class="gmail_quote">On Tue, Feb 1, 2011 at 5:20 PM, Justin Riley <span dir="ltr">&lt;<a href="mailto:justin.t.riley@gmail.com">justin.t.riley@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;">Hi Kyeong,<br>
<br>
I apologize for the delay in responding, the last few weeks have been<br>
insanely busy as classes are starting at MIT and we&#39;ve been busy<br>
preparing.<br>
<br>
The error you received is because the latest github code is not<br>
compatible with clusters started using the 0.91.2 version of<br>
StarCluster. The patch you provided does get around the problem<br>
however it prevents the code from working as intended. To properly fix<br>
this you need to remove any old clusters you started with the 0.91.2<br>
version. You should then be able to use the development version<br>
without your patch. I&#39;m working to put in some logistics that will<br>
prompt users with an error detailing this issue and how to fix it.<br>
<br>
Thanks for reporting,<br>
<br>
~Justin<br>
<br>
On Fri, Jan 14, 2011 at 1:55 PM, Kyeong Soo (Joseph) Kim<br>
<div><div></div><div class="h5">&lt;<a href="mailto:kyeongsoo.kim@gmail.com">kyeongsoo.kim@gmail.com</a>&gt; wrote:<br>
&gt; After some debugging, I found out the cause of the said problem. Below is<br>
&gt; the output from &quot;git diff&quot;:<br>
&gt; ================================================<br>
&gt; diff --git a/starcluster/cluster.py b/starcluster/cluster.py<br>
&gt; index 0e820a7..436ae44 100644<br>
&gt; --- a/starcluster/cluster.py<br>
&gt; +++ b/starcluster/cluster.py<br>
&gt; @@ -544,7 +544,7 @@ class Cluster(object):<br>
&gt;          description field.<br>
&gt;          &quot;&quot;&quot;<br>
&gt;          try:<br>
&gt; -            compressed_data =<br>
&gt; base64.b64decode(self.cluster_group.description)<br>
&gt; +            compressed_data =<br>
&gt; base64.b64encode(self.cluster_group.description)<br>
&gt;              pkl_data = zlib.decompress(compressed_data)<br>
&gt;              cluster_settings = cPickle.loads(str(pkl_data)).__dict__<br>
&gt;              for key in cluster_settings:<br>
&gt; ================================================<br>
&gt; As you can see, &quot;base64.b64decode&quot; should have been &quot;base64.b64encode&quot; in<br>
&gt; line 547.<br>
&gt; Regards,<br>
&gt; Joseph<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jan 13, 2011 at 3:02 PM, Kyeong Soo (Joseph) Kim<br>
&gt; &lt;<a href="mailto:kyeongsoo.kim@gmail.com">kyeongsoo.kim@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello Justin and All,<br>
&gt;&gt; Another bug report for the development version from github.<br>
&gt;&gt; Here below is the error message from &quot;listclusters&quot; command:<br>
&gt;&gt; =============================================<br>
&gt;&gt; ~$ starcluster listclusters<br>
&gt;&gt; StarCluster - (<a href="http://web.mit.edu/starcluster" target="_blank">http://web.mit.edu/starcluster</a>) (v. 0.9999)<br>
&gt;&gt; Software Tools for Academics and Researchers (STAR)<br>
&gt;&gt; Please submit bug reports to <a href="mailto:starcluster@mit.edu">starcluster@mit.edu</a><br>
&gt;&gt; cli.py:156 - ERROR - failed to load cluster receipt: Incorrect padding<br>
&gt;&gt; =============================================<br>
&gt;&gt; With the development version, I could go through all the examples in the<br>
&gt;&gt; documentation -- which means there is no problem with the account<br>
&gt;&gt; credentials -- but the listcluster command.<br>
&gt;&gt; By the way, the development version seems quite stable and provides much<br>
&gt;&gt; more information in the configuration template than the stable one (e.g.,<br>
&gt;&gt; the updated information on the use of AMIs in different zones/regions).<br>
&gt;&gt; Regards,<br>
&gt;&gt; Joseph<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; StarCluster mailing list<br>
&gt; <a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
&gt; <a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">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>
</blockquote></div><br></div>