Hi, I run uwsgi in this mode:
/usr/bin/uwsgi --emperor /etc/uwsgi.d/ --daemonize /var/log/uwsgi.log --master --emperor-on-demand-directory /var/run/uwsgi-apps --pidfile /var/run/uwsgi/uwsgi.pid A configuration inside /etc/uwsgi.d/ was: [uwsgi] chdir = /var/www/uwsgi/ master = true uid = cgit gid = cgit logto = /var/log/uwsgi/%n.log processes = 4 idle = 1 %n die-on-idle = true plugin = python27 module = %n:app This worked fine. I then changed python27 to python35. The app failed to start with "ImportError". Removing the uid/gid lines fixed the problem and allowed the app to work. [uwsgi] chdir = /var/www/uwsgi/ master = true # Why must I comment these two lines out to avoid ImportError? #uid = cgit #gid = cgit logto = /var/log/uwsgi/%n.log processes = 4 idle = 1 %n die-on-idle = true plugin = python35 module = %n:app Does anybody know what's going on here or why this happens? How to fix it? Changing uid/gid is indeed important. Thanks, Jason _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
