Created
January 3, 2015 19:21
-
-
Save oberstet/98a591cd2a03c8f54f36 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
[oberstet@brummer2 ~]$ ~/python1/bin/python | |
Python 2.7.9 (default, Dec 13 2014, 11:56:09) | |
[GCC 4.2.1 Compatible FreeBSD Clang 3.4.1 (tags/RELEASE_34/dot1-final 208032)] o n freebsd10 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> from boto.s3.connection import S3Connection | |
>>> conn = S3Connection() | |
>>> bucket = s3.get_bucket("web-autobahn-ws") | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
NameError: name 's3' is not defined | |
>>> bucket = conn.get_bucket("web-autobahn-ws") | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/home/oberstet/python1/lib/python2.7/site-packages/boto/s3/connection.py ", line 502, in get_bucket | |
return self.head_bucket(bucket_name, headers=headers) | |
File "/home/oberstet/python1/lib/python2.7/site-packages/boto/s3/connection.py ", line 521, in head_bucket | |
response = self.make_request('HEAD', bucket_name, headers=headers) | |
File "/home/oberstet/python1/lib/python2.7/site-packages/boto/s3/connection.py ", line 664, in make_request | |
retry_handler=retry_handler | |
File "/home/oberstet/python1/lib/python2.7/site-packages/boto/connection.py", line 1068, in make_request | |
retry_handler=retry_handler) | |
File "/home/oberstet/python1/lib/python2.7/site-packages/boto/connection.py", line 942, in _mexe | |
request.body, request.headers) | |
File "/opt/python279/lib/python2.7/httplib.py", line 1001, in request | |
self._send_request(method, url, body, headers) | |
File "/opt/python279/lib/python2.7/httplib.py", line 1035, in _send_request | |
self.endheaders(body) | |
File "/opt/python279/lib/python2.7/httplib.py", line 997, in endheaders | |
self._send_output(message_body) | |
File "/opt/python279/lib/python2.7/httplib.py", line 850, in _send_output | |
self.send(msg) | |
File "/opt/python279/lib/python2.7/httplib.py", line 812, in send | |
self.connect() | |
File "/opt/python279/lib/python2.7/httplib.py", line 1212, in connect | |
server_hostname=server_hostname) | |
File "/opt/python279/lib/python2.7/ssl.py", line 350, in wrap_socket | |
_context=self) | |
File "/opt/python279/lib/python2.7/ssl.py", line 566, in __init__ | |
self.do_handshake() | |
File "/opt/python279/lib/python2.7/ssl.py", line 788, in do_handshake | |
self._sslobj.do_handshake() | |
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c :581) | |
>>> | |
KeyboardInterrupt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Easy fix: Go back to python 2.7.8