Checking if updated app version is serving.
Completed update of app: fox-idea, version: 1
Uploading index definitions.
Error 400: --- begin server output ---
Cannot build indexes that are in state ERROR.
To vacuum and rebuild your indexes:
1. Create a backup of your index.yaml specification.
2. Determine the indexes in state ERROR from your admin console:
https://appengine.google.com/datastore/indexes?&app_id=s~fox-idea
3. Remove the definitions of the indexes in ERROR from your index.yaml file.
4. Run "appcfg.py vacuum_indexes your_app_dir/"
5. Wait until the ERROR indexes no longer appear in your admin console.
6. Replace the modified version of your index.yaml file with the original.
7. Run "appcfg.py update_indexes your_app_dir/"
--- end server output ---
Your app was updated, but there was an error updating your indexes. Please retry later with appcfg.py update_indexes.
2011-08-27 16:13:42 (Process exited with code 0)
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 701, in __call__
handler.get(*groups)
File "/base/data/home/apps/s~fox-idea/1.352840145714969083/main.py", line 52, in get
template_values['articles_total'] = articles.count()
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2038, in count
result = raw_query.Count(limit=limit, config=config)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 1675, in Count
batch = self.GetBatcher(config=config).next()
File "/base/python_runtime/python_lib/versions/1/google/appengine/datastore/datastore_query.py", line 2525, in next
return self.next_batch(self.AT_LEAST_ONE)
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: 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: Article
properties:
- name: is_page
- name: created
direction: desc