Ok, Django is installed and my vhosts.conf is successfully sending
requests to Django. But now when I try to go to my site I get this
error:

Mod_python error: "PythonHandler django.core.handlers.modpython"

Traceback (most recent call last):

  File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
    result = object(req)

  File "/usr/lib/python2.3/site-packages/django/core/handlers/
modpython.py", line 188, in handler
    return ModPythonHandler()(req)

  File "/usr/lib/python2.3/site-packages/django/core/handlers/
modpython.py", line 161, in __call__
    response = self.get_response(request)

  File "/usr/lib/python2.3/site-packages/django/core/handlers/
base.py", line 64, in get_response
    response = middleware_method(request)

  File "/usr/lib/python2.3/site-packages/django/contrib/sessions/
middleware.py", line 15, in process_request
    request.session = engine.SessionStore(session_key)

AttributeError: 'module' object has no attribute 'SessionStore'

I'm using the latest trunk from svn. Hours and hours of debugging has
led me to think that this is somehow caused by a bad MySQLDB install,
but I don't know how I could possibly have screwed that up as I just
downloaded the source and ran the install script... Perhaps also worth
mentioning, is that if I don't put 'SetEnv PYTHON_EGG_CACHE /home/
django/.python-eggs' in my vhosts.conf I get errors saying that /
root/.python-eggs is unreadable, though I have no idea why it should
be trying to get at anything in /root.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django 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/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to