V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
DAOCLOUD
推荐学习书目
Python Cookbook
Using Google App Engine
推荐下载
Latest Google App Engine SDK
其他兼容技术
AppScale
dbfox
V2EX  ›  Google App Engine

GAE 部署Project Picky 出现问题,而本地 http://localhost:8080/ 可以 访问

  •  
  •   dbfox · 2011-08-27 16:14:30 +08:00 · 3781 次点击
    这是一个创建于 4835 天前的主题,其中的信息可能已经有所发展或是发生改变。
    Checking if updated app version is serving.
    Completed update of app: fox-idea, version: 1
    Uploading index definitions.
    Error 400: --- begin server output ---
    Cannot build indexes that are in state ERROR.

    To vacuum and rebuild your indexes:
    1. Create a backup of your index.yaml specification.
    2. Determine the indexes in state ERROR from your admin console: https://appengine.google.com/datastore/indexes?&app_id=s~fox-idea
    3. Remove the definitions of the indexes in ERROR from your index.yaml file.
    4. Run "appcfg.py vacuum_indexes your_app_dir/"
    5. Wait until the ERROR indexes no longer appear in your admin console.
    6. Replace the modified version of your index.yaml file with the original.
    7. Run "appcfg.py update_indexes your_app_dir/"
    --- end server output ---
    Your app was updated, but there was an error updating your indexes. Please retry later with appcfg.py update_indexes.
    2011-08-27 16:13:42 (Process exited with code 0)









    Traceback (most recent call last):



    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 701, in __call__
    handler.get(*groups)
    File "/base/data/home/apps/s~fox-idea/1.352840145714969083/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 2038, in count
    result = raw_query.Count(limit=limit, config=config)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 1675, in Count
    batch = self.GetBatcher(config=config).next()
    File "/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2525, in next
    return self.next_batch(self.AT_LEAST_ONE)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2562, in next_batch
    batch = self.__next_batch.get_result()
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 592, in get_result
    return self.__get_result_hook(self)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2324, in __query_result_hook
    str(exc) + '\nThe suggested index for this query is:\n' + yaml)
    NeedIndexError: The index for this query is not ready to serve. See the Datastore Indexes page in the Admin Console.
    The suggested index for this query is:
    - kind: Article
    properties:
    - name: is_page
    - name: created
    direction: desc
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   982 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 21:59 · PVG 05:59 · LAX 13:59 · JFK 16:59
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.