大家好。想请教一下如果出现下面这种错误信息的时候应该怎么解决?谢谢
----
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
-----
是每次点击进入一个用户名的时候就会出现。
----
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
-----
是每次点击进入一个用户名的时候就会出现。