这是一个创建于 5205 天前的主题,其中的信息可能已经有所发展或是发生改变。
小白提问,装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
4 条回复 • 1970-01-01 08:00:00 +08:00
|
|
1
Livid 2010-08-22 17:17:52 +08:00
第一次运行的时候,要等待 GAE 构建数据库索引。
|
|
|
2
horse 2010-08-22 17:19:12 +08:00
哦。收到
|
|
|
3
iugo 2010-08-22 18:33:55 +08:00
嗯。Project Babel 也是一样的。。。
难道所有GAE都是一样的?
|
|
|
4
iwinux 2010-08-22 18:54:49 +08:00
@ Livid 请问这些索引可以手工添加进 index.yaml 吗?
|