<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.16428"></HEAD>
<BODY style="FONT: 10pt Segoe UI; MARGIN: 4px 4px 1px">
<DIV>Hello Justin</DIV>
<DIV>Thanks - this seems to have worked.</DIV>
<DIV>Emilia<BR><BR>>>> Justin Riley <jtriley@MIT.EDU> 12/12/2013 18:59 >>><BR>Hi Emilia,<BR><BR>If you're using pip there's no need to download StarCluster by hand -<BR>pip will handle fetching the downloads. However, by default pip will not<BR>upgrade packages if they're already installed unless you tell it to do<BR>so using the -U option. Please give the following command a try and let<BR>me know if it works for you:<BR><BR>$ pip install -U starcluster<BR>$ starcluster --version<BR><BR>(should be 0.94.3)<BR><BR>Thanks!<BR><BR>~Justin<BR><BR>On Thu, Dec 12, 2013 at 05:13:38PM +0000, Emilia Vynnycky wrote:<BR>> Hello Justin<BR>> Many thanks for the reply. That's helpful to know. I've since been able<BR>> to launch further clusters and have not had similar problems.<BR>> <BR>> However, I am a bit unclear about how to install the latest version of<BR>> starcluster under Windows 7 if an earlier version has already been<BR>> installed. I thought that I had installed the latest version, but the old<BR>> version number keeps appearing.<BR>> <BR>> In brief, I downloaded the file starcluster-0.93.tar.gz and unzipped to a<BR>> folder on my hard disk. I then went to the folder and ran pip install<BR>> startcluster [note that easy install starcluster didn't work previously -<BR>> see another post]. Is there a different method for upgrading the version<BR>> under Windows 7? <BR>> <BR>> Thanks<BR>> Emilia<BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> <BR>> >>> Justin Riley <jtriley@MIT.EDU> 12/12/2013 16:56 >>><BR>> Hi Emilia,<BR>> <BR>> The exception occured because of a failure to properly fetch the<BR>> instance's userdata. I'm going to update the code to raise a better<BR>> error when this happens. If this happens again try waiting a few seconds<BR>> and re-running your start command and passing the --no-create (-x)<BR>> option. That will re-use the existing cluster instances and try again.<BR>> <BR>> Also, from the crash report you sent it looks like you're using 0.94.2.<BR>> Could you please double check the version you're using and try upgrading<BR>> again if it's not 0.94.3? Thanks!<BR>> <BR>> ~Justin<BR>> <BR>> On Wed, Nov 27, 2013 at 12:34:37PM +0000, Emilia Vynnycky wrote:<BR>> > Hello<BR>> > I've just installed the updated version of Starcluster (version<BR>> 0.94.3).<BR>> > <BR>> > However, when I tried to access the cluster that I had set up in the<BR>> > previous version, I received the following bug report. Could someone<BR>> > advise on what I should do please? The cluster had been terminated<BR>> > before I ran this.<BR>> > <BR>> > In case it's relevant, I'm running this under Windows 7 and following<BR>> > previous problems (see posting dated 14/11/13), I used the command<BR>> pip<BR>> > install starcluster to install the latest version.<BR>> > <BR>> > Thanks in advance<BR>> > <BR>> > Emilia<BR>> > <BR>> > ---------- SYSTEM INFO ----------<BR>> > StarCluster: 0.94.2<BR>> > Python: 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit<BR>> (Intel)]<BR>> > Platform: Windows-7-6.1.7601-SP1<BR>> > boto: 2.18.0<BR>> > paramiko: 1.12.0<BR>> > Crypto: 2.6<BR>> > <BR>> > ---------- CRASH DETAILS ----------<BR>> > Command: starcluster-script.py start thibela-build<BR>> > <BR>> > 2013-11-27 12:20:43,398 PID: 8868 config.py:567 - DEBUG - Loading<BR>> config<BR>> > 2013-11-27 12:20:43,413 PID: 8868 config.py:138 - DEBUG - Loading<BR>> file:<BR>> > C:\Users\user\.starcluster\config<BR>> > 2013-11-27 12:20:43,430 PID: 8868 awsutils.py:74 - DEBUG - creating<BR>> > self._conn w/ connection_authenticator kwargs = {'proxy_user': None,<BR>> > 'proxy_pass': None, 'proxy_port': None, 'proxy': None, 'is_secure':<BR>> True,<BR>> > 'path': '/', 'region': None, 'validate_certs': True, 'port': None}<BR>> > 2013-11-27 12:20:45,539 PID: 8868 start.py:197 - INFO - Using default<BR>> > cluster template: smallcluster<BR>> > 2013-11-27 12:20:45,539 PID: 8868 cluster.py:1660 - INFO - Validating<BR>> > cluster template settings...<BR>> > 2013-11-27 12:20:47,316 PID: 8868 cluster.py:982 - DEBUG - Launch<BR>> map:<BR>> > node001 (ami: ami-9b9ebaf2, type: m1.small)...<BR>> > 2013-11-27 12:20:47,316 PID: 8868 cluster.py:982 - DEBUG - Launch<BR>> map:<BR>> > node001 (ami: ami-9b9ebaf2, type: m1.small)...<BR>> > 2013-11-27 12:20:47,365 PID: 8868 cluster.py:801 - DEBUG - Userdata<BR>> size<BR>> > in KB: 0.54<BR>> > 2013-11-27 12:20:47,365 PID: 8868 cluster.py:1677 - INFO - Cluster<BR>> > template settings are valid<BR>> > 2013-11-27 12:20:47,365 PID: 8868 cluster.py:1498 - INFO - Starting<BR>> > cluster...<BR>> > 2013-11-27 12:20:47,365 PID: 8868 cluster.py:1008 - INFO - Launching<BR>> a<BR>> > 2-node cluster...<BR>> > 2013-11-27 12:20:47,367 PID: 8868 cluster.py:982 - DEBUG - Launch<BR>> map:<BR>> > node001 (ami: ami-9b9ebaf2, type: m1.small)...<BR>> > 2013-11-27 12:20:47,367 PID: 8868 cluster.py:1036 - DEBUG - Launching<BR>> > master (ami: ami-9b9ebaf2, type: m1.small)<BR>> > 2013-11-27 12:20:47,367 PID: 8868 cluster.py:1036 - DEBUG - Launching<BR>> > node001 (ami: ami-9b9ebaf2, type: m1.small)<BR>> > 2013-11-27 12:20:47,551 PID: 8868 awsutils.py:247 - INFO - Creating<BR>> > security group @sc-thibela-build...<BR>> > 2013-11-27 12:20:50,388 PID: 8868 cluster.py:801 - DEBUG - Userdata<BR>> size<BR>> > in KB: 0.55<BR>> > 2013-11-27 12:20:51,003 PID: 8868 awsutils.py:432 - DEBUG - Forcing<BR>> > delete_on_termination for AMI: ami-9b9ebaf2<BR>> > 2013-11-27 12:20:51,959 PID: 8868 cluster.py:847 - INFO -<BR>> > Reservation:r-a44340dd<BR>> > 2013-11-27 12:20:51,959 PID: 8868 utils.py:624 - INFO - Waiting for<BR>> > instances to propagate...<BR>> > 2013-11-27 12:20:53,334 PID: 8868 cluster.py:1298 - INFO - Waiting<BR>> for<BR>> > cluster to come up... (updating every 30s)<BR>> > 2013-11-27 12:20:53,561 PID: 8868 cluster.py:1255 - INFO - Waiting<BR>> for all<BR>> > nodes to be in a 'running' state...<BR>> > 2013-11-27 12:20:53,971 PID: 8868 cluster.py:711 - DEBUG - existing<BR>> nodes:<BR>> > {}<BR>> > 2013-11-27 12:20:53,971 PID: 8868 cluster.py:719 - DEBUG - adding<BR>> node<BR>> > i-da130da1 to self._nodes list<BR>> > 2013-11-27 12:20:54,890 PID: 8868 cluster.py:719 - DEBUG - adding<BR>> node<BR>> > i-c4130dbf to self._nodes list<BR>> > 2013-11-27 12:20:55,198 PID: 8868 cli.py:307 - ERROR - Unhandled<BR>> exception<BR>> > occured<BR>> > Traceback (most recent call last):<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\cli.py",<BR>> > line 274, in main<BR>> > sc.execute(args)<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\commands\start.py",<BR>> > line 215, in execute<BR>> > validate_running=validate_running)<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\cluster.py",<BR>> > line 1485, in start<BR>> > return self._start(create=create, create_only=create_only)<BR>> > File "<string>", line 2, in _start<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\utils.py",<BR>> > line 111, in wrap_f<BR>> > res = func(*arg, **kargs)<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\cluster.py",<BR>> > line 1508, in _start<BR>> > self.setup_cluster()<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\cluster.py",<BR>> > line 1516, in setup_cluster<BR>> > self.wait_for_cluster()<BR>> > File "<string>", line 2, in wait_for_cluster<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\utils.py",<BR>> > line 111, in wrap_f<BR>> > res = func(*arg, **kargs)<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\cluster.py",<BR>> > line 1301, in wait_for_cluster<BR>> > self.wait_for_running_instances()<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\cluster.py",<BR>> > line 1256, in wait_for_running_instances<BR>> > nodes = nodes or self.get_nodes_or_raise()<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\cluster.py",<BR>> > line 731, in get_nodes_or_raise<BR>> > nodes = self.nodes<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\cluster.py",<BR>> > line 721, in nodes<BR>> > if n.is_master():<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\node.py",<BR>> > line 884, in is_master<BR>> > return self.alias == "master"<BR>> > File<BR>> > <BR>> "C:\Python27\lib\site-packages\starcluster-0.94.2-py2.7.egg\starcluster\node.py",<BR>> > line 140, in alias<BR>> > aliases = aliasestxt.splitlines()[2:]<BR>> > AttributeError: 'NoneType' object has no attribute 'splitlines'<BR>> <BR>> > _______________________________________________<BR>> > StarCluster mailing list<BR>> > StarCluster@mit.edu<BR>> > [1]http://mailman.mit.edu/mailman/listinfo/starcluster<BR>> <BR>> References<BR>> <BR>> Visible links<BR>> 1. <A href="http://mailman.mit.edu/mailman/listinfo/starcluster">http://mailman.mit.edu/mailman/listinfo/starcluster</A><BR><BR></DIV></BODY></HTML>