Hi, Yesterday I received this error in a function that queried the datastore
Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py", line 501, in __call__ handler.get(*groups) File "/base/data/home/apps/taksee-2/1.333100565109818741/rest/ appengine.py", line 46, in get self.dispatch_request() File "/base/data/home/apps/taksee-2/1.333100565109818741/rest/ appengine.py", line 74, in dispatch_request obj = self.dispatch(self.request.path, self.request.method, params) File "/base/data/home/apps/taksee-2/1.333100565109818741/rest/ __init__.py", line 95, in dispatch out = action(**params) File "/base/data/home/apps/taksee-2/1.333100565109818741/cities.py", line 98, in cities_bulk return self.get_bulk(City, last_updated, request_id,length) File "/base/data/home/apps/taksee-2/1.333100565109818741/cities.py", line 85, in get_bulk if len(list(all_to_download)) == 0: File "/base/python_lib/versions/1/google/appengine/ext/db/ __init__.py", line 1468, in next return self.__model_class.from_entity(self.__iterator.next()) File "/base/python_lib/versions/1/google/appengine/api/ datastore.py", line 1549, in next self.__buffer = self._Next(self._BUFFER_SIZE) File "/base/python_lib/versions/1/google/appengine/api/ datastore.py", line 1538, in _Next raise _ToDatastoreError(err) File "/base/python_lib/versions/1/google/appengine/api/ datastore.py", line 1965, in _ToDatastoreError raise errors[err.application_error](err.error_detail) Timeout: datastore timeout: operation took too long. I assumed the problem was that there was no index built for the query so I manually updated the index.yaml file and uploaded it. - kind: Taxi properties: - name: status - name: last_updated - kind: City properties: - name: status - name: last_updated The new index is now in "serving status", however, I am still getting the "operation took too long" message. I am fairly sure that the problem is the index because the function is the same for both entities: Taxi and City. However, it works for the Taxi entity and not for the City entity. It has been 20hours since I updated the indexes. Is there any way that I can know whether the new index has been built? Thanks, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---