In the past in order to make any os binary calls from Django over WSGI on Apache2 with a Debian server, I've had to use celeryd to queue the message, open a subprocess (Apache2 would not create a new child process for security reasons, but maybe there was another way - I couldn't seem to find one and this worked).
I found django-wkhtmltopdf wrapper and it works perfectly for my situation, run from the shell. When I run it from the web page, however, it gives me a CalledProcessError: Command returned non-zero exit status 1 with no other details in the logs or in the traceback.
Is this the same issue? Apache2 cannot call the subprocess for wkhtmltopdf because Apache2 is not allowing a child process?
Thanks for your help or any guidance where I can find some!