Winand

Untitled

Feb 27th, 2018
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.76 KB | None | 0 0
  1. exception calling callback for <Future at 0xa823e48 state=finished raised Connec
  2. tionError>
  3. Traceback (most recent call last):
  4.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
  5. ", line 302, in _error_catcher
  6.     yield
  7.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
  8. ", line 601, in read_chunked
  9.     chunk = self._handle_chunk(amt)
  10.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
  11. ", line 557, in _handle_chunk
  12.     value = self._fp._safe_read(amt)
  13.   File "D:\andray\Software\Python\Anaconda\lib\http\client.py", line 612, in _sa
  14. fe_read
  15.     chunk = self.fp.read(min(amt, MAXAMOUNT))
  16.   File "D:\andray\Software\Python\Anaconda\lib\socket.py", line 586, in readinto
  17.  
  18.     return self._sock.recv_into(b)
  19. socket.timeout: timed out
  20.  
  21. During handling of the above exception, another exception occurred:
  22.  
  23. Traceback (most recent call last):
  24.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\models.py"
  25. , line 745, in generate
  26.     for chunk in self.raw.stream(chunk_size, decode_content=True):
  27.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
  28. ", line 432, in stream
  29.     for line in self.read_chunked(amt, decode_content=decode_content):
  30.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
  31. ", line 626, in read_chunked
  32.     self._original_response.close()
  33.   File "D:\andray\Software\Python\Anaconda\lib\contextlib.py", line 99, in __exi
  34. t__
  35.     self.gen.throw(type, value, traceback)
  36.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
  37. ", line 307, in _error_catcher
  38.     raise ReadTimeoutError(self._pool, None, 'Read timed out.')
  39. urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='kasant.gvc.oao.rzd
  40. ', port=8888): Read timed out.
  41.  
  42. During handling of the above exception, another exception occurred:
  43.  
  44. Traceback (most recent call last):
  45.   File "D:\andray\Software\Python\Anaconda\lib\concurrent\futures\_base.py", lin
  46. e 324, in _invoke_callbacks
  47.     callback(self)
  48.   File "D:\andray\Software\Python\projects\kasant2\multiproc.py", line 82, in __
  49. done_callback
  50.     self.callback(task.result())  # time.clock() - future.start_time)
  51.   File "D:\andray\Software\Python\Anaconda\lib\concurrent\futures\_base.py", lin
  52. e 425, in result
  53.     return self.__get_result()
  54.   File "D:\andray\Software\Python\Anaconda\lib\concurrent\futures\_base.py", lin
  55. e 384, in __get_result
  56.     raise self._exception
  57.   File "D:\andray\Software\Python\Anaconda\lib\concurrent\futures\thread.py", li
  58. ne 56, in run
  59.     result = self.fn(*self.args, **self.kwargs)
  60.   File "D:\andray\Software\Python\projects\kasant2\kasant.py", line 18, in colle
  61. ct_acts
  62.     card_data = kasant.load_card(*card_id)
  63.   File "D:\andray\Software\Python\projects\kasant2\core.py", line 155, in load_c
  64. ard
  65.     r = self.session.get(self.url_card, params=params, timeout=10)
  66.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\sessions.p
  67. y", line 521, in get
  68.     return self.request('GET', url, **kwargs)
  69.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\sessions.p
  70. y", line 508, in request
  71.     resp = self.send(prep, **send_kwargs)
  72.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\sessions.p
  73. y", line 658, in send
  74.     r.content
  75.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\models.py"
  76. , line 823, in content
  77.     self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes
  78. ()
  79.   File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\models.py"
  80. , line 752, in generate
  81.     raise ConnectionError(e)
  82. requests.exceptions.ConnectionError: HTTPConnectionPool(host='kasant.gvc.oao.rzd
  83. ', port=8888): Read timed out.
Advertisement
Add Comment
Please, Sign In to add comment