V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
faydao

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

  •  
  •   faydao · Sep 9, 2010 · 6248 views
    This topic created in 5721 days ago, the information mentioned may be changed or developed.
    上传完毕,首页出现:

    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 replies    1970-01-01 08:00:00 +08:00
    faydao
        1
    faydao  
    OP
       Sep 9, 2010
    搜索了一下NeedIndexError,发现真如我所料。。。

    PS.V2EX能编辑自己发表过的主题么?
    dimlau
        2
    dimlau  
       Sep 9, 2010
    faydao
        3
    faydao  
    OP
       Sep 9, 2010
    2个小时45分钟过去了。。依然是Needindexerror
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2792 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 01:40 · PVG 09:40 · LAX 18:40 · JFK 21:40
    ♥ Do have faith in what you're doing.