Re: [paramiko] Problem with Solaris 5.9

2010-04-23 Thread Robey Pointer
On 13 Apr 2010, at 09:42, Marcin Krol wrote:

 Hello James,
 
 I swear it's real this time. :-)
 
 So I have this code:
 
try:
channel = transport.open_session()
except Exception, e:
return str(e)
 
 
 ..and I traced execution of the program in winpdb:
 
 
 1. before channel = transport.open_session() I have transport alive:
 
 transport paramiko.Transport at 0xB21578CCL (cipher blowfish-cbc, 128 bits) 
 (active; 0 open channel(s))
 
 
 
 2. after channel = transport.open_session() transport becomes dead for some 
 reason:
 
 transport paramiko.Transport at 0xB21578CCL (unconnected)
 
 
 FWIW,
 
 channel becomes None after the call.

Try turning on the debug log on the paramiko side -- what does it say?

robey


___
paramiko mailing list
paramiko@lag.net
http://www.lag.net/cgi-bin/mailman/listinfo/paramiko


[paramiko] Problem with Solaris 5.9

2010-04-13 Thread Marcin Krol

Hello James,

I swear it's real this time. :-)

So I have this code:

try:
channel = transport.open_session()
except Exception, e:
return str(e)


..and I traced execution of the program in winpdb:


1. before channel = transport.open_session() I have transport alive:

transport paramiko.Transport at 0xB21578CCL (cipher blowfish-cbc, 128 
bits) (active; 0 open channel(s))




2. after channel = transport.open_session() transport becomes dead for 
some reason:


transport paramiko.Transport at 0xB21578CCL (unconnected)


FWIW,

channel becomes None after the call.




--

Regards,
mk

--
Premature optimization is the root of all fun.

___
paramiko mailing list
paramiko@lag.net
http://www.lag.net/cgi-bin/mailman/listinfo/paramiko