horse

安装报错

  •  
  •   horse · Aug 22, 2010 · 6311 views
    This topic created in 5917 days ago, the information mentioned may be changed or developed.
    小白提问,装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
    4 replies  •  1970-01-01 08:00:00 +08:00
    Livid
    Livid
    MOD
    PRO
    Aug 22, 2010
    1
    第一次运行的时候,要等待 GAE 构建数据库索引。
    horse
    horse
    OP
    Aug 22, 2010
    2
    哦。收到
    iugo
    iugo
    Aug 22, 2010
    3
    嗯。Project Babel 也是一样的。。。

    难道所有GAE都是一样的?
    iwinux
    iwinux
    Aug 22, 2010
    4
    @Livid 请问这些索引可以手工添加进 index.yaml 吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4851 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 07:27 · PVG 15:27 · LAX 23:27 · JFK 02:27
    ♥ Do have faith in what you're doing.