charm add readme failure as of 1.3.1

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

Bug Description

Looks like we have a missing template in the package.

charles@desktop:~/charms/trusty/logstash⟫ charm add readme
Traceback (most recent call last):
  File "/usr/bin/charm-add", line 9, in <module>
    load_entry_point('charm-tools==1.3.1', 'console_scripts', 'charm-add')()
  File "/usr/lib/python2.7/dist-packages/charmtools/generate.py", line 119, in main
    copy_file('README.ex', os.getcwd(), is_bundle=a.bundle, debug=a.debug)
  File "/usr/lib/python2.7/dist-packages/charmtools/generate.py", line 51, in copy_file
    shutil.copy(os.path.join(CHARM_TPL, tpl_file), charm_dir)
  File "/usr/lib/python2.7/shutil.py", line 119, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/charmtools/templates/charm/README.ex'

Related branches

description: updated
Changed in charm-tools:
assignee: nobody → Tim Van Steenburgh (tvansteenburgh)
status: New → In Progress
importance: Undecided → High
Changed in charm-tools:
milestone: none → 1.3.2
status: In Progress → 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.