Hi James,
 I'm not sure why your dev_appserver would not originally generate an
index.yaml. However, if you start out with a manually generated index.yaml,
the dev_appserver will not attempt to modify it, and you must specify all
index definitions by hand.

The index definition you provided does not fit the query you pasted, it
should be be:

- kind: Places
  properties:
  - name: place
  - name: date
    direction: desc

Also, it may be just the copy and paste in groups, but be aware of your
index.yaml indentation, which was not propery indented as you pasted it.

-Marzia

On Tue, Sep 9, 2008 at 8:25 PM, James <[EMAIL PROTECTED]> wrote:

>
> I ran into the NameIndexError after uploading.
>
> My query is really simple:
>
>       location = Places.gql("WHERE place = :place ORDER BY date
> DESC",
>
>                               place="hawaii")
>
>
> index.yaml (manually written, wasn't done automatically)
>
> - kind: Places
>  ancestor: no
>  properties:
>  - name: place
>    direction: desc
>
>
>
> Any ideas?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to