Guys, I've managed to sort of bump into a solution, but I have no clue why it works.
I was using 'on' as a name for one of my datastore entity properties. For some reason this works fine on the localhost and an entry for 'on' appears in the index.yaml file. On updating the app however, this seems to cause some problems as this particular index never updates. Changing the name of this property to something else solved this problem. Is 'on' a reserved word or something for the yaml format? Do you think this was what was causing the issue. If yes then I guess Luís was right when he suggested verifying whether there was a syntax error in the index.yaml. Can someone also please tell me whether or not the index.yaml file plays a role in running the app on localhost or not. I cannot comprehend why the app (even the feature that needed that particular index) was working fine on localhost if the index.yaml was malformed and the same app breaks down for the want of an index it fails to update. Thanks for all the fish. Ujj On Jun 29, 2:30 pm, Luís Marques <luismarq...@gmail.com> wrote: > Could it be a syntax error in index.yaml? > > Luís > > On Jun 29, 9:08 am, Ujj <ujjwalgro...@gmail.com> wrote: > > > Hi Robert, > > > Yes I do not see the required index in the Datastore indexes in the > > admin console. I get the NeedIndexError while doing certain a action > > on my live app that requires that index. The index (as prompted by the > > NeedIndexError) is present in my index.yaml and I have tried deleting > > & recreating the file. Still no luck. > > I have even tried updating a new version of the app but that does not > > help either. > > > Thanks > > Ujj > > > On Jun 29, 10:33 am, Robert Kluin <robert.kl...@gmail.com> wrote: > > > > Hi Ujj, > > > After appcfg.py updates the application it will upload the indexes > > > in index.yaml. So, if the index is present in index.yaml when you run > > > appcfg.py update <approot>/ it should be uploaded. > > > > So on the appspot.com admin console you do not even see the index > > > listed? To rule out a admin console issue, have you tried the live > > > app to see if you get a missing index error? Also, have you tried > > > clearing and recreating your index.yaml before uploading? > > > > Robert > > > > On Mon, Jun 28, 2010 at 11:55 PM, Ujj <ujjwalgro...@gmail.com> wrote: > > > > Hi Robert, > > > > > Thanks for the response. Yes I ran the update_indexes. The index still > > > > does not show up. > > > > On a related note, is it required that we run the 'appcfg.py > > > > update_indexes' even though the index is present in the index.yaml > > > > file and we update the app via 'appcfg.py update <app_root>/'? > > > > > Thanks > > > > Ujj > > > > > On Jun 29, 8:42 am, Robert Kluin <robert.kl...@gmail.com> wrote: > > > >> Hi Ujj, > > > >> Did you try running "appcfg.py update_indexes"? > > > > >> Robert > > > > >> On Mon, Jun 28, 2010 at 12:20 PM, Ujj <ujjwalgro...@gmail.com> wrote: > > > >> > Hi, > > > > >> > For some reason one of my indexes for my app 'mypockit' (version: > > > >> > minimal) is not showing up. On localhost the app works fine and the > > > >> > index is present in the index.yaml file. Even after uploading, the > > > >> > indexes have not been updated for over 24 hours. > > > > >> > In the dashboard I don't even see the index as 'Building'. It simply > > > >> > does not appear. Could you please let me know if I am doing anything > > > >> > wrong. > > > > >> > Thanks > > > >> > Ujj > > > > >> > -- > > > >> > 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-appeng...@googlegroups.com. > > > >> > To unsubscribe from this group, send email to > > > >> > google-appengine+unsubscr...@googlegroups.com. > > > >> > For more options, visit this group > > > >> > athttp://groups.google.com/group/google-appengine?hl=en. > > > > > -- > > > > 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-appeng...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > google-appengine+unsubscr...@googlegroups.com. > > > > For more options, visit this group > > > > athttp://groups.google.com/group/google-appengine?hl=en. -- 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-appeng...@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.