I tried running the python code from the passenger_wsgi.py manually to
see if there were any issues.
When I got down to
import gluon.main
I got:
WARNING:root:unable to import dbhash
issues???
My passenger_wsgi.py / wsgihandler.py code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
This is a WSGI handler for Apache
Requires apache+mod_wsgi.
In httpd.conf put something like:
LoadModule wsgi_module modules/mod_wsgi.so
WSGIScriptAlias / /path/to/wsgihandler.py
"""
import sys
import os
INTERP = "/home/jesdavid/opt/bin/python2.5"
if sys.executable != INTERP: os.execl(INTERP, INTERP, *sys.arg)
sys.path.insert(0, '')
path = os.path.dirname(os.path.abspath(__file__))
if not path in sys.path:
sys.path.append(path)
os.chdir(path)
import gluon.main
from gluon.contrib.wsgihooks import ExecuteOnCompletion2, callback
application = ExecuteOnCompletion2(gluon.main.wsgibase, callback)
--
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en.