首页   注册   登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Get latest source code from:
http://github.com/livid/v2ex
产品介绍及下载
http://www.v2ex.com/cn
已知问题列表
http://www.v2ex.com/cn/known_issues.html
开发计划
https://github.com/livid/v2ex/wiki/Plan
推荐学习书目
Python Cookbook
Using Google App Engine
V2EX  ›  Project Babel

点击用户名之后出现的错误信息

  •  
  •   FRHong · 2013-12-22 19:03:45 +08:00 · 2817 次点击
    这是一个创建于 2122 天前的主题,其中的信息可能已经有所发展或是发生改变。
    大家好。想请教一下如果出现下面这种错误信息的时候应该怎么解决?谢谢
    ----
    Traceback (most recent call last):
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 714, in __call__
    handler.get(*groups)
    File "/base/data/home/apps/theukrice/1.372510478440770934/member.py", line 82, in get
    if blog.count() > 0:
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2133, in count
    result = raw_query.Count(limit=limit, **kwargs)
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/api/datastore.py", line 1721, in Count
    batch = self.GetBatcher(config=config).next()
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2753, in next
    return self.next_batch(self.AT_LEAST_ONE)
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2790, in next_batch
    batch = self.__next_batch.get_result()
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 612, in get_result
    return self.__get_result_hook(self)
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2542, in __query_result_hook
    yaml_index=yaml, xml_index=xml)
    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: Topic
    properties:
    - name: member_num
    - name: node_name
    - name: created
    direction: desc
    -----
    是每次点击进入一个用户名的时候就会出现。
    1 回复  |  直到 1970-01-01 08:00:00 +08:00
        1
    FRHong   2013-12-22 19:14:45 +08:00
    在后台修改了一个好像叫 [模板] 的东西之后,又出现了问题。现在整个站点都不能访问 :( 希望高手指点一下。

    ----
    Traceback (most recent call last):
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 714, in __call__
    handler.get(*groups)
    File "/base/data/home/apps/theukrice/1.372510694805152513/main.py", line 60, in get
    site = GetSite()
    File "/base/data/home/apps/theukrice/1.372510694805152513/v2ex/babel/da/__init__.py", line 127, in GetSite
    site = q[0]
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2282, in __getitem__
    results = self.fetch(1, arg)
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2157, in fetch
    return list(self.run(limit=limit, offset=offset, **kwargs))
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2326, in next
    return self.__model_class.from_entity(self.__iterator.next())
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 1438, in from_entity
    return cls(None, _from_entity=entity, **entity_values)
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 970, in __init__
    prop.__set__(self, value)
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 614, in __set__
    value = self.validate(value)
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 3238, in validate
    value = super(IntegerProperty, self).validate(value)
    File "/base/data/home/runtimes/python/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 641, in validate
    raise BadValueError('Property %s is required' % self.name)
    BadValueError: Property data_migration_mode is required
    关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   4567 人在线   最高记录 5043   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.3 · 21ms · UTC 02:01 · PVG 10:01 · LAX 19:01 · JFK 22:01
    ♥ Do have faith in what you're doing.