Thanks, Ian, for trying.  Following your recommendation to
        SetEnv DJANGO_SETTINGS_MODULE myproject.settings
then on the first try the error message becomes:
--------------------
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 276, in 
HandlerDispatch
     newpath = eval(pathstring)

   File "", line 0, in ?

TypeError: can only concatenate list (not "str") to list

-------------------- and on second refresh I get:

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-0.91-py2.3.egg/django/core/handlers/modpython.py",
 line 165, in handler
     return ModPythonHandler()(req)

   File 
"/usr/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/handlers/modpython.py",
 line 130, in __call__
     from django.conf import settings

   File 
"/usr/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/conf/settings.py",
 line 34, in ?
     raise EnvironmentError, "Could not import %s '%s' (is it on sys.path?): 
%s" % (ENVIRONMENT_VARIABLE, me.SETTINGS_MODULE, e)

EnvironmentError: Could not import DJANGO_SETTINGS_MODULE 'myproject.settings' 
(is it on sys.path?): No module named myproject.settings

-------------------- and on third refresh I get:

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-0.91-py2.3.egg/django/core/handlers/modpython.py",
 line 165, in handler
     return ModPythonHandler()(req)

   File 
"/usr/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/handlers/modpython.py",
 line 135, in __call__
     self.load_middleware()

   File 
"/usr/lib/python2.3/site-packages/Django-0.91-py2.3.egg/django/core/handlers/base.py",
 line 28, in load_middleware
     raise exceptions.ImproperlyConfigured, 'Error importing middleware %s: 
"%s"' % (mw_module, e)

ImproperlyConfigured: Error importing middleware django.middleware.sessions: 
"No module named myproject"

----------------------------
Eventually things settle down to emitting a SessionMiddleware message similar
to what is shown in my earlier plea.

Any other ideas?  Places where I might have done something really dumb?
Ways to keep me out of zope hell?  Would be appreciated...

        -frank


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to