charm create python template fails during charm_helpers_sync.py

Bug #1332381 reported by Marco Ceppi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juju Charm Tools
Fix Released
High
Tim Van Steenburgh

Bug Description

marco@home:/tmp$ charm create foobar
INFO: Using default charm template (python). To select a different template, use the -t option.
INFO: Generating charm for foobar in ./foobar
INFO: No foobar 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/tmpdknNdn/charm-helpers.
Branched 163 revisions.
ERROR:root:Could not sync: [Errno 2] No such file or directory: 'lib/charmhelpers'
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: 'lib/charmhelpers'
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

Related branches

Marco Ceppi (marcoceppi)
Changed in charm-tools:
status: New → Triaged
milestone: none → 1.3.2
importance: Undecided → High
Changed in charm-tools:
assignee: nobody → Tim Van Steenburgh (tvansteenburgh)
status: Triaged → Fix Committed
Marco Ceppi (marcoceppi)
Changed in charm-tools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.