Hi there! I'm getting random IndexErrors. This has risen when loading templatetags, or just when applying a filter to a var in a template. The traceback doesn't mean much to me, and I'm pretty unsure what may have been the reason for this error.
Any help? Mod_python error: "PythonHandler django.core.handlers.modpython" Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 178, in handler return ModPythonHandler()(req) File "/usr/lib/python2.5/site-packages/django/core/handlers/modpython.py", line 151, in __call__ response = self.get_response(request) File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py", line 111, in get_response return debug.technical_500_response(request, *sys.exc_info()) File "/usr/lib/python2.5/site-packages/django/views/debug.py", line 104, in technical_500_response pre_context_lineno, pre_context, context_line, post_context = _get_lines_from_file(filename, lineno, 7, loader, module_name) File "/usr/lib/python2.5/site-packages/django/views/debug.py", line 209, in _get_lines_from_file context_line = source[lineno].strip('\n') IndexError: list index out of range
signature.asc
Description: OpenPGP digital signature