[Twisted-web] stopping LoopCall and check if running

Terry Jones terry at jon.es
Wed Aug 31 22:32:20 EDT 2011


Hi Stephan

I wont try to answer your question, but this error:

>        result = g.send(result)
>   exceptions.AttributeError: 'NoneType' object has no attribute 'send'

is what you see when you decorate a function with @inlineCallbacks but
don't have any yields in the function (i.e., it doesn't return a generator
object). You should definitely find & fix that problem.

Terry



More information about the Twisted-web mailing list