Re: stopping LoopCall and check if running

Terry Jones <[email protected]>
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.