Hi most of my install problems have been solved, but I keep getting
this message on all me wsgi files: child pid 98608 exit signal Trace/
BPT trap (5)

This works fine
import sys, os
def application(environ, start_response):
    status = '200 OK'
    output = 'Hello World!'
    print >> environ['wsgi.errors'], "application debug #1"
    response_headers = [('Content-type', 'text/plain'),
                        ('Content-Length', str(len(output)))]
    start_response(status, response_headers)
    print >> environ['wsgi.errors'], "application debug #2"
    return [output]

But I simple Trac wsgi file does not

import sys
sys.stdout = sys.stderr

import os
os.environ['TRAC_ENV'] = '/Users/jstates/Sites/Trac/theirry'
os.environ['PYTHON_EGG_CACHE'] = '/Users/jstates/Sites/Trac/theirry/
eggs'
import trac.web.main
application = trac.web.main.dispatch_request

Does that wsgi startup look correct, or what am I doing wrong?

Big thanks so far Graham!
Jay
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to