Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VDSM on ununtu 15.4 #1

Open
AyliD opened this issue Apr 10, 2016 · 0 comments
Open

VDSM on ununtu 15.4 #1

AyliD opened this issue Apr 10, 2016 · 0 comments

Comments

@AyliD
Copy link

AyliD commented Apr 10, 2016

I was using your code and ubuntu installatio script and got error...

Traceback (most recent call last):
File "/tmp/a/vdsm-ubuntu/lib/cpopen/tests.py", line 78, in testNoCloseFds
self._subTest("nofds", [str(fds[1])], close_fds=False)
File "/tmp/a/vdsm-ubuntu/lib/cpopen/tests.py", line 61, in _subTest
_args, *_kwargs)
File "/tmp/a/vdsm-ubuntu/lib/cpopen/init.py", line 49, in init
stderr=PIPE)
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
TypeError: _execute_child() takes exactly 17 arguments (18 given)

I changed your code in "lib/cpopen/init.py" when executing the method "_execute_child" added False as value to "to_close"

def _execute_child(self, args, executable, preexec_fn, close_fds,
cwd, env, universal_newlines,
startupinfo, creationflags, shell, False,
p2cread, p2cwrite,
c2pread, c2pwrite,
errread, errwrite):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant