I can only get this error to show up if DEBUG is set to False, but it
happens consistently when debugging is off.

MOD_PYTHON ERROR

ProcessId:      10229
Interpreter:    'webfaction.com'

ServerName:     'webfaction.com'
DocumentRoot:   '/home/user/webapps/mysite/django_static'

URI:            '/admin/'
Location:       '/'
Directory:      None
Filename:       '/home/user/webapps/mysite/django_static/admin'
PathInfo:       '/'

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

Traceback (most recent call last):

  File "/home/user/lib/python2.5/mod_python/importer.py", line 1537,
in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

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

  File "/home/user/lib/python2.5/mod_python/importer.py", line 1128,
in _execute_target
    result = object(arg)

  File "/home/user/lib/python2.5/django/core/handlers/modpython.py",
line 222, in handler
    return ModPythonHandler()(req)

  File "/home/user/lib/python2.5/django/core/handlers/modpython.py",
line 195, in __call__
    response = self.get_response(request)

  File "/home/user/lib/python2.5/django/core/handlers/base.py", line
128, in get_response
    return self.handle_uncaught_exception(request, resolver, exc_info)

  File "/home/user/lib/python2.5/django/core/handlers/base.py", line
160, in handle_uncaught_exception
    return callback(request, **param_dict)

  File "/home/user/lib/python2.5/django/views/defaults.py", line 88,
in server_error
    t = loader.get_template(template_name) # You need to create a
500.html template.

  File "/home/user/webapps/mysite/django_projects/bretwcom/
__init__.py", line 11, in cached_get_template
    template_cache[template_name] = t =
original_get_template(template_name)

  File "/home/user/webapps/mysite/django_projects/bretwcom/
__init__.py", line 11, in cached_get_template
    template_cache[template_name] = t =
original_get_template(template_name)

  File "/home/user/lib/python2.5/django/template/loader.py", line 80,
in get_template
    source, origin = find_template_source(template_name)

  File "/home/user/lib/python2.5/django/template/loader.py", line 73,
in find_template_source
    raise TemplateDoesNotExist, name

TemplateDoesNotExist: 500.html

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Nothing shows up in the Apache log, and since
django.views.defaults.server_error passes an empty Context object, the
only way I can see what's happening is to have mod_python throw the
error.

Does anyone know why this is happening?  Any leads would be
appreciated.

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