Google App Engine The url "/" does not match any handlers error
I am trying to run a program from https://github.com/rutherford/nltk-gae because I want to use NLTK in Google App Engine. I copied necessary files to the folder and when I run I get this error "The url "/" does not match any handlers." I think something wrong in my app.yaml configuration. Please help me to find out the problem, thanks.
my python code
app.yaml
I changed it but still not working
application: nltkforappengine version: 0-1 runtime: python27 api_version: 1 threadsafe: true handlers: - url: /favicon.ico static_files: favicon.gif upload: favicon.gif - url: /nltk.* script: nltker.application - url: /.* script: nltker.application libraries: - name: numpy version: "1.6.1"
There's a handler for '/nltk' (thats what line 12-13 of app.yaml
do, supported by the WSGIApplication
configuration at the bottom of nltker.py
).
There is no handler specified for '/'.
From a quick glance at the code, it looks like the author's intent is that you use /nltk
as a starting point.
you need to type the full url to get it to work ie
127.0.0.1:8080/ntlk
otherwise u get an error
链接地址: http://www.djcxy.com/p/91620.html