Open prim opened 12 years ago
if request.method == 'POST':
<input type="text" emptyvalue="Email" class="empty" name="email" id="email" />
from lib.indextank.client import ApiClient, IndexAlreadyExists, TooManyIndexes, InvalidDefinition, InvalidQuery
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/django/core/servers/basehttp.py", line 280, in run
self.result = application(self.environ, self.start_response)
File "/usr/lib/pymodules/python2.6/django/core/servers/basehttp.py", line 674, in __call__
return self.application(environ, start_response)
File "/usr/lib/pymodules/python2.6/django/core/handlers/wsgi.py", line 241, in __call__
response = self.get_response(request)
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 130, in get_response
return self.handle_uncaught_exception(request, resolver, sys.exc_info())
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 180, in handle_uncaught_exception
return callback(request, **param_dict)
File "/usr/lib/pymodules/python2.6/django/views/defaults.py", line 23, in server_error
t = loader.get_template(template_name) # You need to create a 500.html template.
File "/usr/lib/pymodules/python2.6/django/template/loader.py", line 157, in get_template
template, origin = find_template(template_name)
File "/usr/lib/pymodules/python2.6/django/template/loader.py", line 138, in find_template
raise TemplateDoesNotExist(name)
TemplateDoesNotExist: 500.html
[10/Jan/2012 14:48:02] "GET http://dottr.api.indextank.com/v1/indexes/test_index HTTP/1.1" 500 1273
I just added the missing js back. We removed it when we disabled new signups on indextank.com, and forgot to enable it back.
The commit with the change is 8909646
Er, how to handle the api server 500? It seems always get a uncaught exception.
mmm that looks like:
Is that the only error you get on the API log ? Don't you get an error before that? Maybe on /data/logs/apierrors.log ?