AlephNullPlex

Just another weblog

06
Aug

Small Outage Yesterday

Bookmark and Share Comments (2)

UPDATE: Turns out it was an update to 1.2.4 that had

Enhancement to SearchableModel allowing multiple properties to be indexed.

Yesterday my blog was throwing an error and only returning the 'Oops' page for every request.

Turns out somehow the SearchableModel modifications I was using suddenly stopped working.

The dev_appserver still works as expected, but I was getting this error:

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)

Further investigations are happening. Any ideas? Has Google recently updated the framework?

Comments

  1. Avatar for Sander

    Hi, how did you fix it? ... I have the same problem.... Thanks!

    Sander on Aug. 11, 2009 5:25 p.m.
  2. Avatar for Geoff

    I reverted to the standard SearchableModel as a temporary measure.

    Geoff on Aug. 13, 2009 12:49 a.m.

Write a Comment