Can it be, that the script to run is on a device, that is not available at runtime or blocks somehow?
The difference is, that the message " Runner: runscript: running script: " does not come up, which means, that there is a silent problem on the way from startup, which leads to the termination. I have to look into the implementation, how availability of script files is checked and documented with the -r parameter. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to SikuliX. https://bugs.launchpad.net/bugs/1966437 Title: Sometimes Sikuli fails to run on Ubuntu 20.04 Status in SikuliX: New Bug description: Sikuli version: 2.0.5 Operating System: Ubuntu 20.04 64-bit Java: openjdk 11.0.14 Summary: -------- We have a Jenkins automated test that runs nightly using Sikuli. Most of the time everything works just fine. Intermittently the test will fail in a peculiar way. When it fails in this manner, it looks like Sikuli fails to start properly. Details: -------- Our shell script is starting Sikuli as follows: export DISPLAY=:0 && java -jar sikulixide-2.0.5.jar -v -d 3 -r $d Where $d is the path to the Sikuli script to run. We added the "-v -d 3" parameters in an attempt to troubleshoot this bug but now we're stuck with the output that we have and need help getting further. I'll attach two log files showing the different output between a passed and failed run. From the passed run: [1021 debug] RunTime:loadLib: libJXGrabKey.so (success) [1052 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9) [1054 debug] Runner: runscript: running script: /home/user/shared/testsystem/display_api/C/testSDLGCWindow.sikuli/testSDLGCWindow.py [1055 debug] JythonRunner: starting initialization From the failed run: [987 debug] RunTime:loadLib: libJXGrabKey.so (success) [1013 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9) [1483 debug] RunTime:***** final cleanup at System.exit() ***** What else can we do to help debug this issue? Thanks To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1966437/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp