horse

安装报错

  •  
  •   horse · Aug 22, 2010 · 5959 views
    This topic created in 5769 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
        1
    Livid  
    MOD
    PRO
       Aug 22, 2010
    第一次运行的时候,要等待 GAE 构建数据库索引。
    horse
        2
    horse  
    OP
       Aug 22, 2010
    哦。收到
    iugo
        3
    iugo  
       Aug 22, 2010
    嗯。Project Babel 也是一样的。。。

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