deferred PermanentTaskFailure: __new__() takes exactly 4 arguments (due to DateTimePropety?) and How to override deferred.TaskHandler?

42 views
Skip to first unread message

Francesco Rizzi

unread,
Jun 25, 2015, 9:22:33 AM6/25/15
to google-a...@googlegroups.com
I've posted this question on SO a couple of days ago, and updated it with a few details since then.


Essentially, I have a deferred task that leads to the error in the subject, which I suspect to come out of the call to unpickle the task request.
I need to find more details about the failure, but have not found a way yet... maybe I should override the deferred.TaskHandler (but how to do that?)

Thank you in advance for your time.

Nick (Cloud Platform Support)

unread,
Jun 25, 2015, 2:03:45 PM6/25/15
to google-a...@googlegroups.com, frances...@gmail.com
Hi Francesco,

Unfortunately, cross-posting a specific technical issue to this forum isn't the way to proceed here. This forum is meant for more general discussion of the platform and services, rather than specific technical issues. You've already done everything you can do (short of do more debugging / studying yourself) in regards to getting this issue to the attention of people who might help by posting it to stackoverflow. If you'd like on-demand 1-on-1 technical support, you can always purchase a support package

If you feel that your issue represents an issue on the platform (behaviour isn't as-documented), then you should open a public issue tracker thread with enough information to allow reproduction of the behaviour by the person reading your issue, preferably attaching a basic project which demonstrates the issue.

I'll be doing my best to be active on that question, although of course this is no guarantee of a solution. So, at this point, I'd recommend returning to stackoverflow and working on the issue there. 

Have a nice day!.

Kaan Soral

unread,
Jun 25, 2015, 11:08:06 PM6/25/15
to google-a...@googlegroups.com
I took a quick glance at your SO question now, it seemed too cryptic to me

After having my own issues with deferred, I modified a custom one for myself, I haven't been using the default deferred for years

At the time, the deferred lacked crucial features, especially with async operations, so I had to do this, 1-2 years later they added the features I requested

The deferred logic is EXTREMELY simple and elegant, you should just inspect the deferred library code and modify it or understand it to suit your needs, it's probably 60 lines or something
Reply all
Reply to author
Forward
0 new messages