【发布时间】:2011-02-24 11:17:01
【问题描述】:
我在 aptana studio 3 和 pydev 中使用谷歌应用引擎 python;
调试配置为:
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
当我去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
有什么问题?
【问题讨论】:
-
在浏览器中发送请求后,开发服务器控制台中是否打印出任何附加信息?一般来说,如果有问题,会在那里打印有用的信息。