I've tried a bunch of different approaches going back and forth
between mod_python and mod_wsgi. I can't get past this one error:

NoSectionError at /

No section: 'formatters'

Request Method:         GET
Request URL:    http://localhost:10000/
Exception Type:         NoSectionError
Exception Value:

No section: 'formatters'

Exception Location:     C:\Python25\lib\ConfigParser.py in get, line 511
Python Executable:      C:\Program Files\Apache Software Foundation
\Apache2.2\bin\httpd.exe
Python Version:         2.5.4
Python Path:    ['C:\\Program Files\\Apache Software Foundation\
\Apache2.2', 'C:\\Python25', 'C:\\WINDOWS\\system32\\python25.zip', 'C:
\\Python25\\Lib', 'C:\\Python25\\DLLs', 'C:\\Python25\\Lib\\lib-tk',
'C:\\Program Files\\Apache Software Foundation\\Apache2.2\\bin', 'C:\
\Python25\\lib\\site-packages', 'C:\\Python25\\lib\\site-packages\
\wx-2.8-msw-unicode', '/Python25/Lib/site-packages/django', '/Java/
projects/kuali_erd/python', 'C:/Java/projects/kuali_erd/python', '/
Python25/Lib/site-packages', '/Python25/Lib/site-packages/django', '/
Java/projects/kuali_erd/python', 'C:/Java/projects/kuali_erd/python']
Server time:    Wed, 24 Jun 2009 13:58:43 -0400

-------

I've included the relevant configuration snippets. Can anyone figure
out what's causing this error and how to work around it?

-------

#django.wsgi
import os, sys
sys.path.append('/Python25/Lib/site-packages')
sys.path.append('/Python25/Lib/site-packages/django')
import django.core.handlers.wsgi

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

sys.path.append('/Java/projects/kuali_erd/python')

apache_configuration= os.path.dirname(__file__)
project = os.path.dirname(apache_configuration)
workspace = os.path.dirname(project)
sys.path.append(workspace)

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

#httpd.conf
LoadModule wsgi_module modules/mod_wsgi.so
Include "/Java/projects/kuali_erd/python/mysite/apache/
apache_django_wsgi.conf"

#apache_django_wsgi.conf
Listen *:10000
<VirtualHost *:10000>
    DocumentRoot /Java/projects/kuali_erd/python

    <Directory /Java/projects/kuali_erd/python>
        Order allow,deny
        Allow from all
    </Directory>

    WSGIScriptAlias / "/Java/projects/kuali_erd/python/mysite/apache/
django.wsgi"

</VirtualHost>

-----

Thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to