Since indexes for single properties are created automatically, they don't
need to be defined in index.yaml. Try removing this index to see if the
error goes away.

- Jason

2009/5/12 大海 <[email protected]>

>
> I have this same problem when I make a web proxy server.
>
>
> C:\Program Files\Google\google_appengine>appcfg.py update highlinkhu
> Scanning files on local disk.
> Initiating update.
> Could not guess mimetype for static/favicon.ico. Using application/
> octet-stream.
> Cloning 8 static files.
> Cloning 5 application files.
> Deploying new version.
> Checking if new version is ready to serve.
> Will check again in 1 seconds.
> Checking if new version is ready to serve.
> Will check again in 2 seconds.
> Checking if new version is ready to serve.
> Closing update: new version is ready to start serving.
> Uploading index definitions.Error 400: --- begin server output ---
> Creating a composite index failed:
> This index:
> entity_type: "EntryPoint"
> ancestor: false
> Property {
> name: "last_updated"
> direction: 2}
> is not necessary, since single-property indices are built in. Please
> remove it from your index file and upgrade to the latest version of
> the SDK, if you haven't already.
>
> --- end server output ---
>
> Your app was updated, but there was an error updating your indexes.
> Please retry later with appcfg.py update_indexes.
>
> notes:
> 1、SDK version  1.2.2,Python version 2.5.4
> 2、this is the app.yaml:
>
> application: highlinkhuversion: secureableruntime: pythonapi_version:
> 1
> handlers:
> - url: /robots\.txt static_files: static/robots.txt upload: static/
> robots\.txt
> - url: /favicon\.ico static_files: static/favicon.ico upload: static/
> favicon\.ico secure: optional
> - url: /static/base(\.[0-9])\.css static_files: static/base.css
> upload: static/base\.css secure: optional
> - url: /static static_dir: static secure: optional
> - url: /admin login: admin script: mirror.py secure: optional
> - url: /cleanup login: admin script: mirror.py secure: optional
> - url: /kaboom login: admin script: mirror.py secure: optional
> - url: /.* script: mirror.py secure: optional
>
> 3、this is the index.yanl:
>
> indexes:
> # AUTOGENERATED
> # This index.yaml is automatically updated whenever the dev_appserver
> # detects that a new type of query is run. If you want to manage the
> # index.yaml file manually, remove the above marker line (the line#
> saying "# AUTOGENERATED"). If you want to manage some indexes#
> manually, move them above the marker line. The index.yaml file is
> # automatically uploaded to the admin console when you next deploy
> # your application using appcfg.py.
> # Used 19 times in query history.
> - kind: EntryPoint
> properties:
> - name: last_updated
> direction: desc
>
> What  will i do next ?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to