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

Joe Steeve js at hipro.co.in
Thu May 28 01:54:02 EDT 2009

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

What could be wrong?

The database is 'PostgreSQL'. I am using the 'psycopg2' driver with the

Thanks a ton,

Joe Steeve
HiPro IT Solutions Pvt. Ltd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20090528/f48992c5/attachment.pgp 

More information about the Twisted-Python mailing list