"charm create foo" error is weird if package doesn't exist

Bug #892433 reported by Jorge Castro
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Juju Charm Tools
Fix Released
Undecided
Unassigned

Bug Description

$ charm create foo
Generating template for foo from templates in /usr/share/charm-tools/templates
Charm will be stored in ./foo
failed to find foo in apt cache.

charm-tools creates foo but "failed to find foo in apt cache." makes me think that there was an error, perhaps we can just fix the wording:

$ charm create foo
Generating template for foo from templates in /usr/share/charm-tools/templates
Failed to find foo in apt cache, creating an empty charm instead
Charm will be stored in ./foo

would make that more clear.

Related branches

Revision history for this message
Nathan Osman (george-edison55) wrote :

Confirmed: this happened to me as well.

Changed in charm-tools:
status: New → Confirmed
Revision history for this message
Marco Ceppi (marcoceppi) wrote :

$ charm create foo
Generating template for foo from templates in /home/marco/Projects/charm-tools/templates
Charm will be stored in ./foo
Failed to find foo in apt cache, creating an empty charm instead.

I've pushed this change to the attached branch and opened a merge request.

Changed in charm-tools:
status: Confirmed → In Progress
Marco Ceppi (marcoceppi)
Changed in charm-tools:
status: In Progress → Fix Committed
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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