Has your modified version of SearchableModel overloaded
Query._ToPb.  You will need to update your application so that it can
accept the additional parameter.  As a catch all, you might like to
have the signature end in *params, **kwds and pass those along to the
superclass version of _ToPb.  This will make sure it is compatible
with signature changes.

  Sorry for the disruption!

On Aug 6, 5:49 pm, Mahmoud <mahmoud.ar...@gmail.com> wrote:
> The search functionality in our app mysteriously started breaking
> today. We use a modified version of SearcheableModel. Here is the
> stack trace:
>
>     results = SpontyUser.all().search(query).order('name').fetch
> (PAGE_SIZE+1)
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 1455, in fetch
>     raw = self._get_query().Get(limit, offset)
>   File "/base/python_lib/versions/1/google/appengine/api/
> datastore.py", line 981, in Get
>     prefetch_count=limit)._Get(limit)
>   File "/base/python_lib/versions/1/google/appengine/api/
> datastore.py", line 917, in _Run
>     pb = self._ToPb(limit, offset, prefetch_count)
> TypeError: _ToPb() takes at most 3 arguments (4 given)
>
> Did the SDK/API change today? did anyone see else see this?
--~--~---------~--~----~------------~-------~--~----~
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 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to