What steps will reproduce the problem? 1. Call a non-existent node 2. Get Exception exceptions.AttributeError: "'Connection' object has no attribute '_tranport_live'"...
because there is a missing
self._tranport_live = False
after the line
Begin the SSH transport.
- PS: Would be nice to have variable name spelt correctly as well ;-)
What is the expected output? What do you see instead? Not this error.
What version of the product are you using? On what operating system? Rev 9, Python2.7 on Redhat Linux
Please provide any additional information below.
Comment #1
Posted on Oct 8, 2013 by Massive CamelExample code:
import pysftp
try: srv = pysftp.Connection(host='xxx', username='yyy', password='zzz') except: print '============= Connection Exception =============='
Comment #2
Posted on May 10, 2014 by Grumpy Monkeymigrated
https://bitbucket.org/dundeemt/pysftp/issue/13/close-attribute-error
Status: Duplicate
Labels:
Type-Defect
Priority-Medium