Sikuli Scripts developed in Windows8 is not working in Linux centos

Asked by Deepan

HI All,

I have developed some scripts in Windows 8.
We wanted to run those scripts in linux centos.
Hence installed a Gnome desktop in linux centos. Accessed it via VNC and set up the Sikuli there.
When i created a new sikuli script in the linux box, it is working perfectly
But when i load the script which i created in windows it is showing this error , when it hits the line where it has to recogonize an image which is created in Windows.

FindFailed: FindFailed: ImageFile null not found on disk

I checked under that script folder whether that image exists. But it exists.

I am using this command to launch the chrome
 App.open("/usr/bin/google-chrome-stable %U --start-maximized")

Can you please help.

Thank you so much for your time.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Eugene S (shragovich) said :
#1

Hi,
Are you sure you have set the images location path properly?
You can use this command to do that:

setBundlePath(path-to-a-folder)

http://doc.sikuli.org/globals.html#setBundlePath

Can you help with this problem?

Provide an answer of your own, or ask Deepan for more information if necessary.

To post a message you must log in.