sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #14691
Re: [Question #214725]: Facing issue while importing Sikuli script in Eclipse
Question #214725 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/214725
Status: Answered => Open
ambiga is still having a problem:
Yeah.. i did a mistake by adding wrong source folder..
Then tried with the below script:
import os
import sys
for e in sys.path: print e
from sikuli import *
from myLib import *
myScriptPath = "C:\Users\ambigaj\Desktop.sikuli"
if not myScriptPath in sys.path: sys.path.append(myScriptPath)
import Desktop
reload (Desktop)
Facing the below error:
---------------------------
C:\Users\ambigaj\workspace\sample\src
C:\Users\ambigaj\workspace\sample\src
C:\Program Files\Sikuli X\sikuli-script.jar
C:\sikuli-script\lib\Lib
C:\jython2.5.3\Lib
C:\jython2.5.3\Lib\site-packages
C:\Program Files\Java\jre6\lib\resources.jar
C:\Program Files\Java\jre6\lib\rt.jar
C:\Program Files\Java\jre6\lib\jsse.jar
C:\Program Files\Java\jre6\lib\jce.jar
C:\Program Files\Java\jre6\lib\charsets.jar
C:\Program Files\Java\jre6\lib\ext\dnsns.jar
C:\Program Files\Java\jre6\lib\ext\localedata.jar
C:\Program Files\Java\jre6\lib\ext\sunjce_provider.jar
C:\Program Files\Java\jre6\lib\ext\sunmscapi.jar
C:\Program Files\Java\jre6\lib\ext\sunpkcs11.jar
__classpath__
__pyclasspath__/
Traceback (most recent call last):
File "C:\Users\ambigaj\workspace\sample\src\samp.py", line 12, in <module>
from sikuli import *
File "C:\sikuli-script\lib\Lib\sikuli\__init__.py", line 3, in <module>
from Sikuli import *
File "C:\sikuli-script\lib\Lib\sikuli\Sikuli.py", line 22, in <module>
from org.sikuli.script import Finder
java.lang.UnsatisfiedLinkError: C:\Users\ambigaj\AppData\Local\Temp\tmplib\VisionProxy.dll: Can'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.Finder.<clinit>(Finder.java:33)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.python.core.Py.loadAndInitClass(Py.java:909)
at org.python.core.Py.findClassInternal(Py.java:844)
at org.python.core.Py.findClassEx(Py.java:895)
at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)
at
org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28)
at
org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)
at
org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)
at org.python.core.PyObject.__findattr__(PyObject.java:863)
at org.python.core.imp.importFromAs(imp.java:1015)
at org.python.core.imp.importFrom(imp.java:987)
at sikuli.Sikuli$py.f$0(C:\sikuli-
script\lib\Lib\sikuli\Sikuli.py:211)
at sikuli.Sikuli$py.call_function(C:\sikuli-
script\lib\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:391)
at org.python.core.imp.createFromPyClass(imp.java:209)
at org.python.core.imp.loadFromSource(imp.java:572)
at org.python.core.imp.find_module(imp.java:478)
at org.python.core.PyModule.impAttr(PyModule.java:100)
at org.python.core.imp.import_next(imp.java:720)
at org.python.core.imp.import_module_level(imp.java:827)
at org.python.core.imp.importName(imp.java:917)
at
org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importAll(imp.java:1037)
at sikuli$py.f$0(C:\sikuli-script\lib\Lib\sikuli\__init__.py:3)
at sikuli$py.call_function(C:\sikuli-
script\lib\Lib\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:391)
at org.python.core.imp.createFromPyClass(imp.java:209)
at org.python.core.imp.loadFromSource(imp.java:572)
at org.python.core.imp.find_module(imp.java:478)
at org.python.core.imp.import_next(imp.java:718)
at org.python.core.imp.import_module_level(imp.java:827)
at org.python.core.imp.importName(imp.java:917)
at
org.python.core.ImportFunction.__call__(__builtin__.java:1220)
at org.python.core.PyObject.__call__(PyObject.java:357)
at org.python.core.__builtin__.__import__(__builtin__.java:1173)
at org.python.core.imp.importAll(imp.java:1037)
at
org.python.pycode._pyx0.f$0(C:\Users\ambigaj\workspace\sample\src\samp.py:17)
at
org.python.pycode._pyx0.call_function(C:\Users\ambigaj\workspace\sample\src\samp.py)
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:1275)
at
org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:235)
at org.python.util.jython.run(jython.java:247)
at org.python.util.jython.main(jython.java:129)
java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: C:\Users\ambigaj\AppData\Local\Temp\tmplib\VisionProxy.dll: Can't find dependent libraries
Kindly help me out in this.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.