I'm following the instructions at:

http://code.google.com/p/modwsgi/wiki/VirtualEnvironments

This is what I'm running:

 Apache/2.2.14 (Ubuntu) mod_wsgi/3.3-BRANCH Python/2.7 configured -- resuming 
normal operations

And I've got this:

WSGIPythonHome /var/www/web-apps/wsgi_base/

<VirtualHost *:8080>
    WSGIDaemonProcess epmeta threads=15 maximum-requests=1000 \
        python-path=/var/www/web-apps/epmeta/lib/python2.7/site-packages

[snip...]

</VirtualHost>

I was having trouble importing something, so I printed out sys.path in my main 
wsgi application, just before the import and get the following, which does get 
everything right on my wsgi_base virtualenv, but doesn't seem to be performing 
the behaviour specified for WSGIDaemonProcess's python-path at all.

I tried diddling the order of the threads & maximum-requests parameters 
thinking it might be important but to no avail.

Is the order 

[
'/var/www/web-apps/wsgi_base/lib/python2.7/site-packages/distribute-0.6.10-py2.7.egg',
 
'/var/www/web-apps/wsgi_base/lib/python2.7/site-packages/pip-0.7.2-py2.7.egg', 
'/var/www/web-apps/wsgi_base/lib/python27.zip', 
'/var/www/web-apps/wsgi_base/lib/python2.7', 
'/var/www/web-apps/wsgi_base/lib/python2.7/plat-linux2', 
'/var/www/web-apps/wsgi_base/lib/python2.7/lib-tk', 
'/var/www/web-apps/wsgi_base/lib/python2.7/lib-old', 
'/var/www/web-apps/wsgi_base/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7', 
'/usr/local/lib/python2.7/plat-linux2', 
'/usr/local/lib/python2.7/lib-tk', 
'/var/www/web-apps/wsgi_base/lib/python2.7/site-packages'
]

Any clues to what I might be doing wrong, or is this a bug, maybe Python 2.7 
specific...?

Thanks,

S

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to