Ubuntu Pastebin

Paste from skay at Fri, 5 Jun 2015 14:42:03 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
>>> import os, launchpadlib
>>> from launchpadlib.credentials import Credentials
>>> credentials = Credentials("c3demo")
>>> request_token_info = credentials.get_request_token(web_root="production")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/ubuntu/hexr/local/lib/python2.7/site-packages/launchpadlib/credentials.py", line 163, in get_request_token
    response, content = _http_post(url, headers, params)
  File "/home/ubuntu/hexr/local/lib/python2.7/site-packages/launchpadlib/credentials.py", line 87, in _http_post
    url, method='POST', headers=headers, body=urlencode(params))
  File "/home/ubuntu/hexr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1597, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/home/ubuntu/hexr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1345, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/home/ubuntu/hexr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1281, in _conn_request
    conn.connect()
  File "/home/ubuntu/hexr/local/lib/python2.7/site-packages/httplib2/__init__.py", line 1036, in connect
    raise SSLHandshakeError(e)
httplib2.SSLHandshakeError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Download as text