I’ve been trying to setup the sailfish IDE without success on Arch Linux.
Build docker works, connection test to the emulator works. Deploying to emulator fails despite my efforts to try to change the ip as described in another thread.
ssh: connect to host 10.220.220.1 port 22: Connection timed out
My emulator is given the 172.19.0.1 address, since 172.17.0.1 is taken by docker0.
Tried to deploy to an Xperia 10 instead and the IDE is stuck with using aarch64 for it, despite my efforts to push it to use armv7hl, so not working either.
Tried to reinstall it all several times.
Can someone point me to the right direction to build and deploy the basic hello world ? Thanks in advance
I had the same problem, but I switched to VirtualBox and that solved it. Admittedly, using Docker would mean lower resource usage by the VMs and everything would run faster, but I didn’t look into the issue any further.
Thank you for the suggestion, I tried that twice. I don’t know if there are still problems with the build since this choice seems to break the emulator installation
Error during installation process (org.merproject.emulators.emulator_latest):
Execution failed (Unexpected exit code: 1): “/usr/bin/VBoxManage storageattach SailfishOS-5.1.0.11 --storagectl SATA --port 0 --medium /home/sezuo/Laborejo/Programado/sailfish/SailfishOS/emulator/SailfishOS-5.1.0.11/sailfishos.vdi --type hdd --mtype normal”
Error during installation process (org.merproject.emulators.emulator4qtcreator_latest):
Execution failed (Unexpected exit code: 1): “/usr/bin/VBoxManage snapshot SailfishOS-5.1.0.11 take 5.1.0.11 --description Snapshot taken by the SDK Installer/Maintenance Tool”
I thought that QML looked easy enough for prototyping, I was not expecting the IDE to be the sore point ><. I should investigate that further but run out of time, so I will post an update here if I find a solution, and if not, I will find another hobby.
There is a connection test in the settings of qtcreator, iirc under emulator setttings (and build engine has one too). It should show more info on why it fails.
Both tests work without issue on the docker install.
Issue has been documented in the link I gave: the emulator IP is hard-coded in the build docker as 172.17.0.1, but that IP is not used when there already is another app there. In archlinux this is the default network from docker : docker0. Instead, the docker is given the next free address, in my case 172.19.0.1. Changing the hard-coded IP seem to have worked for some, but did not for me. (Note that the IP has to be changed both on the build docker and in the emulator).
I had to do some networking shenanigans which I have to reapply after every reboot so I saved it to a script. Can you remind me tomorrow to share it with you? I had the exact same issue.
Replace <username> with your own or generally check the container name. The vboxdrv might not be needed, that’s from a different issue which my laptop has.