chinasb

GAE部署V2EX一日了,怎么还在索引数据库?如下

  •  
  •   chinasb · Oct 28, 2010 · 11209 views
    This topic created in 5854 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/v2ping/1.345793633376194920/main.py", line 203, 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 1178, in _Run
    rpc=rpc)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 1211, in _RunInternal
    str(exc) + '\nThis query needs this index:\n' + yaml)
    NeedIndexError: no matching index found.
    This query needs this index:
    - kind: Node
    properties:
    - name: category
    - name: topics
    direction: desc
    5 replies  •  1970-01-01 08:00:00 +08:00
    billychow
    billychow
    Oct 28, 2010
    1
    不是在,而是缺少这个索引,你检查一下,没有的话加上。
    chinasb
    chinasb
    OP
    Oct 28, 2010
    2
    @billychow 直接用git下载的,不会有少吧...T_T
    chinasb
    chinasb
    OP
    Oct 28, 2010
    3
    @billychow 检查index.yaml里有这个index啊
    chinasb
    chinasb
    OP
    Oct 28, 2010
    4
    好了,我重新布署第二个应用就OK了,结贴。呵呵
    k_angel
    k_angel
    Mar 24, 2011
    5
    @chinasb 我的直接显示hello world,两日了,好还没有建数据库,问一个很弱的没问题,怎么知道Google是不是在建立数据库?第二个应用刚刚部署完毕,也不能显示。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1199 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 16:48 · PVG 00:48 · LAX 08:48 · JFK 11:48
    ♥ Do have faith in what you're doing.