You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: