Hi everybody,

I need some help as a newbie GAE coder please.

I found this really helpful cookbook entry about handling datastore
timeouts and have implemented it in my code;
http://appengine-cookbook.appspot.com/recipe/autoretry-datastore-timeouts

It's been working well and I've been getting timeout warnings and
retries instead of Time out errors just fine until about the 9th Feb
and then I started getting the following errors coming up in my logs
every now a then;

-----------------------
datastore timeout: operation took too long.
  Traceback (most recent call last):
   File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 507, in __call__    handler.get(*groups)  File "/
base/data/home/apps/avi-web2/3.340039246064113396/online.py", line
188, in get
   count=q.count(2)
   File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1585, in count    result =
raw_query.Count(limit=limit, rpc=rpc)
    File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 1211, in Count    raise _ToDatastoreError(err)
Timeout: datastore timeout: operation took too long.
-------------------------

Can anybody help me trap these errors using the code in the cookbook
please?

Many thanks
Richard

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