← Back to team overview

sikuli-driver team mailing list archive

[Question #674952]: Unable to launch sikuli command from Ansible

 

New question #674952 on Sikuli:
https://answers.launchpad.net/sikuli/+question/674952



I am trying to launch the sikuli command  "java -jar /root/Downloads/sikulix.jar -r /root/samplesikuli.sikuli" through the ansible playbook. the command is taken as the task in the playbook which is run through the command attribute.


The command runs on the remote server when run through the command line.But it fails in the above case

Error: 

FAILED! => {"changed": true, "cmd": "java -jar /root/Downloads/sikulix.jar -r /root/samplesikuli.sikuli", "delta": "0:00:17.252117", "end": "2018-10-10 10:43:53.592569", "msg": "non-zero return code", "rc": 1, "start": "2018-10-10 10:43:36.340452", "stderr": "", "stderr_lines": [], "stdout": "[error] script [ /root/samplesikuli.sikuli ] stopped with error in line 3\n[error] FindFailed ( 1539080401202.png: (87x37) in S(0)[0,0 1024x768] E:Y, T:3.0 )", "stdout_lines": ["[error] script [ /root/samplesikuli.sikuli ] stopped with error in line 3", "[error] FindFailed ( 1539080401202.png: (87x37) in S(0)[0,0 1024x768] E:Y, T:3.0 )"]}

I have also tried giving the full path of the images in the .py file.



-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.