Re: [Twisted-Python] twisted.protocols.basic.NetstringReceiver: Some errors are not visible

2010-07-14 Thread Carlos Valiente
On Wed, Jul 14, 2010 at 10:20, Albert Brandl wrote: > On Tue, Apr 06, 2010 at 11:47:48AM +0100, Carlos Valiente wrote: >> [...] >> The error message "netstring too long" is shadowed by the except >> block. I'd like to see it in my log files. > > The problems described in http://twistedmatrix.com/t

Re: [Twisted-Python] What is the minimum effort solution to make inetd-managed twisted-based application?

2010-07-14 Thread Alexey
On Wed, Jul 14, 2010 at 02:31:46AM -, exar...@twistedmatrix.com wrote: > I'll answer whatever questions I can. :) Oh, I have some questions... I asked some questions in the form of suggestions, well, don't take them seriously, I only ask, not really propose anything. However I'm ready to hear

Re: [Twisted-Python] SMTP Client Blocking Connects

2010-07-14 Thread Jarosław Fedewicz
On 14 лип. 2010, at 17:18, Konrads Smelkovs wrote: > Maybe there is a firewall that limits incoming connections? > -- > Konrads Smelkovs > Applied IT sorcery. Even if it drops packets, it should not block. It should return immediately with a Deferred, which will eventually fail. -- Engineer:

Re: [Twisted-Python] SMTP Client Blocking Connects

2010-07-14 Thread Konrads Smelkovs
Maybe there is a firewall that limits incoming connections? -- Konrads Smelkovs Applied IT sorcery. On Tue, Jul 13, 2010 at 3:51 AM, Jason J. W. Williams < jasonjwwilli...@gmail.com> wrote: > Hi Guys, > > Are TCP connects in Twisted usually blocking? Noticing a behavior when > I've got several s

Re: [Twisted-Python] Knowing whether spawnProcess did anything useful

2010-07-14 Thread Dominic van Berkel
On 14-7-2010 4:34, exar...@twistedmatrix.com wrote: > Without the reactor running, neither the pid nor the status will ever be > updated. The event loop is needed in order to respond to the event of > the child process exiting. > Knew I was forgetting something - starting the reactor would pr

Re: [Twisted-Python] twisted.protocols.basic.NetstringReceiver: Some errors are not visible

2010-07-14 Thread Albert Brandl
On Tue, Apr 06, 2010 at 11:47:48AM +0100, Carlos Valiente wrote: > [...] > The error message "netstring too long" is shadowed by the except > block. I'd like to see it in my log files. The problems described in http://twistedmatrix.com/trac/ticket/4378 have been fixed now. Would you like to creat