Skip to content

Instantly share code, notes, and snippets.

@jlafon
Created July 18, 2013 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlafon/6030948 to your computer and use it in GitHub Desktop.
Save jlafon/6030948 to your computer and use it in GitHub Desktop.
Stack trace from elasticluster
$ mkvirtualenv elasticluster
(elasticluster) $ pip install elasticluster
...
(elasticluster) $ elasticluster list
WARNING:gc3.elasticluster:Deploying default configuration file to /Users/jlafon/.elasticluster/config.
Traceback (most recent call last):
File "/Users/jlafon/.virtualenv/elasticluster/bin/elasticluster", line 8, in <module>
load_entry_point('elasticluster==1.0.0', 'console_scripts', 'elasticluster')()
File "/Users/jlafon/.virtualenv/elasticluster/lib/python2.7/site-packages/elasticluster/main.py", line 152, in main
app.run()
File "/Users/jlafon/.virtualenv/elasticluster/lib/python2.7/site-packages/cli/app.py", line 235, in run
self.pre_run()
File "/Users/jlafon/.virtualenv/elasticluster/lib/python2.7/site-packages/elasticluster/main.py", line 111, in pre_run
shutil.copyfile(template, self.params.config)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/Users/jlafon/.virtualenv/elasticluster/bin/../share/elasticluster/etc/config.template.ini'
@arcimboldo
Copy link

Thank you for the bug reporting, there was an error on the path used for the template configuration file.
Version 1.0.1 contains the fix to this error, please upgrade using "pip install --upgrade elasticluster"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment