Google App引擎需要索引错误
问题描述:
我目前在我的应用引擎应用程序上发现需求索引错误:http://www.gaiagps.com/wiki/home。我相信这个索引应该是由我的index.yaml文件自动创建的(见下文)。Google App引擎需要索引错误
使用Google搜索一下,我想我只需要等待索引建立。这是正确的,还是我需要手动执行某些操作?有没有某种索引建立队列?我的桌子现在非常非常小。
编辑:我添加了行“索引:”到我的app.yaml,现在应用引擎报告索引正在建设,所以我认为这是固定的。考虑到我从来没有碰过这个文件,这个文件是错误的,这很奇怪。
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
^
答
我相信你需要将索引添加到您的app.yaml文件中。此外,当您推送到AppEngine时,需要一段时间才能生成索引,因为您的索引建立请求将与其他人一起被简单地放入工作队列中。
答
指标不包括在app.yaml文件,他们需要在index.yaml中去
答
出现此错误,如果index.yaml中的第一行,其中应该有只是“索引:”上它从第1列开始,已被删除。
答
delete 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.
这条线,因为当u自动写这行,然后Web服务器的发展模式上的每一列创建索引和你提乌尔指标应指定coloumn
为什么会有人想关闭这个问题? – 2009-10-18 04:50:53
你不能删除它吗? – 2009-10-18 13:53:41