【发布时间】:2010-12-07 17:29:00
【问题描述】:
我目前在我的应用引擎应用程序上遇到需求索引错误:http://www.gaiagps.com/wiki/home。我相信这个索引应该是由我的 index.yaml 文件自动创建的(见下文)。
谷歌搜索了一下,我想我只需要等待我的索引建立。这是正确的,还是我需要手动做一些事情?是否有某种索引构建队列?我的桌子现在非常非常小。
编辑:我在 app.yaml 中添加了“indexes:”行,现在应用引擎报告索引正在构建,所以我认为这是固定的。奇怪的是这个文件是错误的,因为我从来没有接触过它。
indexes:
# AUTOGENERATED
# This index.yaml is automatically updated whenever the dev_appserver
# detects that a new type of query is run. If you want to manage the
# index.yaml file manually, remove the above marker line (the line
# saying "# AUTOGENERATED"). If you want to manage some indexes
# manually, move them above the marker line. The index.yaml file is
# automatically uploaded to the admin console when you next deploy
# your application using appcfg.py.
- kind: Revision
properties:
- name: name
- name: created
该应用可以在我的开发服务器上运行,但不能在生产环境中运行。但是,在我的开发控制台上,我注意到了这个错误(编辑:这个错误现在我已经添加了索引:到上面的 app.yaml 文件):
ERROR 2009-10-18 04:46:51,908 dev_appserver_index.py:176] Error parsing /gaiagps.com/index.yaml:
'NoneType' object is not callable
in "<string>", line 13, column 3:
- kind: Revision
^
【问题讨论】:
-
为什么有人要结束这个问题?