Saturday, April 28, 2012

Fatal Python error: Couldn't create autoTLSkey mapping

My last project I started with Django 1.4 and Django Compressor. Today I decided to deploy to the production its first version. I used nginx+Apache.

Everything seemed to be good but instead of normal page I got:
FilterError at /
Unable to apply CompilerFilter (lessc {infile} {outfile})
I tried to repeat the same with ./manage.py runserver. It works. So the issue not in configuration or lessc itself. Later I found here that it is Apache's issue and can be solved with
WSGIApplicationGroup %{GLOBAL}
directive in Apache's VirtualHost config.

It helped.

1 comment:

Note: Only a member of this blog may post a comment.