Traceback (most recent call last):


 "/home/steve/test/lib/python2.7/site-packages/fabric/main.py", line 757, in main

*args, **kwargs


 "/home/steve/test/lib/python2.7/site-packages/fabric/tasks.py", line 426, in execute

results['<local-only>'] = task.run(*args, **new_kwargs)


 "/home/steve/test/lib/python2.7/site-packages/fabric/tasks.py", line 173, in run

return self.wrapped(*args, **kwargs)


 "/home/steve/work/fabfile.py", line 13, in test

upload_template('tpl', '/tmp/tpl', context = v_context)


 "/home/steve/test/lib/python2.7/site-packages/fabric/contrib/files.py", line 160, in upload_template

text = text % context
TypeError: not enough arguments for format string

Traceback (most recent call last):


 "/miniconda/envs/sqlflow-dev/bin/elasticdl", line 11, in <module>

load_entry_point('elasticdl==0.0.1', 'console_scripts', 'elasticdl')()


 "/miniconda/envs/sqlflow-dev/lib/python3.6/site-packages/elasticdl-0.0.1-py3.6.egg/elasticdl/python/elasticdl/client.py", line 46, in main

args.func(args)


 "/miniconda/envs/sqlflow-dev/lib/python3.6/site-packages/elasticdl-0.0.1-py3.6.egg/elasticdl/python/elasticdl/api.py", line 43, in train

_submit_job(image_name, args, container_args)


 "/miniconda/envs/sqlflow-dev/lib/python3.6/site-packages/elasticdl-0.0.1-py3.6.egg/elasticdl/python/elasticdl/api.py", line 132, in _submit_job

cluster_spec=client_args.cluster_spec,


 "/miniconda/envs/sqlflow-dev/lib/python3.6/site-packages/elasticdl-0.0.1-py3.6.egg/elasticdl/python/common/k8s_client.py", line 51, in __init__

config.load_kube_config()


 "/miniconda/envs/sqlflow-dev/lib/python3.6/site-packages/kubernetes/config/kube_config.py", line 645, in load_kube_config

persist_config=persist_config)


 "/miniconda/envs/sqlflow-dev/lib/python3.6/site-packages/kubernetes/config/kube_config.py", line 613, in _get_kube_config_loader_for_yaml_file

**kwargs)


 "/miniconda/envs/sqlflow-dev/lib/python3.6/site-packages/kubernetes/config/kube_config.py", line 153, in __init__

self.set_active_context(active_context)


 "/miniconda/envs/sqlflow-dev/lib/python3.6/site-packages/kubernetes/config/kube_config.py", line 173, in set_active_context

context_name = self._config['current-context']


 "/miniconda/envs/sqlflow-dev/lib/python3.6/site-packages/kubernetes/config/kube_config.py", line 495, in __getitem__

v = self.safe_get(key)


 "/miniconda/envs/sqlflow-dev/lib/python3.6/site-packages/kubernetes/config/kube_config.py", line 491, in safe_get

key in self.value):
TypeError: argument of type 'NoneType' is not iterable
