fork download
  1. Exception in thread Thread-1:
  2. Traceback (most recent call last):
  3. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/urllib3/connection.py", line 141, in _new_conn
  4. (self.host, self.port), self.timeout, **extra_kw)
  5. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 83, in create_connection
  6. raise err
  7. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 73, in create_connection
  8. sock.connect(sa)
  9. TimeoutError: [Errno 110] Connection timed out
  10.  
  11. During handling of the above exception, another exception occurred:
  12.  
  13. Traceback (most recent call last):
  14. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
  15. chunked=chunked)
  16. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 345, in _make_request
  17. self._validate_conn(conn)
  18. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 844, in _validate_conn
  19. conn.connect()
  20. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/urllib3/connection.py", line 284, in connect
  21. conn = self._new_conn()
  22. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/urllib3/connection.py", line 150, in _new_conn
  23. self, "Failed to establish a new connection: %s" % e)
  24. urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7ff2f411cf98>: Failed to establish a new connection: [Errno 110] Connection timed out
  25.  
  26. During handling of the above exception, another exception occurred:
  27.  
  28. Traceback (most recent call last):
  29. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
  30. timeout=timeout
  31. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 649, in urlopen
  32. _stacktrace=sys.exc_info()[2])
  33. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 388, in increment
  34. raise MaxRetryError(_pool, url, error or ResponseError(cause))
  35. urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='stream.twitter.com', port=443): Max retries exceeded with url: /1.1/statuses/filter.json?delimited=length (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff2f411cf98>: Failed to establish a new connection: [Errno 110] Connection timed out',))
  36.  
  37. During handling of the above exception, another exception occurred:
  38.  
  39. Traceback (most recent call last):
  40. File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
  41. self.run()
  42. File "/usr/lib/python3.6/threading.py", line 864, in run
  43. self._target(*self._args, **self._kwargs)
  44. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/tweepy/streaming.py", line 294, in _run
  45. raise exception
  46. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/tweepy/streaming.py", line 247, in _run
  47. verify=self.verify)
  48. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/requests/sessions.py", line 523, in request
  49. resp = self.send(prep, **send_kwargs)
  50. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/requests/sessions.py", line 643, in send
  51. r = adapter.send(request, **kwargs)
  52. File "/home/darkhorse/Desktop/pythonEnv/my_project1/local/lib/python3.6/site-packages/requests/adapters.py", line 504, in send
  53. raise ConnectionError(e, request=request)
  54. requests.exceptions.ConnectionError: HTTPSConnectionPool(host='stream.twitter.com', port=443): Max retries exceeded with url: /1.1/statuses/filter.json?delimited=length (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff2f411cf98>: Failed to establish a new connection: [Errno 110] Connection timed out',))
  55.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:35:60: warning: character constant too long for its type
 urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='stream.twitter.com', port=443): Max retries exceeded with url: /1.1/statuses/filter.json?delimited=length (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff2f411cf98>: Failed to establish a new connection: [Errno 110] Connection timed out',))
                                                            ^~~~~~~~~~~~~~~~~~~~
prog.cpp:35:197: warning: character constant too long for its type
 urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='stream.twitter.com', port=443): Max retries exceeded with url: /1.1/statuses/filter.json?delimited=length (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff2f411cf98>: Failed to establish a new connection: [Errno 110] Connection timed out',))
                                                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cpp:54:63: warning: character constant too long for its type
 requests.exceptions.ConnectionError: HTTPSConnectionPool(host='stream.twitter.com', port=443): Max retries exceeded with url: /1.1/statuses/filter.json?delimited=length (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff2f411cf98>: Failed to establish a new connection: [Errno 110] Connection timed out',))
                                                               ^~~~~~~~~~~~~~~~~~~~
prog.cpp:54:200: warning: character constant too long for its type
 requests.exceptions.ConnectionError: HTTPSConnectionPool(host='stream.twitter.com', port=443): Max retries exceeded with url: /1.1/statuses/filter.json?delimited=length (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff2f411cf98>: Failed to establish a new connection: [Errno 110] Connection timed out',))
                                                                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.cpp:1:1: error: ‘Exception’ does not name a type
 Exception in thread Thread-1:
 ^~~~~~~~~
stdout
Standard output is empty