V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
faydao
V2EX  ›  Project Babel

出现 NeedIndexError,是不是要等索引完毕?

  •  
  •   faydao · 2010-09-09 11:02:47 +08:00 · 5458 次点击
    这是一个创建于 4976 天前的主题,其中的信息可能已经有所发展或是发生改变。
    上传完毕,首页出现:

    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/putoor/1.344671389517718388/main.py", line 174, in get
    for node in qx:
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 1786, in __iter__
    return self.run()
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2367, in run
    results = _BaseQuery.run(self, **kwargs)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 1770, in run
    iterator = raw_query.Run(rpc=rpc)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 1151, in Run
    return self._Run(**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: Node
    properties:
    - name: category
    - name: topics
    direction: desc

    ——————————————————What can I do? wait?_________________________
    3 条回复    1970-01-01 08:00:00 +08:00
    faydao
        1
    faydao  
    OP
       2010-09-09 11:06:06 +08:00
    搜索了一下NeedIndexError,发现真如我所料。。。

    PS.V2EX能编辑自己发表过的主题么?
    dimlau
        2
    dimlau  
       2010-09-09 12:35:19 +08:00
    faydao
        3
    faydao  
    OP
       2010-09-09 13:49:02 +08:00
    2个小时45分钟过去了。。依然是Needindexerror
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1055 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 22:28 · PVG 06:28 · LAX 15:28 · JFK 18:28
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.