[Twisted-Python] twistd -y and 'adbapi.ConnectionPool.runWithConnection'

glyph at divmod.com glyph at divmod.com
Thu May 28 07:13:34 MDT 2009


On 05:54 am, js at hipro.co.in wrote:
>Hello all,
>
>I am doing a 'runWithConnection' call from the 'startService' of a
>service.Service. In the callback, I startup more services based on the
>results of the 'runWithConnection' and attach them to the main
>application object.
>
>This works fine when I start the script with 'twistd -noy'. However,
>when I want to start it as a daemon using 'twisted -y', the
>runWithConnection does not seem to work. The thread simply does not
>start.
>
>What could be wrong?

This behavior sounds very peculiar.  Possibly a bug.  But, I've never 
seen such behavior.  Could you attach a minimal example that reproduces 
the problem you're seeing?




More information about the Twisted-Python mailing list