Skip to content

Instantly share code, notes, and snippets.

Created June 23, 2014 13:11
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 anonymous/fe34ed482cc45508de23 to your computer and use it in GitHub Desktop.
Save anonymous/fe34ed482cc45508de23 to your computer and use it in GitHub Desktop.
juju@trusty64-juju:~/charms/trusty$ sudo charm create fooballz
INFO: Using default charm template (python). To select a different template, use the -t option.
INFO: Generating charm for fooballz in ./fooballz
INFO: No fooballz in apt cache; creating an empty charm instead.
Symlink all hooks to one python source file? [yN]
INFO:root:Loading charm helper config from charm-helpers.yaml.
INFO:root:Checking out lp:charm-helpers to /tmp/tmp4klJWl/charm-helpers.
ERROR:root:Could not sync: [Errno 2] No such file or directory
Traceback (most recent call last):
File "./scripts/charm_helpers_sync.py", line 220, in <module>
raise e
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/bin/charm-create", line 9, in <module>
load_entry_point('charm-tools==1.3.1', 'console_scripts', 'charm-create')()
File "/usr/lib/python2.7/dist-packages/charmtools/create.py", line 92, in main
generator.create_charm()
File "/usr/lib/python2.7/dist-packages/charmtools/generators/generator.py", line 74, in create_charm
self.plugin.create_charm(user_config, tempdir)
File "/usr/lib/python2.7/dist-packages/charmtools/templates/python/template.py", line 50, in create_charm
self._install_charmhelpers(output_dir)
File "/usr/lib/python2.7/dist-packages/charmtools/templates/python/template.py", line 86, in _install_charmhelpers
subprocess.check_call(cmd.split(), cwd=output_dir)
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./scripts/charm_helpers_sync.py', '-c', 'charm-helpers.yaml']' returned non-zero exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment