← Back to team overview

sikuli-driver team mailing list archive

[Question #255690]: Running Sikuli Using XVFB Window Manager is showing error.. Please help...

 

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

Hi,

We are trying to run Sikuli in Linux Centos using XVFB ...

Try 1 :
Installed XVFB on the Linux centos
Installed a window manager to it - Fluxbox
Installed vnc server and accessed the XVFB using vnc
When i try to launch Sikuli - IDE using  both of the below commands, it started fine
 java -jar Sikuli-IDE.jar
 sh Sikuli-IDE.sh

But when i try to run the scripts it is showing this error 
[sikuli] Stopped
[sikuli] An error occurs at line 1
[sikuli] Error message:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/Sikuli-IDE/sikuli-script.jar/Lib/sikuli/Sikuli.py", line 18, in <module>
java.lang.UnsatisfiedLinkError: /usr/Sikuli-IDE/tmplib/libScreenMatchProxy.so: libcv.so.4: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
	at java.lang.Runtime.load0(Runtime.java:790)
	at java.lang.System.load(System.java:1025)
	at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
	at edu.mit.csail.uid.Finder.<clinit>(Finder.java:16)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:190)
	at org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)


Note:
In the same linux box, when we try to install ubantu and access Sikuli from it, the scripts are running fine. 
So which means all the requires packages and the links are setup correctly in that machine.
But i am not sure why the same scripts are not running in XVFB in the same machine.

Please share your thoughts..
Thank you so much for your time and support




-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.