Trouble with MAc OSX 10.10

Asked by Armel

Hy,

I've try to install Sikulix 1.1.0 on Mac OSX 10.10.

The installation seems to be ok, and I've place SikuliX. app on Application Folder.

So, I've try to use it in command line, and I've an error with libVisionProxy.dylib.

see bellow the log :

Mac-mini-de-ValidDIP:test ValidDIP$ java -jar sikulix.jar -d 3 -c
[debug] Running on Java 8 (1.8.0_31-b13)
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] 3: -c
[debug] ScriptRunner: initScriptingSupport: enter
[debug] JythonScriptRunner: init: setting java environment python.path:
/Users/ValidDIP/work/test/sikulix.jar/Lib
[debug] ScriptRunner: initScriptingSupport: added: jython
[debug] ScriptRunner: initScriptingSupport: warning: org.sikuli.scriptrunner.IScriptRunner: Provider org.sikuli.scriptrunner.JRubyScriptRunner could not be instantiated
[debug] ScriptRunner: initScriptingSupport: exit with defaultrunner: jython (py)
[debug] ResourceLoader: SikuliX Package Build: 1.1.0 2015-01-16_01:00nightly
[debug] ResourceLoader: check: we are running on arch: x86_64
[debug] ResourceLoader: check: using Java at: /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/
[debug] ResourceLoader: check: Exists libs folder at location of jar? YES: /Users/ValidDIP/work/test/
[debug] ResourceLoader: checkLibsDir: trying: /Users/ValidDIP/work/test/libs
[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (x86_64): /Users/ValidDIP/work/test/libs
[debug] ResourceLoader: check: libs dir is empty, has wrong content or is outdated
[debug] ResourceLoader: check: Trying to extract libs to: /Users/ValidDIP/work/test/libs
[debug] FileManager: deleteFileOrFolder: filtered:
/Users/ValidDIP/work/test/libs
[debug] ResourceLoader: extractLibs: from: /Users/ValidDIP/work/test/sikulix.jar
[debug] ResourceLoader: extractLibs: Found 0 Files in META-INF/libs/mac/libs64/
[debug] ResourceLoader: checkLibsDir: trying: /Users/ValidDIP/work/test/libs
[error] ResourceLoader: checkLibsDir: Not a valid libs dir for SikuliX (x86_64): /Users/ValidDIP/work/test/libs
[error] ResourceLoader: loadLib: Fatal Error 109: not found: /Users/ValidDIP/work/test/libs/libVisionProxy.dylib
[error] ***** Terminating SikuliX after a fatal error 109 *****
It makes no sense to continue!
If you do not have any idea about the error cause or solution, run again
with a Debug level of 3. You might paste the output to the Q&A board.
[debug] Sikulix: cleanUp: 0
Exception in thread "main" java.lang.ExceptionInInitializerError
 at org.sikuli.script.Location.getScreen(Location.java:127)
 at org.sikuli.ide.SikuliIDE.initSikuliIDE(SikuliIDE.java:338)
 at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:321)
Caused by: java.lang.NullPointerException
 at org.sikuli.script.Screen.getPrimaryScreen(Screen.java:321)
 at org.sikuli.script.Sikulix.cleanUp(Sikulix.java:199)
 at org.sikuli.script.Sikulix.terminate(Sikulix.java:180)
 at org.sikuli.basics.ResourceLoader.loadLib(ResourceLoader.java:858)
 at org.sikuli.basics.FileManager.loadLibrary(FileManager.java:83)
 at org.sikuli.script.Screen.<clinit>(Screen.java:56)
 ... 3 more
[debug] IDE: final cleanup
[debug] FileManager: deleteFileOrFolder: /var/folders/ky/5g03czz90t9bqt8t53xh29gc0000gn/T/Sikulix

Could you help me ?

Tks

Armel

Question information

Language:
English Edit question
Status:
Solved
For:
CentOS Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

the sikulix.jar does not seem to be ok.

So purge everything and start again.
Check the setup log after setup for errors.

Revision history for this message
Armel (armel-francoise) said :
#2

Thanks RaiMan, that solved my question.