uwsgi抱怨没有findpython应用程序

看起来像uWSGI应用程序相当普遍,但仍然找不到任何有价值的解决scheme。

我可以使用uwsgi 1.0.3和python2.7在Ubuntu 12.04上工作

这是我的config.ini文件:

[uwsgi] uid = www-data gid = www-data pythonpath = /path/to/my/application plugins = python27 module = launcher.py workers = 2 vacuum = True max-requests = 1000000 harakiri = 120 harakiri-verbose = true need-app = true buffer-size = 32768 listen = 200 master-as-root = true max-fd = 10240 #memory-report = true #stats = /tmp/stats.socket chown-socket = www-data 

我从日志文件得到的是:

  [uWSGI] getting INI configuration from /usr/share/uwsgi/conf/default.ini [uWSGI] getting INI configuration from /etc/uwsgi/apps-enabled/my_application.ini 

我没有find任何方法来手动启动它(在前台,没有守护进程;我已经在这里阅读文档,但选项–wsgi文件sepcifyconfiguration文件不起作用)或增加冗长。

我花了几个小时parsing谷歌和uwsgi文档find我的出路,任何帮助将不胜感激。

编辑:

它看起来像uwsgi现在开始,并加载樱桃应用程序后面。 但在这一点上,它崩溃的错误消息:

 CherryPy Checker: The Application mounted at '' has an empty config. [06/May/2014:14:40:57] ENGINE Started monitor thread 'Autoreloader'. [06/May/2014:14:40:57] ENGINE Started monitor thread '_TimeoutMonitor'. [06/May/2014:14:40:57] ENGINE Serving on 127.0.0.1:8080 [06/May/2014:14:40:57] ENGINE Bus STARTED WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x201c680 pid: 9890 (default app) *** uWSGI is running in multiple interpreter mode *** spawned uWSGI master process (pid: 9890) spawned uWSGI worker 1 (pid: 9940, cores: 1) spawned uWSGI worker 2 (pid: 9941, cores: 1) metrics collector thread started invalid signal timer syntax, must be: <signal> <seconds> VACUUM: unix socket /run/uwsgi/app/uwsgi/socket removed. root@test:/var/www/ce1sus# Tue May 6 14:40:57 2014 - uWSGI worker 1 screams: UAAAAAAH my master disconnected: i will kill myself !!! Tue May 6 14:40:57 2014 - uWSGI worker 2 screams: UAAAAAAH my master disconnected: i will kill myself !!! 

我运行这个命令:

 uwsgi my_application.ini 

我的uwsgi版本现在是2.0.4;

我错过了某个地方的某个步骤吗? 非常感谢您的帮助