Paul
unread,Jun 6, 2008, 2:11:42 PM6/6/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google App Engine Downtime Notify
Hi all,
Due to scheduled maintenance, the datastore will be in read-only mode
for approximately 10 minutes starting at 2:30pm PDT on Friday, 6/6.
During this period all datastore writes and transactions will throw
an
exception. If you'd like to modify your app to catch this
exception,
here are some specifics:
exception
google.appengine.runtime.apiproxy_errors.CapabilityDisabledError
will be thrown by db.Model.put(), db.Model.delete(), and
db.run_in_transaction(). You can use python's try syntax to fail
gracefully on writes like this:
from google.appengine.ext import db
from google.appengine.runtime.apiproxy_errors import
CapabilityDisabledError
myModel = db.Model()
try:
myModel.put()
except CapabilityDisabledError:
# fail gracefully here
pass