RE: [Twisted-web] Problem using deferreds in a freeform autocallable

OK, I think it's due to DP's commit of December 23 ([Divmod-commits] New resource lookup that supports deferreds. Render that supports deferreds. Resources are registered with the urlmaster automatically but this needs more work.). Sorry, but right now I can investigate any further. I have reverted to the old version. -- Gavrie.
-----Original Message----- From: Gavrie Philipson Sent: Thursday, December 25, 2003 14:24 To: twisted-web@twistedmatrix.com Subject: RE: [Twisted-web] Problem using deferreds in a freeform autocallable
I just discovered that this does work correctly with a version of Nevow that is a few days old. It's only the latest version (CVS HEAD of Quotient) that doesn't work.
Life on the bleedin' edge...
-- Gavrie.
-----Original Message----- From: Gavrie Philipson Sent: Thursday, December 25, 2003 13:43 To: twisted-web@twistedmatrix.com Subject: [Twisted-web] Problem using deferreds in a freeform autocallable
Hi,
I have a freeform autocallable method which uses a deferred: The method needs to call a function that returns a deferred, and continue only after the deferred fires.
Unfortunately, I cannot get it to work: When I return a deferred from the autocallable, I get a traceback which doesn't make sense to me.
A test program and the associated traceback are attached.
Is this supposed to work? If not, how can I perform a deferred action when posting a form?
Thanks,
-- Gavrie.
_______________________________________________ Twisted-web mailing list Twisted-web@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
participants (1)
-
Gavrie Philipson