rackerlabs / fastfood

DEPRECATED
Apache License 2.0
1 stars 7 forks source link

Stacktrace when running fastfood show with a non-existing stencil set #59

Closed jarosser06 closed 9 years ago

jarosser06 commented 9 years ago

This needs to be rescued and print out a nicer error message.

(fastfood)[jim@wjarvis] ~/cookbooks/839124-ordergroove (master)$ fastfood show utilty Traceback (most recent call last): File "/home/jim/Projects/fastfood/fastfood/shell.py", line 260, in main args.func(args) File "/home/jim/Projects/fastfood/fastfood/shell.py", line 82, in _fastfood_show stencil_set = template_pack.load_stencil_set(args.stencil_set) File "/home/jim/Projects/fastfood/fastfood/pack.py", line 75, in load_stencil_set % (stencilset_name, self.manifest_path)) AttributeError: Stencil set 'utilty' not listed in /home/jim/.fastfood/manifest.json under stencil_sets. AttributeError("Stencil set 'utilty' not listed in /home/jim/.fastfood/manifest.json under stencil_sets.",)