[google-appengine] Re: Cannot Properly Catch DeadlineExceededError

2009-03-10 Thread Gijsbert
I was curious what my error template does with this DeadlineExceededError but no cigar. I use the webapp.RequestHandler.handle_exception() but it does not seem to get called for DeadlineExceededError. In dev server runtime/ __init__.py DeadlineExceededError is derived from Exception or

[google-appengine] Re: Cannot Properly Catch DeadlineExceededError

2009-03-09 Thread GAEfan
Any news on this? These timeouts are killing me. Thanks, Ken --~--~-~--~~~---~--~~ 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

[google-appengine] Re: Cannot Properly Catch DeadlineExceededError

2009-02-24 Thread lenza
Thanks for the response Marzia. I tried again with the return statement and I am still having the same issue. The code I pasted below is the entirety of my handler, so there is nothing in it that would cause a timeout after the initial DeadlineExceededError. I also checked that I am importing

[google-appengine] Re: Cannot Properly Catch DeadlineExceededError

2009-02-24 Thread Marzia Niccolai
Hi, I really am out of ideas since it works perfectly for me (see http://yo.appspot.com/?sleep=2 vs http://yo.appspot.com/?sleep=35) where I used your exact handler information. The issue is that, for some reason, the handler continues to execute too long after the DeadlineExeededError is

[google-appengine] Re: Cannot Properly Catch DeadlineExceededError

2009-02-24 Thread lenza
Thanks so much for testing this out Marzia! It is really awesome how super helpful you are. You have helped me get one step closer to a solution... I have my app setup to use my own domain. When I go directly to my appspot.com address it works: http://lenzasapp2.appspot.com/test?sleep=35

[google-appengine] Re: Cannot Properly Catch DeadlineExceededError

2009-02-24 Thread Marzia Niccolai
AH! There definitely is a problem here with the custom domain, for some reason it's throwing a 'Bad Gateway' error when I grab the headers. I don't know why yet, but I'll keep you posted -Marzia On Tue, Feb 24, 2009 at 2:03 PM, lenza le...@aznel.trickip.net wrote: Thanks so much for testing

[google-appengine] Re: Cannot Properly Catch DeadlineExceededError

2009-02-23 Thread Marzia Niccolai
Hi Lenza, This works for me. So I think it might be one of two things. First, are you importing the correct DeadlineExceededError? You need to make sure to have this import: from google.appengine.runtime import DeadlineExceededError If you don't, sleeping for 30 seconds will raise this error,