我目前在我的應用引擎應用程序上發現需求索引錯誤: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
^
爲什麼會有人想關閉這個問題? – 2009-10-18 04:50:53
你不能刪除它嗎? – 2009-10-18 13:53:41