Closed
Description
- uvloop version: 0.9.1
- Python version: 3.6
- Platform: Ubuntu Xenial
Version 0.9.1:
I got an error
File "/app/app/<***>/utils.py", line 35, in <***>
async with app['client_session'].get(url) as response:
File "/usr/local/lib/python3.6/dist-packages/aiohttp/client.py", line 690, in __aenter__
self._resp = yield from self._coro
File "/usr/local/lib/python3.6/dist-packages/aiohttp/client.py", line 267, in _request
conn = yield from self._connector.connect(req)
File "/usr/local/lib/python3.6/dist-packages/aiohttp/connector.py", line 402, in connect
proto = yield from self._create_connection(req)
File "/usr/local/lib/python3.6/dist-packages/aiohttp/connector.py", line 748, in _create_connection
_, proto = yield from self._create_direct_connection(req)
File "/usr/local/lib/python3.6/dist-packages/aiohttp/connector.py", line 831, in _create_direct_connection
req=req, client_error=client_error)
File "/usr/local/lib/python3.6/dist-packages/aiohttp/connector.py", line 796, in _wrap_create_connection
return (yield from self._loop.create_connection(*args, **kwargs))
TypeError: 'coroutine' object is not iterable
Version 0.8.1:
Not reproduced
The error does not depend on other libraries.
Metadata
Metadata
Assignees
Labels
No labels