mastering-akka
mastering-akka copied to clipboard
chapter 9 conductR - sandbox init with no module named 'fcntl'
Hi Christian, I'm using windows10, with docker toolkit. did you get it to work on windows or just linux ?
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
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.
Ok. Apologies again. Testing the sandbox on Windows must have fallen through the cracks. Hopefully you can find a solution that works.
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?