TypeError:__ call __()只需2个参数(给定3个),我正在使用Tornado

时间:2016-01-05 10:04:13

标签: tornado wsgi gunicorn

执行以下命令:

/usr/local/python_venv/bin/gunicorn --workers=2 app:app -b '0.0.0.0:5000'

收到以下错误:

Traceback (most recent call last):
File "/usr/local/python_venv/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 130, in handle
self.handle_request(listener, req, client, addr)
File "/usr/local/python_venv/local/lib/python2.7/site-packages/gunicorn/workers/sync.py", line 171, in handle_request
respiter = self.wsgi(environ, resp.start_response)
TypeError: __call__() takes exactly 2 arguments (3 given)

我正在使用龙卷风。

0 个答案:

没有答案