I seem to be having an issue with uWSGI parsing:
wsgi.xml
---
<uwsgi>
<home>/srv/python-environments/voxinfinitus/</home>
<pythonpath>/srv/python-environments/voxinfinitus/</pythonpath>
<pythonpath>/srv/python-environments/</pythonpath>
<env>DJANGO_SETTINGS_MODULE=settings</env>
<module>django.core.handlers.wsgi.WSGIHandler()</module>
<master/>
<processes>6</processes>
<socket>/tmp/cherokee/voxi-live.sock</socket>
<chmod/>
</uwsgi>
Have I made a mistake in the XML?
On Sep 27, 2010, at 8:49 AM, Max Countryman wrote:
> Perfect! Thanks so much, Roberto.
>
> On Sep 27, 2010, at 8:44 AM, Roberto De Ioris wrote:
>
>>
>> Il giorno 27/set/2010, alle ore 14.25, Max Countryman ha scritto:
>>
>>> I've followed a setup for uWSGI previously discussed here and set up an xml
>>> file that pretty much contains everything I was doing on the command line
>>> (Thanks Roberto!):
>>>
>>> wsgi.xml
>>> ---
>>> <uwsgi>
>>> <pythonpath>/usr/local/django/voxi/</pythonpath>
>>> <pythonpath>/usr/local/django/</pythonpath>
>>> <env>DJANGO_SETTINGS_MODULE=voxi.settings</env>
>>> <module>django.core.handlers.wsgi.WSGIHandler()</module>
>>> <master/>
>>> <processes>6</processes>
>>> <socket>/tmp/cherokee/voxi.sock</socket>
>>> <chmod/>
>>> </uwsgi>
>>>
>>>
>>> I'm wondering what, if anything, I need to do to make this work with
>>> virtualenv? Is it as simple as running './uwsgi -x wsgi.xml -H voxi'?
>>>
>>> __
>>
>> Yes but try to use absolute path for venv.
>>
>> By the way i suggest you to include the virtualenv in the xml file
>>
>> <home>/path_to/voxi</home>
>>
>> --
>> Roberto De Ioris
>> http://unbit.it
>> JID: [email protected]
>>
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee