Here is the error message. I've googled everywhere and tried
everything, so anybody got any ideas. mod_python, leopard 10.5.X, Mac
Intel

MOD_PYTHON ERROR

ProcessId:      800
Interpreter:    'teachingbystandards.com'

ServerName:     'teachingbystandards.com'
DocumentRoot:   '/Library/WebServer/Documents/educate'

URI:            '/'
Location:       '/'
Directory:      None
Filename:       '/Library/WebServer/Documents/educate/'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'django.core.handlers.modpython'

Traceback (most recent call last):

  File "/Library/Python/2.5/site-packages/mod_python/importer.py",
line 1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/Library/Python/2.5/site-packages/mod_python/importer.py",
line 1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/Library/Python/2.5/site-packages/mod_python/importer.py",
line 1128, in _execute_target
    result = object(arg)

  File "/Library/Python/2.5/site-packages/django/core/handlers/
modpython.py", line 228, in handler
    return ModPythonHandler()(req)

  File "/Library/Python/2.5/site-packages/django/core/handlers/
modpython.py", line 201, in __call__
    response = self.get_response(request)

  File "/Library/Python/2.5/site-packages/django/core/handlers/
base.py", line 67, in get_response
    response = middleware_method(request)

  File "/Library/Python/2.5/site-packages/django/contrib/sessions/
middleware.py", line 9, in process_request
    engine = __import__(settings.SESSION_ENGINE, {}, {}, [''])

  File "/Library/Python/2.5/site-packages/django/contrib/sessions/
backends/db.py", line 2, in <module>
    from django.contrib.sessions.models import Session

  File "/Library/Python/2.5/site-packages/django/contrib/sessions/
models.py", line 4, in <module>
    from django.db import models

  File "/Library/Python/2.5/site-packages/django/db/__init__.py", line
16, in <module>
    backend = __import__('%s%s.base' % (_import_path,
settings.DATABASE_ENGINE), {}, {}, [''])

  File "/Library/Python/2.5/site-packages/django/db/backends/
postgresql_psycopg2/base.py", line 20, in <module>
    raise ImproperlyConfigured("Error loading psycopg2 module: %s" %
e)

ImproperlyConfigured: Error loading psycopg2 module: cannot import
name tz

--~--~---------~--~----~------------~-------~--~----~
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