[Twisted-Python] Looping in a deffered

2009-09-04 Thread John Joske
I'm trying to make a simple deferred that will continue get a message of a message queue, process it and then wait for another message. While I can get the first message easily I am unable to work out how I can get a second message without creating a new deferred in the printMsg function, which

[Twisted-Python] os x installer, multiple source locations

2009-09-04 Thread Matt Bennett
Hello all, I used the Twisted 8.2.0 for OS X 10.5 installer from [1] to install twisted on my mac. I don't understand why, but I seem to have two copies of the source on the disk, one at /System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/twisted and another at /Library/Pyth

Re: [Twisted-Python] network server on multiprocessor hardware

2009-09-04 Thread Glyph Lefkowitz
On Fri, Sep 4, 2009 at 4:59 PM, Bokhan Artem wrote: > Hello. > > Is there right (standard) way to write twisted network server > (tcp/web/mail/etc) which could use several cpu cores? For example, > master+workers model, where every worker doing the same job. > If so, may somebody help to wrap the

[Twisted-Python] network server on multiprocessor hardware

2009-09-04 Thread Bokhan Artem
Hello. Is there right (standard) way to write twisted network server (tcp/web/mail/etc) which could use several cpu cores? For example, master+workers model, where every worker doing the same job. If so, may somebody help to wrap the sample code below? May be some well-known twisted based software

Re: [Twisted-Python] Is there an equivalent of tap2deb?

2009-09-04 Thread Peter Westlake
On Sat, 05 Sep 2009 00:29 +1000, "Tim Allen" wrote: > On Fri, Sep 04, 2009 at 02:53:37PM +0100, Peter Westlake wrote: > > Now that .tap files are obsolete, is there a supported way of making > > Debian packages like tap2dep? > > .tap files (Pickle-based config files) may be obsolete, but I don't

Re: [Twisted-Python] Installing twisted on Snow Leopard with custom 32-bit Python from python.org

2009-09-04 Thread Nathan
On Fri, Sep 4, 2009 at 4:21 AM, Ronald Oussoren wrote: > > On Friday, 04 September, 2009, at 08:22AM, "Nathan" > wrote: >>I've installed the 32-bit Python on Snow Leopard (for various reasons >>unrelated to twisted) and would like to get twisted working with it. >>I've tried downloading twisted a

Re: [Twisted-Python] Is there an equivalent of tap2deb?

2009-09-04 Thread Tim Allen
On Fri, Sep 04, 2009 at 02:53:37PM +0100, Peter Westlake wrote: > Now that .tap files are obsolete, is there a supported way of making > Debian packages like tap2dep? .tap files (Pickle-based config files) may be obsolete, but I don't believe the other variants (.tac for Python-based config files,

[Twisted-Python] Is there an equivalent of tap2deb?

2009-09-04 Thread Peter Westlake
Now that .tap files are obsolete, is there a supported way of making Debian packages like tap2dep? Thanks, Peter. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Conch/SSH & Cisco IOS

2009-09-04 Thread Phil Mayers
James Y Knight wrote: > On Sep 3, 2009, at 5:38 AM, Phil Mayers wrote: > >> All, >> >> I've been having some problems using Conch/SSH to talk to the SSH >> server >> on Cisco IOS (specifically the netconf subsystem) >> >> It seems that the IOS SSH server reacts badly to the following: >> >> c: s

Re: [Twisted-Python] FTPClient - aborting transfers

2009-09-04 Thread exarkun
On 1 Sep, 10:51 pm, m...@bennett.name wrote: >Hello all, > >I've got an FTPClient implementation very similar to the one at [1], >and I've added the ability to retrieve a file from the server with the >following snippet: > >class FileReceiver(Protocol): >""" >Protocol subclass that writ

Re: [Twisted-Python] Installing twisted on Snow Leopard with custom 32-bit Python from python.org

2009-09-04 Thread Ronald Oussoren
On Friday, 04 September, 2009, at 08:22AM, "Nathan" wrote: >I've installed the 32-bit Python on Snow Leopard (for various reasons >unrelated to twisted) and would like to get twisted working with it. >I've tried downloading twisted and running the standard "sudo python >setup.py install" -- but