|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With aiohttp-1.3.5, I've observed CancelledError raised
unexpectedly from the aiohttp.ClientSession.get method, and
downgrading to 1.3.3 made the problem go away. The traceback
with aiohttp-1.3.5 and python-3.5.2 was as follows:
File "fetcher.py", line 223, in fetch
await await client_session.get(url, timeout=timeout, params=params)
File "/usr/lib64/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib64/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib64/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/home/zmedico/repos/adswatch/src/adswatch/rest_client.py", line 124, in _get
url, timeout=self._timeout, params=params)
File "/usr/lib64/python3.5/site-packages/aiohttp/client.py", line 590, in __await__
resp = yield from self._coro
File "/usr/lib64/python3.5/site-packages/aiohttp/client.py", line 217, in _request
conn = yield from self._connector.connect(req)
File "/usr/lib64/python3.5/site-packages/aiohttp/connector.py", line 370, in connect
yield from self._create_connection(req)
File "/usr/lib64/python3.5/site-packages/aiohttp/connector.py", line 663, in _create_connection
transport, proto = yield from self._create_direct_connection(req)
File "/usr/lib64/python3.5/site-packages/aiohttp/connector.py", line 686, in _create_direct_connection
local_addr=self._local_addr)
File "/usr/lib64/python3.5/asyncio/base_events.py", line 649, in create_connection
yield from tasks.wait(fs, loop=self)
File "/usr/lib64/python3.5/asyncio/tasks.py", line 347, in wait
return (yield from _wait(fs, timeout, return_when, loop))
File "/usr/lib64/python3.5/asyncio/tasks.py", line 430, in _wait
yield from waiter
File "/usr/lib64/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib64/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib64/python3.5/asyncio/futures.py", line 266, in result
raise CancelledError
concurrent.futures._base.CancelledError
Package-Manager: Portage-2.3.5, Repoman-2.3.2
|