Re: [Twisted-Python] [Twisted] #5437: sys.settrace(None) in process.py raises RuntimeError in debugger

2011-12-20 Thread Bob Novas
Well, what wing's debugger does is to raise RuntimeError, and NOT CONTINUE to execute that path. So the child never runs. That's bad! What more can I say? I have to comment out that line every time I run on a new installation if I want to debug in linux (Windows doesn't go down that code path).

[Twisted-Python] FW: Large (GB) File Upload

2012-07-28 Thread Bob Novas
Hi - I'd like some guidance, please, on writing a TCPServer that can efficiently receive and process (to a database) large files received from a browser client form (multipart/form-data). I'd like to be able to process the command and headers without waiting for allContentReceived, if possible. In

[Twisted-Python] How to disconnect an HTTP connection and notify the far end

2013-09-18 Thread Bob Novas
I've got a question on how to explicitly disconnect a connection from the client side so that the server side knows that the connection has been disconnected. I'd be happy if this worked even with no guarantees, i.e., only when the client and server were in fact well-connected. It's just an optimiz

[Twisted-Python] Question on log time stamp precision

2014-01-19 Thread Bob Novas
The log is very valuable to me for debugging, but I'd love to know how to improve the precision of the time stamp. My log shows stuff like this: 2014-01-19 12:44:37-0500 [-] 'SCPProtocol.ackNotReceived: aa23827e20547c6aca71ecfcdeb486a99fe6cf314e1b84e687296821a8ca423a' 2014-01-19 12:44:37-0