Skip to content Skip to sidebar Skip to footer

Popen Does Not Work Anymore With Apache/wsgi And Python 2.7.2?

My django application that used to make some shell commands by using python subprocess.Popen does not work anymore since I upgrade to ubuntu to 11.10 To simplify the problem, I put

Solution 1:

Because latest Python 2.7 has a bug in it which causes fork run in sub interpreters to fail.

http://bugs.python.org/issue13156

Presuming only hosting the one WSGI application, force use of the main interpreter rather than a sub interpreter by adding to your Apache configuration:

WSGIApplicationGroup %{GLOBAL}

Post a Comment for "Popen Does Not Work Anymore With Apache/wsgi And Python 2.7.2?"