You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is no network connection, QHangups crashes on start because I have autoconnect turned on. Here's a stacktrace:
Traceback (most recent call last):
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 544, in urlopen
body=body, headers=headers)
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 341, in _make_request
self._validate_conn(conn)
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 762, in _validate_conn
conn.connect()
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connection.py", line 204, in connect
conn = self._new_conn()
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connection.py", line 134, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "D:\Python34\lib\site-packages\requests\packages\urllib3\util\connection.py", line 64, in create_connection
for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
File "D:\Python34\lib\socket.py", line 533, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11001] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Python34\lib\site-packages\requests\adapters.py", line 370, in send
timeout=timeout
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 597, in urlopen
_stacktrace=sys.exc_info()[2])
File "D:\Python34\lib\site-packages\requests\packages\urllib3\util\retry.py", line 245, in increment
raise six.reraise(type(error), error, _stacktrace)
File "D:\Python34\lib\site-packages\requests\packages\urllib3\packages\six.py", line 309, in reraise
raise value.with_traceback(tb)
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 544, in urlopen
body=body, headers=headers)
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 341, in _make_request
self._validate_conn(conn)
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 762, in _validate_conn
conn.connect()
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connection.py", line 204, in connect
conn = self._new_conn()
File "D:\Python34\lib\site-packages\requests\packages\urllib3\connection.py", line 134, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "D:\Python34\lib\site-packages\requests\packages\urllib3\util\connection.py", line 64, in create_connection
for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
File "D:\Python34\lib\socket.py", line 533, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', gaierror(11001, 'getaddrinfo failed'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\Python34\lib\runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "D:\Python34\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\Python34\lib\site-packages\qhangups\__main__.py", line 362, in <module>
main()
File "D:\Python34\lib\site-packages\qhangups\__main__.py", line 357, in main
widget = QHangupsMainWidget(args.token)
File "D:\Python34\lib\site-packages\qhangups\__main__.py", line 81, in __init__
self.hangups_start()
File "D:\Python34\lib\site-packages\qhangups\__main__.py", line 164, in hangups_start
cookies = self.login(self.refresh_token_path)
File "D:\Python34\lib\site-packages\qhangups\__main__.py", line 133, in login
cookies = hangups.auth.get_auth(self.get_credentials, refresh_token_path)
File "D:\Python34\lib\site-packages\hangups\auth.py", line 79, in get_auth
access_token = _auth_with_refresh_token(refresh_token_filename)
File "D:\Python34\lib\site-packages\hangups\auth.py", line 140, in _auth_with_refresh_token
r = requests.post(OAUTH2_TOKEN_REQUEST_URL, data=token_request_data)
File "D:\Python34\lib\site-packages\requests\api.py", line 108, in post
return request('post', url, data=data, json=json, **kwargs)
File "D:\Python34\lib\site-packages\requests\api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "D:\Python34\lib\site-packages\requests\sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "D:\Python34\lib\site-packages\requests\sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "D:\Python34\lib\site-packages\requests\adapters.py", line 415, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', gaierror(11001, 'getaddrinfo failed'))
The text was updated successfully, but these errors were encountered:
When there is no network connection, QHangups crashes on start because I have autoconnect turned on. Here's a stacktrace:
The text was updated successfully, but these errors were encountered: