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 'git pull', installed it ('sudo python setup.py install'), and typed 'starcluster --version'.</div>
<div>The version number returned, however, is '0.9999', 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"><<a href="mailto:justin.t.riley@gmail.com">justin.t.riley@gmail.com</a>></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'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'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"><<a href="mailto:kyeongsoo.kim@gmail.com">kyeongsoo.kim@gmail.com</a>> wrote:<br>
> After some debugging, I found out the cause of the said problem. Below is<br>
> the output from "git diff":<br>
> ================================================<br>
> diff --git a/starcluster/cluster.py b/starcluster/cluster.py<br>
> index 0e820a7..436ae44 100644<br>
> --- a/starcluster/cluster.py<br>
> +++ b/starcluster/cluster.py<br>
> @@ -544,7 +544,7 @@ class Cluster(object):<br>
> description field.<br>
> """<br>
> try:<br>
> - compressed_data =<br>
> base64.b64decode(self.cluster_group.description)<br>
> + compressed_data =<br>
> base64.b64encode(self.cluster_group.description)<br>
> pkl_data = zlib.decompress(compressed_data)<br>
> cluster_settings = cPickle.loads(str(pkl_data)).__dict__<br>
> for key in cluster_settings:<br>
> ================================================<br>
> As you can see, "base64.b64decode" should have been "base64.b64encode" in<br>
> line 547.<br>
> Regards,<br>
> Joseph<br>
><br>
><br>
> On Thu, Jan 13, 2011 at 3:02 PM, Kyeong Soo (Joseph) Kim<br>
> <<a href="mailto:kyeongsoo.kim@gmail.com">kyeongsoo.kim@gmail.com</a>> wrote:<br>
>><br>
>> Hello Justin and All,<br>
>> Another bug report for the development version from github.<br>
>> Here below is the error message from "listclusters" command:<br>
>> =============================================<br>
>> ~$ starcluster listclusters<br>
>> StarCluster - (<a href="http://web.mit.edu/starcluster" target="_blank">http://web.mit.edu/starcluster</a>) (v. 0.9999)<br>
>> Software Tools for Academics and Researchers (STAR)<br>
>> Please submit bug reports to <a href="mailto:starcluster@mit.edu">starcluster@mit.edu</a><br>
>> cli.py:156 - ERROR - failed to load cluster receipt: Incorrect padding<br>
>> =============================================<br>
>> With the development version, I could go through all the examples in the<br>
>> documentation -- which means there is no problem with the account<br>
>> credentials -- but the listcluster command.<br>
>> By the way, the development version seems quite stable and provides much<br>
>> more information in the configuration template than the stable one (e.g.,<br>
>> the updated information on the use of AMIs in different zones/regions).<br>
>> Regards,<br>
>> Joseph<br>
><br>
</div></div>> _______________________________________________<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>
><br>
><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>