[Twisted-Python] serializing inline callbacks

Dustin J. Mitchell dustin at v.igoro.us
Tue Feb 18 16:10:59 MST 2014


On Tue, Feb 18, 2014 at 4:58 PM, Axel Rau <Axel.Rau at chaos1.de> wrote:
> I see log message ‚imageMap ended‘ , but not 'In navigation.'
> Any further advice?


I'm guessing that you omitted @inlineCallbacks for navigation, but
that it contains a yield.  In Python, that makes it a plain old
generator expression, which just returns a generator object when you
call it.  It's a common pitfall when using inlineCallbacks.

Honestly, this would be easier to discuss if you'd included a
http://sscce.org/ at the beginning.

Dustin




More information about the Twisted-Python mailing list