安装报错

2010-08-22 17:16:02 +08:00
 horse
小白提问,装picky在zhanbin.appspot.com出错

Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 511, in __call__
handler.get(*groups)
File "/base/data/home/apps/zhanbin/1.344259933651252454/main.py", line 52, in get
template_values['articles_total'] = articles.count()
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 1818, in count
result = raw_query.Count(limit=limit, rpc=rpc)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 1275, in Count
iterator = self._Run(limit=0, offset=offset, **kwargs)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 1188, in _Run
str(exc) + '\nThis query needs this index:\n' + yaml)
NeedIndexError: The index for this query is not ready to serve. See the Datastore Indexes page in the Admin Console.
This query needs this index:
- kind: Article
properties:
- name: is_page
- name: created
direction: desc
5000 次点击
所在节点    Project Picky
4 条回复
Livid
2010-08-22 17:17:52 +08:00
第一次运行的时候,要等待 GAE 构建数据库索引。
horse
2010-08-22 17:19:12 +08:00
哦。收到
iugo
2010-08-22 18:33:55 +08:00
嗯。Project Babel 也是一样的。。。

难道所有GAE都是一样的?
iwinux
2010-08-22 18:54:49 +08:00
@Livid 请问这些索引可以手工添加进 index.yaml 吗?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1942

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX