StarCluster - Mailing List Archive

Re: crash report: in client.py, cfg['url'] -> KeyError

From: Justin Riley <no email>
Date: Wed, 17 Oct 2012 13:35:44 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey Matthew,

I suspect this is because you're not using a matching version of
IPython on your local machine. Which AMI are you using? Also, what is
the output of:

$ python -c 'import IPython; print IPython.__version__'

If you're using the 11.10 AMIs you will need to use IPython 0.12 for
the time being. The up and coming 12.04 AMIs will include IPython 0.13.

~Justin

On 09/18/2012 10:37 AM, Matthew Johnson wrote:
> ---------- CRASH DETAILS ---------- COMMAND: starcluster shell
> --ipcluster=mycluster 2012-09-18 10:32:28,039 PID: 2977
> config.py:551 - DEBUG - Loading config 2012-09-18 10:32:28,039 PID:
> 2977 config.py:118 - DEBUG - Loading file:
> /home/mattjj/.starcluster/config 2012-09-18 10:32:28,041 PID: 2977
> shell.py:89 - INFO - Loading parallel IPython library 2012-09-18
> 10:32:28,042 PID: 2977 awsutils.py:54 - DEBUG - creating self._conn
> w/ connection_authenticator kwargs = {'proxy_user': None,
> 'proxy_pass': None, 'proxy_port': None, 'proxy': None, 'is_secure':
> True, 'path': '/', 'region': None, 'port': None} 2012-09-18
> 10:32:28,345 PID: 2977 utils.py:464 - DEBUG - nargs = 2 2012-09-18
> 10:32:28,345 PID: 2977 utils.py:465 - DEBUG - ndefaults = 2
> 2012-09-18 10:32:28,346 PID: 2977 utils.py:466 - DEBUG - nrequired
> = 0 2012-09-18 10:32:28,346 PID: 2977 utils.py:467 - DEBUG - args =
> [] 2012-09-18 10:32:28,346 PID: 2977 utils.py:468 - DEBUG - kwargs
> = ['enable_notebook', 'notebook_passwd'] 2012-09-18 10:32:28,346
> PID: 2977 utils.py:469 - DEBUG - defaults = (False, None)
> 2012-09-18 10:32:28,346 PID: 2977 cluster.py:504 - DEBUG -
> config_args = [] 2012-09-18 10:32:28,347 PID: 2977 cluster.py:513 -
> DEBUG - config_kwargs = {} 2012-09-18 10:32:28,556 PID: 2977
> cluster.py:646 - DEBUG - existing nodes: {} 2012-09-18 10:32:28,556
> PID: 2977 cluster.py:654 - DEBUG - adding node i-d2517ba8 to
> self._nodes list 2012-09-18 10:32:28,556 PID: 2977 cluster.py:654 -
> DEBUG - adding node i-d0517baa to self._nodes list 2012-09-18
> 10:32:28,557 PID: 2977 cluster.py:662 - DEBUG - returning
> self._nodes = [<Node: master (i-d2517ba8)>, <Node: node001
> (i-d0517baa)>] 2012-09-18 10:32:28,557 PID: 2977 shell.py:62 - INFO
> - Configuring local known_hosts file 2012-09-18 10:32:28,557 PID:
> 2977 shell.py:121 - INFO - Loading parallel IPython client and
> view 2012-09-18 10:32:28,559 PID: 2977 cli.py:286 - ERROR -
> Unhandled exception occured Traceback (most recent call last): File
> "/usr/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/cli.py",
> line 255, in main sc.execute(args) File
> "/usr/lib/python2.7/site-packages/StarCluster-0.9999-py2.7.egg/starcluster/commands/shell.py",
> line 122, in execute rc = Client(local_json, sshkey=key_location,
> packer='pickle') File
> "/usr/lib/python2.7/site-packages/IPython/parallel/client/client.py",
> line 424, in __init__ cfg['url'] =
> util.disambiguate_url(cfg['url'], location) KeyError: 'url'
> ---------- SYSTEM INFO ---------- StarCluster: 0.9999 Python: 2.7.3
> (default, Apr 24 2012, 00:00:54) [GCC 4.7.0 20120414
> (prerelease)]Platform:
> Linux-3.4.7-1-ARCH-x86_64-with-glibc2.2.5boto: 2.5.2ssh:
> 1.7.14Crypto: 2.6 jinja2: 2.6 decorator: 3.3.3
> _______________________________________________ StarCluster mailing
> list StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB+7HAACgkQ4llAkMfDcrkmhgCdElih3a2Yp+iTdnr6c34FURfq
W+EAnjlJl1g8S0h0ypN/IqqBVpAkUCIF
=rEs/
-----END PGP SIGNATURE-----
Received on Wed Oct 17 2012 - 13:35:47 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject