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

2013-12-22 19:03:45 +08:00
 FRHong
大家好。想请教一下如果出现下面这种错误信息的时候应该怎么解决?谢谢
----
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
-----
是每次点击进入一个用户名的时候就会出现。
4648 次点击
所在节点    Project Babel
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

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/94159

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX