Load weights.csv and import to a Google Fit account
25
stars
20
forks
source link
after copying the tocken I get this error : httplib2.SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) #9
Open
madwols opened 3 years ago
Hi,
after copying the token from the url I get this error :
Traceback (most recent call last): File "weight/import_weight_to_gfit.py", line 128, in
import_weight_to_gfit()
File "weight/import_weight_to_gfit.py", line 51, in import_weight_to_gfit
cred = flow.step2_exchange(token)
File "/home/madwols/.local/lib/python2.7/site-packages/oauth2client/util.py", line 135, in positional_wrapper
return wrapped(*args, **kwargs)
File "/home/madwols/.local/lib/python2.7/site-packages/oauth2client/client.py", line 2117, in step2_exchange
headers=headers)
File "/home/madwols/.local/lib/python2.7/site-packages/httplib2/init.py", line 1609, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/home/madwols/.local/lib/python2.7/site-packages/httplib2/init.py", line 1351, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/home/madwols/.local/lib/python2.7/site-packages/httplib2/init.py", line 1272, in _conn_request
conn.connect()
File "/home/madwols/.local/lib/python2.7/site-packages/httplib2/init.py", line 1059, in connect
raise SSLHandshakeError(e)
httplib2.SSLHandshakeError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)
Do I didn't copy the token properly !? it so please help me figure out which part of the url should I copy ?
Thank you