Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exception calling callback for <Future at 0xa823e48 state=finished raised Connec
- tionError>
- Traceback (most recent call last):
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
- ", line 302, in _error_catcher
- yield
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
- ", line 601, in read_chunked
- chunk = self._handle_chunk(amt)
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
- ", line 557, in _handle_chunk
- value = self._fp._safe_read(amt)
- File "D:\andray\Software\Python\Anaconda\lib\http\client.py", line 612, in _sa
- fe_read
- chunk = self.fp.read(min(amt, MAXAMOUNT))
- File "D:\andray\Software\Python\Anaconda\lib\socket.py", line 586, in readinto
- return self._sock.recv_into(b)
- socket.timeout: timed out
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\models.py"
- , line 745, in generate
- for chunk in self.raw.stream(chunk_size, decode_content=True):
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
- ", line 432, in stream
- for line in self.read_chunked(amt, decode_content=decode_content):
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
- ", line 626, in read_chunked
- self._original_response.close()
- File "D:\andray\Software\Python\Anaconda\lib\contextlib.py", line 99, in __exi
- t__
- self.gen.throw(type, value, traceback)
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\urllib3\response.py
- ", line 307, in _error_catcher
- raise ReadTimeoutError(self._pool, None, 'Read timed out.')
- urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='kasant.gvc.oao.rzd
- ', port=8888): Read timed out.
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "D:\andray\Software\Python\Anaconda\lib\concurrent\futures\_base.py", lin
- e 324, in _invoke_callbacks
- callback(self)
- File "D:\andray\Software\Python\projects\kasant2\multiproc.py", line 82, in __
- done_callback
- self.callback(task.result()) # time.clock() - future.start_time)
- File "D:\andray\Software\Python\Anaconda\lib\concurrent\futures\_base.py", lin
- e 425, in result
- return self.__get_result()
- File "D:\andray\Software\Python\Anaconda\lib\concurrent\futures\_base.py", lin
- e 384, in __get_result
- raise self._exception
- File "D:\andray\Software\Python\Anaconda\lib\concurrent\futures\thread.py", li
- ne 56, in run
- result = self.fn(*self.args, **self.kwargs)
- File "D:\andray\Software\Python\projects\kasant2\kasant.py", line 18, in colle
- ct_acts
- card_data = kasant.load_card(*card_id)
- File "D:\andray\Software\Python\projects\kasant2\core.py", line 155, in load_c
- ard
- r = self.session.get(self.url_card, params=params, timeout=10)
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\sessions.p
- y", line 521, in get
- return self.request('GET', url, **kwargs)
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\sessions.p
- y", line 508, in request
- resp = self.send(prep, **send_kwargs)
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\sessions.p
- y", line 658, in send
- r.content
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\models.py"
- , line 823, in content
- self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes
- ()
- File "D:\andray\Software\Python\Anaconda\lib\site-packages\requests\models.py"
- , line 752, in generate
- raise ConnectionError(e)
- requests.exceptions.ConnectionError: HTTPConnectionPool(host='kasant.gvc.oao.rzd
- ', port=8888): Read timed out.
Advertisement
Add Comment
Please, Sign In to add comment