Hi,

I'm trying to install new relic on my demo server. It runs python+django on 
mod_wsgi on centos. In my djnago.wsgi file I try to do this:

import newrelic.agent
newrelic.agent.initialize('newrelic.ini')

import os
import sys

sys.path.append('/home/projects')
sys.path.append('/home/projects/sbo')

os.environ['DJANGO_SETTINGS_MODULE'] = 'sbo.settings'

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

But it keep failing. Internal server error. It fails even if a leave only 
the import. But newrelic is installed and in python2.7 which I use I can 
use the import.

Any ideea why it might fail?

Thanks,
Virgil Balibanu

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to