santoshmodi / mukioplayer

Automatically exported from code.google.com/p/mukioplayer
0 stars 0 forks source link

按照部署指导部署完后提示INDEX错误 #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
根据首页中的简易部署指南,部署完之后,尝试添加文章
提示:
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/drasy-test/1.342431131768659268/main.py", line
226, in get
    arts = Article.all().order('-postdate').filter('classify
=',cls).fetch(PAGESIZE+1)
  File
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py"
,
line 1675, in fetch
    raw = raw_query.Get(limit, offset, rpc=rpc)
  File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py",
line 1240, in Get
    limit=limit, offset=offset, prefetch_count=limit, **kwargs)._Get(limit)
  File
"/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py",
line 1175, 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: classify
  - name: postdate
    direction: desc
而进入DATASTORE INDEX页面后发现创建的8个index状态均为building
请问如何解决此类问题啊?我在本地运行正常
谢谢

Original issue reported on code.google.com by hoshino...@126.com on 4 Jun 2010 at 12:56

GoogleCodeExporter commented 8 years ago
等待一下就会正常的.
参考:http://code.google.com/appengine/articles/index_building.html

Original comment by mukioplay on 8 Jun 2010 at 4:08

GoogleCodeExporter commented 8 years ago

Original comment by lanfan.1987@gmail.com on 2 Mar 2012 at 3:41