Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: coroutine ignored GeneratorExit #6780

Open
1 task done
superarray opened this issue Jun 8, 2022 · 0 comments
Open
1 task done

RuntimeError: coroutine ignored GeneratorExit #6780

superarray opened this issue Jun 8, 2022 · 0 comments
Labels

Comments

@superarray
Copy link

Describe the bug

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 985, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
RuntimeError: coroutine ignored GeneratorExit

To Reproduce

I don't know why this problem occurs, it feels like asyncio socks problem

Expected behavior

no

Logs/tracebacks

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 985, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
RuntimeError: coroutine ignored GeneratorExit


Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/cookiejar.py", line 113, in clear
    to_del = []
RuntimeError: coroutine ignored GeneratorExit


Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/cookiejar.py", line 114, in clear
    now = datetime.datetime.now(datetime.timezone.utc)
RuntimeError: coroutine ignored GeneratorExit

Python Version

$ python --version
Python 3.9.6

aiohttp Version

$ python -m pip show aiohttp
Name: aiohttp
Version: 3.8.0
Summary: Async http client/server framework (asyncio)
Home-page: https://github.com/aio-libs/aiohttp
Author: None
Author-email: None
License: Apache 2
Location: /usr/local/lib/python3.9/site-packages
Requires: async-timeout, frozenlist, yarl, aiosignal, attrs, charset-normalizer, multidict
Required-by:

multidict Version

$ python -m pip show multidict
Name: multidict
Version: 6.0.2
Summary: multidict implementation
Home-page: https://github.com/aio-libs/multidict
Author: Andrew Svetlov
Author-email: andrew.svetlov@gmail.com
License: Apache 2
Location: /usr/local/lib/python3.9/site-packages
Requires: 
Required-by: yarl, aiohttp

yarl Version

$ python -m pip show yarl
Name: yarl
Version: 1.7.2
Summary: Yet another URL library
Home-page: https://github.com/aio-libs/yarl/
Author: Andrew Svetlov
Author-email: andrew.svetlov@gmail.com
License: Apache 2
Location: /home/bounty.gonder/.local/lib/python3.9/site-packages
Requires: idna, multidict
Required-by: aiohttp

OS

Centos 7

Related component

Client

Additional context

No response

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct
@superarray superarray added the bug label Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant