Re: [Twisted-Python] question about subprocess

2013-10-02 Thread Jonathan Vanasco
been too busy to work on this, but... 1) Ok, I will avoid subprocess and stick with twisted. Thanks! 2) I will absolutely document where things got annoying to share! On Sep 27, 2013, at 12:35 AM, Matt Haggard wrote: > > On Sep 26, 2013 8:18 PM, "Glyph" wrote: > > > > > > On Sep 26, 2013, a

Re: [Twisted-Python] Conch - Why does one piece of code "fail" while another works

2013-10-02 Thread Phil Mayers
On 02/10/13 15:00, exar...@twistedmatrix.com wrote: BTW, I'm not sure what you plan to do with this connection, but if you haven't seen `twisted.conch.endpoints` (and ) then you probably want to look. ZOMG I had not seen the (existing) Conch endpoints before. Amazing, and

Re: [Twisted-Python] Conch - Why does one piece of code "fail" while another works

2013-10-02 Thread Donald Stufft
On Oct 2, 2013, at 10:00 AM, exar...@twistedmatrix.com wrote: > On 01:31 pm, don...@stufft.io wrote: >> >> On Oct 2, 2013, at 9:20 AM, exar...@twistedmatrix.com wrote: >>> On 01:21 am, don...@stufft.io wrote: I have two pieces of code (see: https://gist.github.com/dstufft/9dc9978dc0af

Re: [Twisted-Python] Conch - Why does one piece of code "fail" while another works

2013-10-02 Thread exarkun
On 01:31 pm, don...@stufft.io wrote: On Oct 2, 2013, at 9:20 AM, exar...@twistedmatrix.com wrote: On 01:21 am, don...@stufft.io wrote: I have two pieces of code (see: https://gist.github.com/dstufft/9dc9978dc0af77e82f0c) one "works" (in that it fails verifying the host key like i'd expect) an

Re: [Twisted-Python] Conch - Why does one piece of code "fail" while another works

2013-10-02 Thread Donald Stufft
On Oct 2, 2013, at 9:20 AM, exar...@twistedmatrix.com wrote: > On 01:21 am, don...@stufft.io wrote: >> I have two pieces of code (see: >> https://gist.github.com/dstufft/9dc9978dc0af77e82f0c) one "works" (in that >> it fails verifying the host key like i'd expect) and one doesn't ("it never >>

Re: [Twisted-Python] Conch - Why does one piece of code "fail" while another works

2013-10-02 Thread Laurens Van Houtven
On Wed, Oct 2, 2013 at 3:20 PM, wrote: > Where's the second piece of code? > The gist has two files in it. hth lvh ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Conch - Why does one piece of code "fail" while another works

2013-10-02 Thread exarkun
On 01:21 am, don...@stufft.io wrote: I have two pieces of code (see: https://gist.github.com/dstufft/9dc9978dc0af77e82f0c) one "works" (in that it fails verifying the host key like i'd expect) and one doesn't ("it never tries to verify the host key and just exists immediately). I don't unders

Re: [Twisted-Python] twisted linux netfilter_log protocol

2013-10-02 Thread Phil Mayers
On 02/10/13 09:25, David Stainton wrote: In examples of Twisted UDP clients they all do this: reactor.listenUDP(3000,MyProtocol()) What would I do instead? reactor.addReader makes sense to me since what I have is a file descriptor, and the reactor loop and use select or epoll find out when the

Re: [Twisted-Python] twisted linux netfilter_log protocol

2013-10-02 Thread David Stainton
In examples of Twisted UDP clients they all do this: reactor.listenUDP(3000, MyProtocol()) What would I do instead? reactor.addReader makes sense to me since what I have is a file descriptor, and the reactor loop and use select or epoll find out when there is data to read... and call our doRead()

Re: [Twisted-Python] Twisted Sprint Report (2013-09-23)

2013-10-02 Thread Richard Wall
On 30 September 2013 19:51, Hynek Schlawack wrote: > Am 30.09.2013 um 20:42 schrieb Glyph : > I have that on my todo-list since the beginning of time but never got around > to it. > Do you have a link to a Nevow bug in some tracker (launchpad, perhaps?) that > is tracking this? > Yes, I believe it

Re: [Twisted-Python] twisted linux netfilter_log protocol

2013-10-02 Thread Phil Mayers
On 10/02/2013 07:14 AM, David Stainton wrote: Hi, I am wondering how I should combine various twisted interfaces in a way that makes sense. It probably shows here... that I'm new to twisted. The Linux iptables can log packets to the netfilter_log which can give access to user space. I wrote a s