Re: [Twisted-Python] OT - adbapi, connection timeouts, mysql - OT

2009-08-24 Thread Garret Heaton
On Mon, Aug 24, 2009 at 3:53 PM, Phil Christensen wrote: > On Aug 24, 2009, at 2:58 PM, Garret Heaton wrote: > > There is a solution to the reconnection issue posted > herewhich > one of my friends improved upon. He wasn't

Re: [Twisted-Python] OT - adbapi, connection timeouts, mysql - OT

2009-08-24 Thread Don Dwiggins
Phil Christensen wrote: > The thing that would concern me is that you can get a ConnectionLost > error for a variety of different reasons, and they might not be raised > by the first query issued in your interaction. > > I feel like I can think of any number of ways running the same series of >

[Twisted-Python] Re : Telnet server using Twisted and AuthenticatingTelnetProtocol

2009-08-24 Thread filoufake-python
Thank you Jean-Paul for replying, I still have some things that I don't understand: If I put your piece of code in my factory's protocol, I can connect to the server but as soon as I enter the username, I got the an error message telling that Server doesn't support "will" ('Server' object has n

Re: [Twisted-Python] OT - adbapi, connection timeouts, mysql - OT

2009-08-24 Thread Phil Christensen
On Aug 24, 2009, at 2:58 PM, Garret Heaton wrote: There is a solution to the reconnection issue posted here which one of my friends improved upon. He wasn't on the list at the time of this posting so I'm replying to this on his behalf. The improved solution is: [snip] # try the

Re: [Twisted-Python] SFTP 2.

2009-08-24 Thread Paul Swartz
(cc-ing the mailing list to move the discussion there) On Fri, Aug 14, 2009 at 2:31 AM, Simply4IT wrote: > Dear Paul, > > unfortunately I was not really specific in what do I really want to achieve. > I would like to be able to send and receive files through a secure > connection. I don't really n

Re: [Twisted-Python] OT - adbapi, connection timeouts, mysql - OT

2009-08-24 Thread Garret Heaton
There is a solution to the reconnection issue posted herewhich one of my friends improved upon. He wasn't on the list at the time of this posting so I'm replying to this on his behalf. The improved solution is: class Reconnec