Open
Description
When trying to run/install getml-enterprise (with the monitor) on a wsl2 ubuntu distribution (24.04) I get the following permission error:
(.venv) joachim@LAPTOP-TGARJR02:~/.getML/getml-1.4.0-x64-linux$ sudo ./getML
[sudo] password for joachim:
Installing getML...
Successfully installed getML into '/usr/local/getML/getml-1.4.0-x64-linux'.
2024/09/20 09:03:48 fork/exec /usr/local/getML/getml-1.4.0-x64-linux/bin/getml-monitor: permission denied
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0xa0 pc=0x50e538]
goroutine 1 [running]:
os/exec.(*Cmd).Wait(0xc000157e60?)
/usr/local/go/src/os/exec/exec.go:502 +0x18
main.main()
/home/getml/storage/monorepo/src/getml-app/src/main.go:76 +0x492
I entcountered that problem already before on another wsl distro. I could fix the problem by executing:
chmod +x /usr/local/getML/getml-1.4.0-x64-linux/bin/getml-monitor
#that one because otherwise I could not start the engine from vs code interactive ...
chmod +x /home/joachim/.getML/getml-1.4.0-x64-linux/bin/getml-1.4.0-x64-linux-engine
That worked:
(.venv) joachim@LAPTOP-TGARJR02:~/.getML/getml-1.4.0-x64-linux$ sudo ./getML
Installing getML...
Successfully installed getML into '/usr/local/getML/getml-1.4.0-x64-linux'.
getML - Automated Feature Learning for Relational Data and Time Series.
version: getml-1.4.0-x64-linux
Please open a browser and point it to the following URL:
http://localhost:1709/
But I think there could be something wrong with the installer or it should handle that case more gracefully giving the user instructions.