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

chapter 9 conductR - sandbox init with no module named 'fcntl' #14

Open
cavapoo2 opened this issue Jul 13, 2017 · 4 comments
Open

chapter 9 conductR - sandbox init with no module named 'fcntl' #14

cavapoo2 opened this issue Jul 13, 2017 · 4 comments

Comments

@cavapoo2
Copy link

Hi Christian, I'm using windows10, with docker toolkit. did you get it to work on windows or just linux ?

@cmbaxter
Copy link
Owner

Of all the Akka tools used in the book this was the one I had the least experience with. It was a really new and immature technology when I wrote the book last year. I got everything working fine in my MacBook Pro but this part was not fully tested on Windows. Looks like the Akka team are using some Python calls, namely fcntl, that are not available on Windows. I apologize for any inconvenience this is causing you.

If you really want to push ahead then maybe look at the second answer from this stackoverflow post. It may get you unstuck.

https://stackoverflow.com/questions/1422368/fcntl-substitute-on-windows

@cavapoo2
Copy link
Author

I spoke to a guy at lightbend. He said windows is not supported for the sandbox. The cli runs on windows (i assume he means the conductr commands). He said i could try running an ubuntu vm (virtual box) and install the cli / java on that. Problem is that docker toolbox is not available from ubuntu, just mac and windows. I might have a look at this fcntl substitute.

@cmbaxter
Copy link
Owner

Ok. Apologies again. Testing the sandbox on Windows must have fallen through the cracks. Hopefully you can find a solution that works.

@ayonsanyal
Copy link

I too had this issue but, the stackoverflow solution worked for me. However,I am getting an issue while running the sand box. I am getting the below error:
C:\Users\AYON SANYAL>docker version
Client:
Version: 17.09.0-ce
API version: 1.32
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:40:09 2017
OS/Arch: windows/amd64

Server:
Version: 17.09.0-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:45:38 2017
OS/Arch: linux/amd64
Experimental: true

C:\Users\AYON SANYAL>sandbox run 1.2.23 -n 3 --feature visualization
Error: Docker is not installed.
Error: We recommend to use one of following the Docker distributions depending on your OS:
Error: Linux: Docker Engine
Error: MacOS: Docker for Mac
Error: For more information checkout: https://www.docker.com/products/overview

I am able to see that docker is installed on my machine ,but i am getting the above mentioned error.
Can anyone please help if i am missed anything?

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

3 participants