sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30337
Re: [Question #260994]: Jar Creation
Question #260994 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/260994
snick3rs posted a new comment:
Hi RaiMan,
i am getting kind of same error on Mac OS Yosemity.
It seems that the required libraries (libs) cannot be extracted to the directory where the .jar file is:
.[error] ResourceLoader: check: No valid libs path available until now!
[log] ResourceLoader: check: Please wait! Trying to extract libs to jar parent folder:
/Users/.../Desktop/
[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (x86_64): /Users/.../Desktop/libs
[error] ResourceLoader: check: Fatal Error 103: No valid native libraries folder available - giving up!
[error] ***** Terminating SikuliX after a fatal error 103 *****
I had the same problem on my Windows 8 computer which i solved with
creating a .batch file (starts the .jar file). When i opened the .batch
file as an administrator, the libraries have been extracted successfully
and the script was running.
When i created the .jar file, i included all required librabries (here
sikulix, selenium webdriver and junit) into the runnable jar file.
When i excluded the libraries i got this error message:
.[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (x86_64): /Users/.../Desktop/webdriver_lib/libs
[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (x86_64): /Users/.../Desktop/webdriver_lib/libs
[error] ResourceLoader: loadLib: Fatal Error 109: not found: /Users/.../Desktop/webdriver_lib/libs/libVisionProxy.dylib
Is there any workaround for macintosh computers?
Another question:
For test automation i would like to use maven to get SikuliX. At the
moment i only get sikuli-script.jar. As i have seen, sikulix should be
avaivable soon with maven. Any news about that?
Thanks for your reply.
Kind regards,
Mathias
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.