No handlers found for paramiko.transport registrar,

I run some stunt tasks inside the bulb. The checkbox works inside wsgi in apache. From time to time I get this error in apache logs:

No handlers found for registrar "paramiko.transport"

Then I need to restart apache for tasks that are called through the jar in order to work again.

Any ideas here ... I am running Ubuntu 12.04

Fabric==1.5.3 paramiko==1.9.0 pycrypto==2.6 Flask==0.9 
-one
flask fabric pycrypto
source share
2 answers

It seems like the answer was to add disconnect_all () to all my functions. Now the problem seems to be gone.

+1
source share

I found a solution for paramiko from this site: https://translate.google.com/translate?hl=en&sl=zh-CN&tl=en&u=http%3A%2F%2Fwww.ouvps.com%2F%3Fp%3D869

Basically, you just need to add a line

paramiko.util.log_to_file ("filename.log")

Then all connections will be written to the file

Not sure where to put this string in the fabric

0
source share

All Articles