Is it best practice to surround every Taskqueue.add call with a try except, so that we can catch the TransientErrors, and readd the task?
On Jul 10, 12:00 am, Waleed Abdulla <[email protected]> wrote: > I've been getting a lot of those errors in the last few days as well. Also > noticed a lot of tasks being run several times. I know this does happen in > general on the app engine, but the frequency of it definitely increased a > lot in the last few days. > > > > On Thu, Jul 8, 2010 at 11:29 PM, Aaron <[email protected]> wrote: > > Hi, > > > Did you ever figure this one out? I'm getting these errors a lot over > > the past week also. It's hard to debug, because I can't seem to find > > the information on what specific task is causing the error. > > > On May 20, 1:31 pm, bvelasquez <[email protected]> wrote: > > > Specific error is below. I am continually getting this error now. > > > Additionally, 500 errors deploying to app engine when it gets to the > > > CRON/Index phase. Any clues what the transient error is and why I > > > might be getting this now? > > > > Barry > > > > [ADD TASK] exception adding task. > > > Traceback (most recent call last): > > > File "/base/data/home/apps/jacob-6/release.342090711789639314/libs/ > > > queue_helper.py", line 33, in add_task_to_queue > > > taskqueue.add(url=path, params={'key' : '8914EDFA-724A-11DE- > > > BD26-396256D89593', 'data' : data_string}) > > > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > > > api/labs/taskqueue/taskqueue.py", line 750, in add > > > return Task(*args, **kwargs).add(transactional=transactional) > > > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > > > api/labs/taskqueue/taskqueue.py", line 543, in add > > > return Queue(queue_name).add(self, transactional=transactional) > > > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > > > api/labs/taskqueue/taskqueue.py", line 597, in add > > > self.__AddTasks(tasks, transactional) > > > File "/base/python_runtime/python_lib/versions/1/google/appengine/ > > > api/labs/taskqueue/taskqueue.py", line 625, in __AddTasks > > > raise self.__TranslateError(e.application_error, e.error_detail) > > > TransientError > > > I 05-20 01:28PM 36.331 > > > Saved; key: __appstats__:009800, part: 195 bytes, full: 75163 bytes, > > > overhead: 0.005 + 0.012; link: > >http://www.jacobsix.com/stats/details?time=1274387309826 > > > I 05-20 01:28PM 36.341 > > > This request caused a new process to be started for your application, > > > and thus caused your application code to be loaded for the first time. > > > This request may thus take longer and use more CPU than a typical > > > request for your application. > > > > -- > > > 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]<google-appengine%2Bunsubscrib > > [email protected]> > > . > > > For more options, visit this group athttp:// > > groups.google.com/group/google-appengine?hl=en. > > > -- > > 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]<google-appengine%2Bunsubscrib > > [email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. -- 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.
