[Twisted-web] Ampoule deferToAMPProcess confusion
jacek99 at gmail.com
Fri Oct 14 17:41:29 EDT 2011
Can someone point me to some good docs on Ampoule deferToAMPProcess?
I am trying in vain to get the simplest possible example working, with no
from ampoule import deferToAMPProcess, util
from twisted.internet import reactor, defer
val = yield deferToAMPProcess(test)
exceptions.AttributeError: 'str' object has no attribute '_doCommand'
I've tried different combinations, returnd Deferreds from the test()
function, inline callbacks with defer.returnValue().
Can't get it to work.
Looks like I am not the only one:
Thanks in advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-web