V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
chinasb
V2EX  ›  Project Babel

为什么我的程序会出现这样的错误?

  •  
  •   chinasb · 2010-10-27 20:55:52 +08:00 · 4753 次点击
    这是一个创建于 5141 天前的主题,其中的信息可能已经有所发展或是发生改变。
    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/member.py", line 68, in get
    for reply in q3:
    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 2365, in run
    **kwargs))
    File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 1849, in fetch
    raw = raw_query.Get(limit, offset, rpc=rpc)
    File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 1269, in Get
    limit=limit, offset=offset, prefetch_count=limit, **kwargs)._Get(limit)
    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: Reply
    properties:
    - name: member_num
    - name: created
    direction: desc
    4 条回复    1970-01-01 08:00:00 +08:00
    fanzeyi
        1
    fanzeyi  
       2010-10-27 21:04:26 +08:00
    等GAE创建数据库
    fanzeyi
        2
    fanzeyi  
       2010-10-27 21:04:58 +08:00
    又一个新的V2EX诞生。。
    chinasb
        3
    chinasb  
    OP
       2010-10-27 21:26:21 +08:00
    多谢指点
    chinasb
        4
    chinasb  
    OP
       2010-10-28 09:36:34 +08:00
    @fanzeyi 等了一天了,怎么还在创建数据库?有问题?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2786 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 07:51 · PVG 15:51 · LAX 23:51 · JFK 02:51
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.