for users of other distributions:
you have to apply this patch to python-eventlet:
Description: Prevent subprocess module from rewrapping GreenPipes Author: Soren Hansen <email address hidden> Forwarded: https://bitbucket.org/which_linden/eventlet/issue/77/subprocess-module-fails-if-os-module-is Last-Update: 2011-02-14
Index: python-eventlet-0.9.14/eventlet/green/subprocess.py =================================================================== --- python-eventlet-0.9.14.orig/eventlet/green/subprocess.py 2011-02-14 11:31:39.917609581 +0100 +++ python-eventlet-0.9.14/eventlet/green/subprocess.py 2011-02-14 11:31:45.767618158 +0100 @@ -27,7 +27,7 @@ # eventlet.processes.Process.run() method. for attr in "stdin", "stdout", "stderr": pipe = getattr(self, attr) - if pipe is not None: + if pipe is not None and not type(pipe) == greenio.GreenPipe: wrapped_pipe = greenio.GreenPipe(pipe, pipe.mode, bufsize) setattr(self, attr, wrapped_pipe) __init__.__doc__ = subprocess_orig.Popen.__init__.__doc__
for users of other distributions:
you have to apply this patch to python-eventlet:
Description: Prevent subprocess module from rewrapping GreenPipes /bitbucket. org/which_ linden/ eventlet/ issue/77/ subprocess- module- fails-if- os-module- is
Author: Soren Hansen <email address hidden>
Forwarded: https:/
Last-Update: 2011-02-14
Index: python- eventlet- 0.9.14/ eventlet/ green/subproces s.py ======= ======= ======= ======= ======= ======= ======= ======= ==== eventlet- 0.9.14. orig/eventlet/ green/subproces s.py 2011-02-14 11:31:39.917609581 +0100 eventlet- 0.9.14/ eventlet/ green/subproces s.py 2011-02-14 11:31:45.767618158 +0100 processes. Process. run() method.
pipe = getattr(self, attr)
wrapped_ pipe = greenio. GreenPipe( pipe, pipe.mode, bufsize)
setattr( self, attr, wrapped_pipe)
__init_ _.__doc_ _ = subprocess_ orig.Popen. __init_ _.__doc_ _
=======
--- python-
+++ python-
@@ -27,7 +27,7 @@
# eventlet.
for attr in "stdin", "stdout", "stderr":
- if pipe is not None:
+ if pipe is not None and not type(pipe) == greenio.GreenPipe: