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

The process has been signaled with signal "4". #128

Open
vladdancer opened this issue Jun 28, 2016 · 1 comment
Open

The process has been signaled with signal "4". #128

vladdancer opened this issue Jun 28, 2016 · 1 comment

Comments

@vladdancer
Copy link

When I run terra environment:enable I get an error

[Symfony\Component\Process\Exception\RuntimeException]
The process has been signaled with signal "4".

So I've run with -vvv and it seems that EnvironmentFactory->enable() throws an exception when try to execute new Process('docker-compose up -d', $this->getDockerComposePath())

I'm using MacBook (13-inch, Mid 2010), I've found issue about docker-compose
docker/compose#1885

This is happening because by default, Homebrew builds Python with all of the optimizations that the build machine can support. Assuming the build is happening on a Mac with a Sandy Bridge or newer processor, those optimizations will include the use of AVX instructions.

So the fix was to run pip install docker-compose

I leave it here if someone may need a workaround.

@jonpugh
Copy link
Member

jonpugh commented Aug 6, 2016

Thanks, @vladdancer! Installing docker-compose is not so much a workaround as a requirement!
;)

We should do more to detect missing docker-compose and inform the user on how to install it.

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

2 participants