Google app engine 当我打开我的http://localhost:9999/ 找不到该页面;有什么问题?
我使用谷歌应用程序引擎python和AptanaStudio 3和pydev 调试配置为:Google app engine 当我打开我的http://localhost:9999/ 找不到该页面;有什么问题?,google-app-engine,Google App Engine,我使用谷歌应用程序引擎python和AptanaStudio 3和pydev 调试配置为: mainmodule: C:\Program Files\Google\google_appengine\dev_appserver.py 论据: "${project_loc:test}/src" --port=9999 控制台是: pydev debugger: warning: psyco not available for speedups (the debugger will still w
mainmodule: C:\Program Files\Google\google_appengine\dev_appserver.py
论据:
"${project_loc:test}/src"
--port=9999
控制台是:
pydev debugger: warning: psyco not available for speedups (the debugger will still work correctly, but a bit slower)
pydev debugger: starting
WARNING 2011-02-24 11:11:09,447 urlfetch_stub.py:74] No ssl package found. urlfetch will not be able to validate SSL certificates.
INFO 2011-02-24 11:11:09,665 appengine_rpc.py:153] Server: appengine.google.com
WARNING 2011-02-24 11:11:09,691 datastore_file_stub.py:573] Could not read datastore data from C:\Users\Psoares\Desktop\outros\WEB DEV\Rubete 2010 Survey\ds
WARNING 2011-02-24 11:11:09,703 dev_appserver.py:3700] Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: No module named _imaging
INFO 2011-02-24 11:11:09,726 dev_appserver_main.py:507] Running application rubete2010survey on port 9999: http://localhost:9999
当我去的时候;找不到该页面
app.yaml是:
application: rubete2010survey
version: 1
runtime: python
api_version: 1
handlers:
- url: /.*
script: main.py
main.py是:
print 'Content-Type: text/plain'
print ''
print 'Hello, world!'
它们在同一个文件夹中;测试/src
有什么问题吗?试试:如果可行,请将
localhost
添加到hosts
文件。在浏览器中发送请求后,是否在development server控制台中打印出任何其他信息?一般来说,如果有问题,有用的信息将打印在那里。
pip install pil
pip install ssl