i hadn't tried that, but i did get it to work once i used the correct import statement...
from google.appengine.runtime import apiproxy_errors On Oct 29, 5:33 pm, Joshua Smith <joshuaesm...@charter.net> wrote: > Did you try catching all exceptions? > > except: > logging.exception("... > > On Oct 29, 2009, at 5:36 PM, Greg Tracy wrote: > > > > > To add to this problem is the fact that I can't adequately catch the > > exception and avoid the re-queueing of the task. More on that here... > > >http://groups.google.com/group/google-appengine/browse_thread/thread/... > > > On Oct 29, 2:17 pm, Joshua Smith <joshuaesm...@charter.net> wrote: > >> Well that's not cool. > > >> Task queue did the same thing: Threw an exception, even though it > >> actually queued the task. Perhaps Google is confused about what an > >> exception is. > > >> Nick: How can I tell if the email was sent? I'd hate to blast a > >> bunch > >> of duplicate emails just because of some bogus error. > > >> Perhaps you should just increase the "Timeout" on this API to a limit > >> that it can actually meet? > > >> -Joshua > > >> On Oct 29, 2009, at 2:32 PM, Greg Tracy wrote: > > >>> I'm seeing quite a few as well. Although I do find that the emails > >>> get > >>> delivered regardless. > > >>> On Oct 29, 11:22 am, Joshua Smith <joshuaesm...@charter.net> wrote: > >>>> We're getting a surprising number of these errors: > > >>>> "The API call mail.Send() took too long to respond and was > >>>> cancelled." > > >>>> This is happening, for example, when we send an email to three > >>>> people > >>>> in the to: list. Billing is enabled in my app. > > >>>> Should I wrap the call to mail.send_mail with an a try/except/retry > >>>> loop? > > >>>> -Joshua > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---