Hey Baji,

This seems like a report better suited for the App Engine public issue 
tracker <https://code.google.com/p/googleappengine/issues/list>.  From the 
error message, it appears the application cannot find the service stub for 
the *search* service.  When posting to the public issue tracker, please 
provide the following information so as to speed up the investigation into 
this issue:

   - What version of the App Engine SDK for Python are you using?
   - Are you using the standard or flexible environment?
   - Are you getting this error with *dev_appserver.py*, the production 
   environment or both?
   
Lastly, after you've filed a public issue, please include a link to it here 
so others encountering this post can follow through.

Nicholas

On Wednesday, December 7, 2016 at 3:27:59 PM UTC-5, Baji Yakkati wrote:
>
> Hello Team,
>
> I am getting this error while I am trying to search the index.
>
> from google.appengine.api import search
>     index = search.Index('products')
>     query_string = 'product: piano AND price < 5000'
>     results = index.search(query_string)
>     for scored_document in results:
>         print(scored_document)
>
> File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\datastore\datastore_rpc.py", 
> line 105, in positional_wrapper
>     return wrapped(*args, **kwds)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\api\search\search.py", line 
> 3781, in get
>     return self.get_async(doc_id, deadline=deadline).get_result()
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\datastore\datastore_rpc.py", 
> line 105, in positional_wrapper
>     return wrapped(*args, **kwds)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\api\search\search.py", line 
> 3790, in get_async
>     future = self.get_range_async(start_id=doc_id, limit=1, 
> deadline=deadline)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\datastore\datastore_rpc.py", 
> line 105, in positional_wrapper
>     return wrapped(*args, **kwds)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\api\search\search.py", line 
> 3971, in get_range_async
>     'ListDocuments', request, response, deadline, hook)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\api\search\search.py", line 
> 262, in __init__
>     self._rpc = apiproxy_stub_map.UserRPC('search', deadline=deadline)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\api\apiproxy_stub_map.py", 
> line 414, in __init__
>     self.__rpc = CreateRPC(service, stubmap)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\api\apiproxy_stub_map.py", 
> line 68, in CreateRPC
>     assert stub, 'No api proxy found for service "%s"' % service
> AssertionError: No api proxy found for service "search"
>
> Please let me know, what is the cause behind this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9a23ac2e-35f5-4bad-a97a-ed3bb143856d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Baji Yakkati
    • [google-appen... 'Nicholas (Google Cloud Support)' via Google App Engine

Reply via email to