Traceback (most recent call last):
File "m.py", line 195, in <module>
wait_for_messages()
File "m.py", line 184, in wait_for_messages
update_gsheet()
File "m.py", line 48, in update_gsheet
gc = gspread.authorize(credentials)
File "/home/kilrea12/.local/lib/python3.7/site-packages/gspread/__init__.py", line 38, in authorize
client.login()
File "/home/kilrea12/.local/lib/python3.7/site-packages/gspread/client.py", line 51, in login
self.auth.refresh(http)
File "/usr/lib/python3.7/site-packages/oauth2client/client.py", line 545, in refresh
self._refresh(http)
File "/usr/lib/python3.7/site-packages/oauth2client/client.py", line 749, in _refresh
self._do_refresh_request(http)
File "/usr/lib/python3.7/site-packages/oauth2client/client.py", line 780, in _do_refresh_request
body=body, headers=headers)
File "/usr/lib/python3.7/site-packages/oauth2client/transport.py", line 282, in request
connection_type=connection_type)
File "/usr/lib/python3.7/site-packages/httplib2/__init__.py", line 1957, in request
cachekey,
File "/usr/lib/python3.7/site-packages/httplib2/__init__.py", line 1622, in _request
conn, request_uri, method, body, headers
File "/usr/lib/python3.7/site-packages/httplib2/__init__.py", line 1528, in _conn_request
conn.connect()
File "/usr/lib/python3.7/site-packages/httplib2/__init__.py", line 1309, in connect
sock.connect((self.host, self.port))
File "/usr/lib/python3.7/site-packages/socks.py", line 406, in connect
self.__negotiatehttp(destpair[0],destpair[1])
File "/usr/lib/python3.7/site-packages/socks.py", line 357, in __negotiatehttp
while resp.find("\r\n\r\n")==-1:
TypeError: argument should be integer or bytes-like object, not 'str