[uWSGI] Paste problem (wsgi application not found)

Halldór ml at 0ptr.com
Wed Jul 14 13:40:45 CEST 2010


Hi,

I've got a paste (pylons) application that runs fine on it's own (and
did with gunicorn) but when I try to run it with uwsgi under nginx I
get that uWSGI Error: wsgi application not found.

The command I use to run uwsgi is:
/usr/local/bin/uwsgi --paste config:dev/dev.ini --socket :9011 -H
/home/me/.virtualenvs/dev

The nginx block looks like:
location / {
    uwsgi_pass 79.171.98.26:9011;
    include uwsgi_params;
}

I've tried adding uwsgi_param SCRIPT_NAME /; still nothing.

The output from uwsgi all looks like this:
[pid: 20479|app: -1|req: -1/15] X.X.X.X () {30 vars in 456 bytes} [Wed
Jul 14 11:30:35 2010] GET / => generated 46 bytes in 0 msecs (HTTP/1.1
500) 2 headers in 63 bytes (0 async switches on async core 0)

I'm using uwsgi version: "*** Starting uWSGI 0.9.5-dev (32bit) on [Wed
Jul 14 11:35:52 2010] ***"

What am I missing? Is there some minor detail necessary to run paste
applications I'm missing or am I experiencing some abnormalities?


More information about the uWSGI mailing list