我开发了一种网页.pyAPI和服务器.py下面有下面的代码。在
if __name__ == '__main__':
app = web.application(urls, globals()).wsgifunc()
如果我和古尼康一起做这个。在
^{pr2}$它给了我下面的日志
2013-11-10 17:11:55 [17158] [INFO] Starting gunicorn 18.0
2013-11-10 17:11:55 [17158] [INFO] Listening at: http://127.0.0.1:8000 (17158)
2013-11-10 17:11:55 [17158] [INFO] Using worker: sync
2013-11-10 17:11:55 [17163] [INFO] Booting worker with pid: 17163
Failed to find application: 'server'
2013-11-10 17:11:55 [17163] [INFO] Worker exiting (pid: 17163)
2013-11-10 17:11:55 [17158] [INFO] Shutting down: Master
2013-11-10 17:11:55 [17158] [INFO] Reason: App failed to load.
会出什么问题?我以前在django应用程序中使用过gunicorn,它工作得很好,但是网页.py我不知道该怎么做。在
目前没有回答
相关问题 更多 >
编程相关推荐