我試着用zappa多次部署django, 得到以下錯誤。用zappa部署django不起作用
{
"message": "An uncaught exception happened while servicing this request. You can investigate this with the `zappa tail` command.",
"traceback": [
"Traceback (most recent call last):\n",
" File \"/var/task/handler.py\", line 441, in handler\n response = Response.from_app(self.wsgi_app, environ)\n",
" File \"/tmp/pip-build-hvU2Xn/Werkzeug/werkzeug/wrappers.py\", line 865, in from_app\n",
" File \"/tmp/pip-build-hvU2Xn/Werkzeug/werkzeug/wrappers.py\", line 57, in _run_wsgi_app\n",
" File \"/tmp/pip-build-hvU2Xn/Werkzeug/werkzeug/test.py\", line 871, in run_wsgi_app\n",
"TypeError: 'NoneType' object is not callable\n"
]
}
需要一些幫助,認真。
你在使用什麼操作系統?在碼頭版本中嘗試最新版本的zappa https://github.com/danielwhatmuff/zappa – Edgar