Hi, I get "Internal Server Error" running a pyramid sqlalchemy scaffold app inside a virtualenv when I try to run it with uwsgi. However, when I run it with pserve, I get no issues and the orange pyramid hello world displays OK in Safari.
I'm using nginx 1.2.8, uWSGI 1.9.6, pyramid 1.4.
in /private/etc/nginx/sites-available/test1:
server {
listen 8080;
access_log off;
error_log /var/log/nginx/http.error.log;
charset utf-8;
location / {
uwsgi_pass unix:///tmp/uwsgi.sock;
include uwsgi_params;
}
}
> ln -sf /etc/nginx/sites-available/demo /etc/nginx/sites-enabled/demo
<restart nginx>
~~ uwsgi
> cd ~/webapps/env1/test1
> uwsgi -H /Users/michael/webapps/env1 --http :8080 --ini development.ini
> ps aux | grep uwsgi
michael 24134 0.0 0.1 2446036 2608 ?? S 3:15pm 0:00.01 uwsgi -H /Users/michael/webapps/env1 --http :8080 --ini development.ini
michael 24133 0.0 0.1 2446036 2608 ?? S 3:15pm 0:00.01 uwsgi -H /Users/michael/webapps/env1 --http :8080 --ini development.ini
michael 24132 0.0 0.1 2446952 4396 ?? S 3:15pm 0:00.03 uwsgi -H /Users/michael/webapps/env1 --http :8080 --ini development.ini
michael 24139 0.0 0.0 2432768 452 s002 R+ 3:15pm 0:00.00 grep uwsgi
michael 24137 0.0 0.0 2446952 340 ?? S 3:15pm 0:00.00 uwsgi -H /Users/michael/webapps/env1 --http :8080 --ini development.ini
michael 24136 0.0 0.1 2446036 2608 ?? S 3:15pm 0:00.01 uwsgi -H /Users/michael/webapps/env1 --http :8080 --ini development.ini
michael 24135 0.0 0.1 2446036 2604 ?? S 3:15pm 0:00.01 uwsgi -H /Users/michael/webapps/env1 --http :8080 --ini development.ini
However, when I go to localhost:8080, I get "Internal Server Error"
Much of what I've done so far is based on this tut:
Any help would be greatly appreciated..
Michael