@
keakon不好意思。。第一个错误是这样的。
Traceback (most recent call last): File "/base/data/home/apps/s~mclnote/blog.354797217863749499/
yui.py", line 1372, in __call__ handler.get(*groups, **groupdict) File "/base/data/home/apps/s~mclnote/blog.354797217863749499/
yui.py", line 1624, in cache_handler handler(self, *args, **kw) File "/base/data/home/apps/s~mclnote/blog.354797217863749499/
view.py", line 19, in get articles, next_cursor = Article.get_articles_for_homepage(cursor) File "/base/data/home/apps/s~mclnote/blog.354797217863749499/
common.py", line 425, in cached_func value = func(*args, **kw) File "/base/data/home/apps/s~mclnote/blog.354797217863749499/
model.py", line 342, in get_articles_for_homepage articles, cursor = get_fetch_result_with_valid_cursor(query_with_cursor(query, cursor), fetch_limit, config=EVENTUAL_CONSISTENCY_CONFIG) File "/base/data/home/apps/s~mclnote/blog.354797217863749499/
common.py", line 432, in get_fetch_result_with_valid_cursor entities = query.fetch(fetch_limit, config=config) File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 2102, in fetch raw = raw_query.Get(limit, offset, config=config) File "/base/python_runtime/python_lib/versions/1/google/appengine/api/
datastore.py", line 1673, in Get batch = batcher.next_batch(limit) 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: no matching index found. The suggested index for this query is: - kind: Article properties: - name: published - name: time direction: desc
第二个LOG太多了。。帖不完的~~ :-)