I figured out what it was.. The name of my uwsgi module matched the name of my 
project directory. I had zwoptexapp.py for the wsgi script and 
.../zwoptexapp/settings.py that it was trying to import.

uwsgi was looking for a settings definition inside the wsgi script though.

-Robert

On Aug 24, 2010, at 4:17 AM, Joerg Sonnenberger wrote:

> On Tue, Aug 24, 2010 at 04:12:40AM +1200, Robert Payne wrote:
>> uwsgi -s /var/run/uwsgi/zwoptexapp.com.sock --pidfile 
>> /var/run/uwsgi/zwoptexapp.com.pid -C -M 4 -w testproject --python-path 
>> /var/www/vhosts/zwoptexapp.com/django --python-path 
>> /var/www/vhosts/zwoptexapp.com/django/zwoptexapp --python-path 
>> /var/www/vhosts/zwoptexapp.com/wsgi
> 
> Don't you want to include /var/www/vhosts/zwoptexapp.com/django and not
> /var/www/vhosts/zwoptexapp.com/django/zwoptexapp in the path?
> 
> Joerg
> _______________________________________________
> uWSGI mailing list
> [email protected]
> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to