I am running the following commands:
fabric.api.sudo('. environment/complete_environment ; ps -ef', pty = False)
And the ssh connections are never finishing. Exiting my program with sys.exit causes (sometimes) python interpreter errors.
Exception in thread Thread-6 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
File "/usr/local/lib/python2.6/dist-packages/ssh/transport.py", line 1579, in run
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'error'
Is there something I must consider?
Thanks,
Daniel Gonzalez