I am curious if by using deferred instead of tasks you will still have to worry about TransientErrors ? Since the deferred library handles inserting the task... I don't see anywhere in the docs of deferred saying you must worry about TransientError...
On the same note I am curious if anybody knows if tasks are added or not when a transient error is thrown. I would assume they aren't but I have seen some references in the group that they are in fact added despite a TransientError.. any word on this? I rely heavily on tasks so it is very important I can be assured that when I add one it will be added... On Oct 12, 11:54 am, John Gardner <[email protected]> wrote: > I've seen this periodically. > > The pattern that seems to be percolating around the list is to always > wrap a task insertion (if important) in an try/except, and resubmit > the job on failure. > > Myself, I try to insert once in the except block, and then throw up my > hands forever. That appears to be work so far. > > On Sep 22, 8:34 pm, "Raymond C." <[email protected]> wrote: > > > Anyone else having the same problem? or its just me? Most of my task > > queue insertions are failing with below error, they were working fine > > for several weeks. > > > The traces are as below: > > > File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/ > > deferred/deferred.py", line 241, in defer > > return task.add(queue, transactional=transactional) > > File "/base/python_runtime/python_lib/versions/1/google/appengine/api/ > > labs/taskqueue/taskqueue.py", line 563, 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 617, in add > > self.__AddTasks(tasks, transactional) > > File "/base/python_runtime/python_lib/versions/1/google/appengine/api/ > > labs/taskqueue/taskqueue.py", line 645, in __AddTasks > > raise self.__TranslateError(e.application_error, e.error_detail) > > TransientError > > -- 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.
