Created
February 6, 2013 16:27
-
-
Save jlintz/4723771 to your computer and use it in GitHub Desktop.
boto
This file contains hidden or 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
>>> import boto | |
>>> boto.set_stream_logger('foo') | |
>>> ec2 = boto.connect_ec2(debug=2) | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/usr/lib/pymodules/python2.6/boto/__init__.py", line 113, in connect_ec2 | |
return EC2Connection(aws_access_key_id, aws_secret_access_key, **kwargs) | |
File "/usr/lib/pymodules/python2.6/boto/ec2/connection.py", line 79, in __init__ | |
https_connection_factory, path) | |
File "/usr/lib/pymodules/python2.6/boto/connection.py", line 498, in __init__ | |
debug, https_connection_factory, path) | |
File "/usr/lib/pymodules/python2.6/boto/connection.py", line 184, in __init__ | |
self.hmac = hmac.new(self.aws_secret_access_key, digestmod=sha) | |
AttributeError: EC2Connection instance has no attribute 'aws_secret_access_key' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment