[Twisted-Python] PBClientFactory and getRootObject

2009-04-02 Thread Fabrizio Mancini
Hi everyone, I'm writing a server and a client using Perspective Broker with no Avatar and no auth. The server accumulates some data using a DeferredQueue. The clients using a remote call retrieve one item per time from the queue and elaborates it making some changes on a database using adbapi. Wha

Re: [Twisted-Python] Question about application exit handling

2009-04-02 Thread Jay Deiman
Jay Deiman wrote: First, I'm pretty new to the Twisted framework and I've spent a lot of time poking through documentation and subsequently, I've managed to figure out a lot of things on my own. Here is one issue I'm having right now. I wrote an application to be run under twistd and it work

[Twisted-Python] Question about application exit handling

2009-04-02 Thread Jay Deiman
First, I'm pretty new to the Twisted framework and I've spent a lot of time poking through documentation and subsequently, I've managed to figure out a lot of things on my own. Here is one issue I'm having right now. I wrote an application to be run under twistd and it works great, except for

[Twisted-Python] Re: PBServerFactory - which client disconnected?

2009-04-02 Thread Mike Stoddart
So I can do the following but the onDisconnect and onConnect functions don't receive the broker - odd design decision? Also, there's a comment in PBServerFactory.clientConnectionMade --> "# XXX does this method make any sense?". Weird. class MyServerObject(pb.Root): def __init__(self):

Re: [Twisted-Python] Twistd and application framework questions

2009-04-02 Thread Terry Jones
Hi Nadav, Itamar > "Itamar" == Itamar Shtull-Trauring writes: Itamar> On Wed, 2009-04-01 at 13:16 -0400, Nadav Aharony wrote: >> 1) The program uses multiple UDP/TCP clients and servers that are >> currently launched with reactor.listenTCP / UDP connectTCP/UDP etc. I've >> been using MultiSe

Re: [Twisted-Python] Documentation overviews

2009-04-02 Thread Michael P. Soulier
On 02/04/09 Cary Hull said: > # Web clients > > # Web applications using just Twisted > > # Web applications using WSGI (Maybe show how to run Django) # Web proxies, with and without authentication, with and without SSL Mike -- Michael P. Soulier "Any intelligent fool can make things b

[Twisted-Python] Documentation overviews

2009-04-02 Thread Cary Hull
Hi folks, One of the goals for the Pycon sprint was to develop user oriented overviews for existing documentation. These would ideally guide users through everything they would need to read in order to accomplish a desired goal with Twisted. I've formulated the following 'track' suggestions based

Re: [Twisted-Python] official packaging

2009-04-02 Thread David Ripton
On 2009.04.02 14:21:14 +1100, Tim Allen wrote: > Esteve Fernandez wrote: > > Anyway, it would be great to have recent packages of Twisted for > > distributions > > that offer some kind of long term support contracts (Ubuntu, RHEL, etc.), > > but > > that tend to get a bit outdated. > > It's w

Re: [Twisted-Python] Twistd and application framework questions

2009-04-02 Thread Itamar Shtull-Trauring
On Wed, 2009-04-01 at 13:16 -0400, Nadav Aharony wrote: > 1) The program uses multiple UDP/TCP clients and servers that are > currently launched with reactor.listenTCP / UDP connectTCP/UDP etc. I've > been using MultiService, according to the twisted documentation. > Some of these services were

[Twisted-Python] PBServerFactory - which client disconnected?

2009-04-02 Thread Mike Stoddart
I'm experimenting with Twisted Spread for a registry server, among other things. I'm just curious how the onDisconnect function knows which client disconnected? I'm also curious why the PBServerFactory class doesn't have a disconnection function to complement clientConnectionMade? I don't need secu

Re: [Twisted-Python] Twisted meetup/discussion at EuroPython?

2009-04-02 Thread Thomas Hervé
Le mercredi 01 avril 2009 à 13:54 +0200, Terry Jones a écrit : > I was thinking it would be nice to have a Twisted interest group meetup at > EuroPython (June 30 - July 2) http://www.europython.eu > > Would people be interested in attending? Does someone more qualified want > to organize it? Are a