Hello all,
I'm not for sure what this error is all about. I had django up and
running with out flaw for quite a while but last night I decided to
svn update my django source and that's when it seemed to flip out
giving me this error message. Also I have have a script that I run
from time to time that removes pyc file so I don't know if there is
some sort of conflict there assuming not.

Currently I am using ubuntu 7.10 with apache/django/postgres and
python 2.5.1

Help would be aprociated
Thanks in advance!

MOD_PYTHON ERROR

ProcessId:      12752
Interpreter:    'django.xyz.net'

ServerName:     'django.xyz.net'
DocumentRoot:   '/htdocs'

URI:            '/blogger/'
Location:       '/'
Directory:      None
Filename:       '/htdocs'
PathInfo:       '/blogger/'

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

Traceback (most recent call last):

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1229, in _process_target
    result = _execute_target(config, req, object, arg)

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line
1128, in _execute_target
    result = object(arg)

  File "/srv/django-0.96-current/django/core/handlers/modpython.py",
line 187, in handler
    return ModPythonHandler()(req)

  File "/srv/django-0.96-current/django/core/handlers/modpython.py",
line 151, in __call__
    self.load_middleware()

  File "/srv/django-0.96-current/django/core/handlers/base.py", line
26, in load_middleware
    for middleware_path in settings.MIDDLEWARE_CLASSES:

  File "/srv/django-0.96-current/django/conf/__init__.py", line 28, in
__getattr__
    self._import_settings()

  File "/srv/django-0.96-current/django/conf/__init__.py", line 57, in
_import_settings
    self._target = Settings(settings_module)

  File "/srv/django-0.96-current/django/conf/__init__.py", line 85, in
__init__
    raise EnvironmentError, "Could not import settings '%s' (Is it on
sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE,
e)

EnvironmentError: Could not import settings 'django_site.settings' (Is
it on sys.path? Does it have syntax errors?): No module named settings

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to