-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Not "yielded from" coroutine when using latest aiohttp with gunicorn and uvloop #1739
Labels
Comments
fafhrd91
added a commit
that referenced
this issue
Mar 21, 2017
fafhrd91
added a commit
that referenced
this issue
Mar 21, 2017
fixed in master and 2.0 branch, will make new release later today |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Environment
Python 3.6
Alpine Linux
aiohttp==2.0.1
gunicorn=19.7.1
Problem
After upgrading aiohttp to version 2.0.1 and running my application using aiohttp.worker.GunicornUVLoopWebWorker with PYTHONASYNCIODEBUG=1 I see following errors (or be it warning since they don't appear when asyncio debug is switched off):
<CoroWrapper Signal.send() running at /usr/local/lib/python3.6/site-packages/aiohttp/signals.py:38, created at /usr/local/lib/python3.6/site-packages/aiohttp/web.py:116> was never yielded from Coroutine object created at (most recent call last): File "/usr/local/bin/gunicorn", line 11, in <module> sys.exit(run()) File "/usr/local/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 74, in run WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run() File "/usr/local/lib/python3.6/site-packages/gunicorn/app/base.py", line 203, in run super(Application, self).run() File "/usr/local/lib/python3.6/site-packages/gunicorn/app/base.py", line 72, in run Arbiter(self).run() File "/usr/local/lib/python3.6/site-packages/gunicorn/arbiter.py", line 202, in run self.manage_workers() File "/usr/local/lib/python3.6/site-packages/gunicorn/arbiter.py", line 544, in manage_workers self.spawn_workers() File "/usr/local/lib/python3.6/site-packages/gunicorn/arbiter.py", line 611, in spawn_workers self.spawn_worker() File "/usr/local/lib/python3.6/site-packages/gunicorn/arbiter.py", line 578, in spawn_worker worker.init_process() File "/usr/local/lib/python3.6/site-packages/aiohttp/worker.py", line 238, in init_process super().init_process() File "/usr/local/lib/python3.6/site-packages/aiohttp/worker.py", line 38, in init_process super().init_process() File "/usr/local/lib/python3.6/site-packages/gunicorn/workers/base.py", line 131, in init_process self.run() File "/usr/local/lib/python3.6/site-packages/aiohttp/worker.py", line 46, in run self.loop.run_until_complete(self._runner) File "/usr/local/lib/python3.6/asyncio/coroutines.py", line 125, in send return self.gen.send(value) File "/usr/local/lib/python3.6/site-packages/aiohttp/worker.py", line 102, in _run handler = self.make_handler(self.wsgi) File "/usr/local/lib/python3.6/site-packages/aiohttp/worker.py", line 62, in make_handler self.cfg.access_log_format)) File "/usr/local/lib/python3.6/site-packages/aiohttp/web.py", line 224, in make_handler self._set_loop(loop) File "/usr/local/lib/python3.6/site-packages/aiohttp/web.py", line 116, in _set_loop self._on_loop_available.send()
for previous version of aiohttp (< 2.0) everything worked fine
The text was updated successfully, but these errors were encountered: