I saw this error too, and the indexing took at least a couple hours.
However it turns out that I was being embarrassingly slopping in my
coding and didn't really need the indexing.  (I was doing a sort on a
"date" on a list of less than 4 items to just get the latest item.
Forgive me father, for I have sinned.)  I fixed this and relaunched my
app with better code and no indexing.  The lesson learned was that
it's sometimes worthwhile to write a few extra lines of code to avoid
a search that requires indexing.

On Sep 18, 10:23 am, Massimiliano <[email protected]>
wrote:
> I understand now.
> But how much will it take? I need the application working today.
>
> Max
>
> 2010/9/18 andy stevko <[email protected]>
>
>
>
>
>
> > Seems to me that app engine is working just fine.
> > This part says it all...
>
> > NeedIndexError: The index for this query is not ready to serve. See the 
> > Datastore Indexes page in the Admin Console.
> > This query needs this index:
> > - kind: ATLETI
> >   properties:
> >   - name: conto
> >     direction: desc
> >   - name: nome
>
> > Time for you to hit the books. Here is a hint on where to look.
> >http://code.google.com/appengine/docs/python/datastore/queriesandinde...
>
> > On Sat, Sep 18, 2010 at 9:42 AM, Massimiliano <
> > [email protected]> wrote:
>
> >> Dear All,
> >> is appengine working?
> >> My app displays:
>
> >> Traceback (most recent call last):
> >>   File 
> >> "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__i
> >>  nit__.py", line 511, in __call__
> >>     handler.get(*groups)
> >>   File 
> >> "/base/data/home/apps/pallavoloalbafenice/prima.344893335550418865/main.py"
> >>  , line 22, in get
> >>     self.response.out.write(template.render('main.html',{'lista':lista}))
> >>   File 
> >> "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/tem
> >>  plate.py", line 81, in render
> >>     return t.render(Context(template_dict))
> >>   File 
> >> "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/tem
> >>  plate.py", line 121, in wrap_render
> >>     return orig_render(context)
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/__init__.py", line 168, in render
> >>     return self.nodelist.render(context)
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/__init__.py", line 705, in render
> >>     bits.append(self.render_node(node, context))
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/__init__.py", line 718, in render_node
> >>     return(node.render(context))
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/loader_tags.py", line 82, in render
> >>     return compiled_parent.render(context)
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/__init__.py", line 168, in render
> >>     return self.nodelist.render(context)
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/__init__.py", line 705, in render
> >>     bits.append(self.render_node(node, context))
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/__init__.py", line 718, in render_node
> >>     return(node.render(context))
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/loader_tags.py", line 23, in render
> >>     result = self.nodelist.render(context)
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/__init__.py", line 705, in render
> >>     bits.append(self.render_node(node, context))
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/__init__.py", line 718, in render_node
> >>     return(node.render(context))
> >>   File 
> >> "/base/python_runtime/python_lib/versions/third_party/django-0.96/django/te
> >>  mplate/defaulttags.py", line 99, in render
> >>     values = list(values)
> >>   File 
> >> "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init_
> >>  _.py", line 1786, in __iter__
> >>     return self.run()
> >>   File 
> >> "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init_
> >>  _.py", line 1770, in run
> >>     iterator = raw_query.Run(rpc=rpc)
> >>   File 
> >> "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.
> >>  py", line 1151, in Run
> >>     return self._Run(**kwargs)
> >>   File 
> >> "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.
> >>  py", line 1188, in _Run
> >>     str(exc) + '\nThis query needs this index:\n' + yaml)
> >> NeedIndexError: The index for this query is not ready to serve. See the 
> >> Datastore Indexes page in the Admin Console.
> >> This query needs this index:
> >> - kind: ATLETI
> >>   properties:
> >>   - name: conto
> >>     direction: desc
> >>   - name: nome
>
> >> Thanks
>
> >> Max
>
> >> --
>
> >> My email: [email protected]
> >> My Google Wave: [email protected]
>
> >> --
> >> 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]<google-appengine%2Bunsubscrib
> >>  [email protected]>
> >> .
> >> For more options, visit this group at
> >>http://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 [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-appengine%2Bunsubscrib 
> > [email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
>
> My email: [email protected]
> My Google Wave: [email protected]

-- 
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