Hi

Its a fundamental (at least for cpython) artifact of signals and threads 
that  only the main thread can set signal masks/recieve signals.

Your probably running in a threaded server and a child thread is trying to 
utilise the ssh client lib  which is trying to set a signal mask, hence the 
error.

I would suggest your strategy as currently planned won't work.

Alternate strategies might be to 

* run the ssh client in a subprocess connected via a pipe  (not sure 
what/how you plan to communicate over the ssh channel, so not sure if this 
will work for you).
* look at alternate servers that don't use threads (may be twisted) though 
this is a guess.
* look at an alternate implementation of ssh that doesn't set signal masks 
(don't know if one exists)

Rgds

Tim

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/zf6s6-CBM7AJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to