New question #705855 on SikuliX:
https://answers.launchpad.net/sikuli/+question/705855

I have been using SikuliX on local, but when i try to install and run the 
script on Windows Server 2012 r2, the script does not detect images.

When I run the script from Sikulix IDE, it runs perfectly.
The script is as follows-
Settings.MouseMoveDelay = 0.0
date = datetime.date.today()
# Open Google Chrome
chrome_path = "C:/Program Files/Google/Chrome/Application/chrome.exe"
App.open(chrome_path)
wait(3)
# Open the website and login
type("https://.....";)
type(Key.ENTER)
wait("1677668502535.png", FOREVER) # Here the script stops 
click("1677668502535.png")

Problem arises when the script tries to find an image on the screen, then the 
scripts stops and following error can be seen on IDE and commandline 
respectively:
[error] RunTime:loadLib: libopencv_java430.so (failed) probably dependent libs 
missing
TERMINATING: problem with native library: libopencv_java430.so Exception in 
thread "main" java.lang.ExceptionInInitializerError 

I have tried installing the opencv for java, still the script fails to find the 
image.
Also setting up opencv, the error changes to Finder$FindInput, and the script 
stops on the same line as mentioned above.

Following are the steps i have used to install Sikulix.2.0.5.jar on Windows 
Server 2012 R2:
1. first i have installed jre8 on the system and set the PATH of java bin
2. second, I have downloaded the sikulix.jar file 
3. third, I run the script and following issues arises

@Raiman Please help me setup the sikulixide. I have been trying it over days 
now. I have been able to setup Sikulix IDE and run the script on two different 
Windows 10 local machines. But I am unable to setup Sikulix IDE on Windows 
Server 2012 R2. Although I am following the same steps ad instructions given on 
the website. A;so tried to make opencv ready. but same error arises

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

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to