Re: [Twisted-Python] Twisted and SOAP

2010-09-01 Thread Einar S . Idsø
On Wed, Sep 1, 2010 at 5:58 PM, Landreville wrote: > That's pretty much what I did as well. Actually, it's *exactly* what you did. As mentioned, I posted your solution from April :) On Wed, Sep 1, 2010 at 11:47 PM, Glyph Lefkowitz wrote: > If you want there to be a "recommended way", you can be

[Twisted-Python] multiple workers

2010-09-01 Thread ruslan usifov
Hello I try to write twisted based daemon that work in multiple workers, like this: from twisted.internet import reactor; from proxy import FASTCGIServerProxyFactory; import os; reactor.listenUNIX("/tmp/twisted-fcgi.sock", FASTCGIServerProxyFactory()); for i in xrange(3): l_pid = os.fork();

Re: [Twisted-Python] Twisted and SOAP

2010-09-01 Thread Glyph Lefkowitz
On Sep 1, 2010, at 1:16 AM, Einar S. Idsø wrote: > Well, at least I've found that the interest in SOAP in the Twisted > community is not very great ;) And understandably so. Unfortunately, > however, sometimes Twisted apps do need to talk to alternative > protocols, so it is a pity there's no rec

Re: [Twisted-Python] Twisted and SOAP

2010-09-01 Thread Landreville
On Wed, Sep 1, 2010 at 1:16 AM, Einar S. Idsø wrote: > Well, at least I've found that the interest in SOAP in the Twisted > community is not very great ;) And understandably so. Unfortunately, > however, sometimes Twisted apps do need to talk to alternative > protocols, so it is a pity there's no

Re: [Twisted-Python] adbapi MySQL read/write splitting

2010-09-01 Thread Jason J. W. Williams
That is correct. In our case we've audited our code for transactions and all of ours are single statement trans. It's pretty typical for read/write splitting to forbid multiple-statement transactions as a cost of doing it. -J Sent via iPhone Is your e-mail Premiere? On Sep 1, 2010, at 7:1

Re: [Twisted-Python] Ldaptor: [PATCH] Reroute errback to deferred returned by search()

2010-09-01 Thread Anton Gyllenberg
On Wed, Sep 1, 2010 at 5:05 PM, Anton Gyllenberg wrote: > On Wed, Sep 1, 2010 at 4:17 PM, Itamar Turner-Trauring > wrote: >> On Wed, 2010-09-01 at 14:52 +0300, Anton Gyllenberg wrote: >> >>> Any comments and suggestions welcome! >> >> Unit tests are always a good idea :) > > That is so true. And

Re: [Twisted-Python] Ldaptor: [PATCH] Reroute errback to deferred returned by search()

2010-09-01 Thread Anton Gyllenberg
On Wed, Sep 1, 2010 at 4:17 PM, Itamar Turner-Trauring wrote: > On Wed, 2010-09-01 at 14:52 +0300, Anton Gyllenberg wrote: > >> Any comments and suggestions welcome! > > Unit tests are always a good idea :) That is so true. And if not writing new ones, then at least running existing ones. That I

Re: [Twisted-Python] adbapi MySQL read/write splitting

2010-09-01 Thread Itamar Turner-Trauring
On Tue, 2010-08-31 at 20:54 -0600, Jason J. W. Williams wrote: > That's one way of handling it. Another way is to wrap the library so > it does the splitting automatically. The advantage to the latter is > not making mistakes where you accidentally use the READ connection for > a write. That sound

Re: [Twisted-Python] Ldaptor: [PATCH] Reroute errback to deferred returned by search()

2010-09-01 Thread Itamar Turner-Trauring
On Wed, 2010-09-01 at 14:52 +0300, Anton Gyllenberg wrote: > Any comments and suggestions welcome! Unit tests are always a good idea :) ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/

Re: [Twisted-Python] Twisted and SOAP

2010-09-01 Thread Itamar Turner-Trauring
On Wed, 2010-09-01 at 07:16 +0200, Einar S. Idsø wrote: > Well, at least I've found that the interest in SOAP in the Twisted > community is not very great ;) And understandably so. Unfortunately, > however, sometimes Twisted apps do need to talk to alternative > protocols, so it is a pity there's n

Re: [Twisted-Python] Ldaptor status and updates

2010-09-01 Thread Anton Gyllenberg
> I do the primary work on the ldaptor Debian package these days. Tommy did not > release a new version for years but has the mentioned git repository. The > Debian svn repository at > svn://svn.debian.org/python-modules/packages/ldaptor/trunk/ contains a series > of patches in the debian/patches d

[Twisted-Python] Ldaptor: [PATCH] Reroute errback to deferred returned by search()

2010-09-01 Thread Anton Gyllenberg
The LDAPEntryWithClient.search() method used to send the LDAP request with a call like self.client.send_multiResponse(... ) send_multiResponse() returns a deferred that was just discarded. If the operation causes an error then the errback fired on the discarded deferred will remain unhandle

Re: [Twisted-Python] Ldaptor status and updates

2010-09-01 Thread Jan Dittberner
On Wed, Sep 01, 2010 at 01:13:33PM +0300, Anton Gyllenberg wrote: > I want to use the Ldaptor LDAP client for a project. Does anybody know > whether and how Ldaptor is currently maintained and what the best > upstream source is? I need to make some changes and wonder what to > base the work on and

[Twisted-Python] Ldaptor status and updates

2010-09-01 Thread Anton Gyllenberg
I want to use the Ldaptor LDAP client for a project. Does anybody know whether and how Ldaptor is currently maintained and what the best upstream source is? I need to make some changes and wonder what to base the work on and where to discuss and publish changes. Is it OK to discuss Ldaptor on this