← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #185595]: Sikuli IDE hangs when I click take screen shot

 

Question #185595 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/185595

    Status: Answered => Open

sgr is still having a problem:
i've reinstalled java... :P
i got the location  as
"C:\Program Files\java\jre6\bin".

i tried "java -jar "C:\Program Files\Sikuli X\sikuli-script.jar" -i"


The reply was as follows: 


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\SGR>java -jar "C:\Program Files\Sikuli X\sikuli-script
.jar" -i
[info] Sikuli vision engine loaded.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\__init__.py", lin
e 1, in <module>
  File "C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\Sikuli.py", line
25, in <module>
java.lang.UnsatisfiedLinkError: C:\Program Files\Sikuli X\libs\Win32Util.dll: Ca
n't find dependent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.load0(Unknown Source)
        at java.lang.System.load(Unknown Source)
        at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader
.java:44)
        at org.sikuli.script.Win32Util.<clinit>(Win32Util.java:14)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.sikuli.script.Env.getOSUtil(Env.java:84)
        at org.sikuli.script.App.<clinit>(App.java:4)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java:10
7)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.python.core.Py.findClassEx(Py.java:817)
        at org.python.core.packagecache.SysPackageManager.findClass(SysPackageMa
nager.java:133)
        at org.python.core.packagecache.PackageManager.findClass(PackageManager.
java:28)
        at org.python.core.packagecache.SysPackageManager.findClass(SysPackageMa
nager.java:122)
        at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)

        at org.python.core.PyObject.__findattr__(PyObject.java:869)
        at org.python.core.imp.import_name(imp.java:771)
        at org.python.core.imp.importName(imp.java:806)
        at org.python.core.ImportFunction.__call__(__builtin__.java:1232)
        at org.python.core.PyObject.__call__(PyObject.java:367)
        at org.python.core.__builtin__.__import__(__builtin__.java:1202)
        at org.python.core.imp.importFromAs(imp.java:884)
        at org.python.core.imp.importFrom(imp.java:860)
        at sikuli.Sikuli$py.f$0(C:\Program Files\Sikuli X\sikuli-script.jar\Lib\
sikuli\Sikuli.py:209)
        at sikuli.Sikuli$py.call_function(C:\Program Files\Sikuli X\sikuli-scrip
t.jar\Lib\sikuli\Sikuli.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:165)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.imp.createFromCode(imp.java:326)
        at org.python.core.util.importer.importer_load_module(importer.java:109)

        at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipi
mporter.java:161)
        at org.python.modules.zipimport.zipimporter$zipimporter_load_module_expo
ser.__call__(Unknown Source)
        at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.
java:47)
        at org.python.core.imp.loadFromLoader(imp.java:451)
        at org.python.core.imp.find_module(imp.java:408)
        at org.python.core.PyModule.impAttr(PyModule.java:109)
        at org.python.core.imp.import_next(imp.java:637)
        at org.python.core.imp.import_name(imp.java:746)
        at org.python.core.imp.importName(imp.java:806)
        at org.python.core.ImportFunction.__call__(__builtin__.java:1232)
        at org.python.core.PyObject.__call__(PyObject.java:367)
        at org.python.core.__builtin__.__import__(__builtin__.java:1202)
        at org.python.core.__builtin__.__import__(__builtin__.java:1185)
        at org.python.core.imp.importAll(imp.java:904)
        at sikuli$py.f$0(C:\Program Files\Sikuli X\sikuli-script.jar\Lib\sikuli\
__init__.py:1)
        at sikuli$py.call_function(C:\Program Files\Sikuli X\sikuli-script.jar\L
ib\sikuli\__init__.py)
        at org.python.core.PyTableCode.call(PyTableCode.java:165)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.imp.createFromCode(imp.java:326)
        at org.python.core.util.importer.importer_load_module(importer.java:109)

        at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipi
mporter.java:161)
        at org.python.modules.zipimport.zipimporter$zipimporter_load_module_expo
ser.__call__(Unknown Source)
        at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.
java:47)
        at org.python.core.imp.loadFromLoader(imp.java:451)
        at org.python.core.imp.find_module(imp.java:408)
        at org.python.core.imp.import_next(imp.java:635)
        at org.python.core.imp.import_name(imp.java:746)
        at org.python.core.imp.importName(imp.java:806)
        at org.python.core.ImportFunction.__call__(__builtin__.java:1232)
        at org.python.core.PyObject.__call__(PyObject.java:367)
        at org.python.core.__builtin__.__import__(__builtin__.java:1202)
        at org.python.core.__builtin__.__import__(__builtin__.java:1185)
        at org.python.core.imp.importAll(imp.java:904)
        at org.python.pycode._pyx0.f$0(<string>:1)
        at org.python.pycode._pyx0.call_function(<string>)
        at org.python.core.PyTableCode.call(PyTableCode.java:165)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.Py.runCode(Py.java:1204)
        at org.python.core.Py.exec(Py.java:1248)
        at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
        at org.python.util.jython.run(jython.java:279)
        at org.python.util.jython.main(jython.java:129)
        at org.sikuli.script.SikuliScript.startInteractiveMode(SikuliScript.java
:84)
        at org.sikuli.script.SikuliScript.main(SikuliScript.java:97)

java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: C:\Program Files
\Sikuli X\libs\Win32Util.dll: Can't find dependent libraries

C:\Documents and Settings\SGR>

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