Comments (6)
- I do things like theres, remove is_ajax() check : https://github.com/linkedin/indextank-service/blob/master/storefront/views.py line 290
if request.method == 'POST':
- Add "email" to name, https://github.com/linkedin/indextank-service/blob/master/storefront/templates/get_started.html
<input type="text" emptyvalue="Email" class="empty" name="email" id="email" />
- Change some email address in code, create a account now... :)
from indextank-service.
from lib.indextank.client import ApiClient, IndexAlreadyExists, TooManyIndexes, InvalidDefinition, InvalidQuery
- I change all "lib.indextank.client" to "indextank.client", I have setup the python client, Do I did it right?
from indextank-service.
- Here are so many "indextank.com" write in code, so I use dnsmasq to make "indextank.com" point to my machine.
- Run api server on port 80
- But still cant run REST api server in the right way. When I try to create a index on page "127.0.0.1:8080/dashboard", api server always give me useless trackback, can find out where go wrong.
- Here is the account info:
http://:[email protected]
http://dottr.api.indextank.com
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
from indextank-service.
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
from indextank-service.
Er, how to handle the api server 500? It seems always get a uncaught exception.
from indextank-service.
mmm that looks like:
- you are getting an error while creating the index
- there's no template for status 500 to render that error
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 ?
from indextank-service.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indextank-service.