小白提问,装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
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/1942
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.