Created
March 8, 2011 21:51
-
-
Save lypanov/861158 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[master rails-quick-start] % python -c "import simplejson as json; from chef import *; autoconfigure(); print json.dumps(dict(DataBagItem('apps', 'radiant')));" | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/Library/Python/2.6/site-packages/chef/data_bag.py", line 51, in __init__ | |
super(DataBagItem, self).__init__(str(bag)+'/'+name, api=api, skip_load=skip_load) | |
File "/Library/Python/2.6/site-packages/chef/base.py", line 51, in __init__ | |
data = self.api[self.url] | |
TypeError: 'NoneType' object is unsubscriptable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment