← Back to team overview

sikuli-driver team mailing list archive

[Bug 514939] Re: Cannot run any script

 

Yes it can be frustrating, I really feel with you. But I cannot help you
on the doing level, since I do not have access to a real 64-Bit Windows
system.

1. there seems to be general problems with Sikuli X on 64-Bit or mixed
32-Bit/64-Bit systems. Is your Sikuli X IDE running on your system?

2. you should report a standalone fresh bug on that 64-Bit situation, so
that suggestions are not mixed up with 32-Bit (I have edited your 32-Bit
bug to be more general).

If I would have a chance to find a way to solve it, this would be my steps (I write it down for other people that might come here):
- be sure everything that references 10.2 stuff is removed
- create a bug free environment with Java, Jython and NetBeans, that runs plain Python scripts without any usage of Sikuli
- copy the libs directory and sikuli-script.jar to a path without whitespaces and use this in the following steps
- have only the two required entries in system path, that are needed to find the dll's that come with Sikuli X
path-to-your-Sikuli-X\libs
path-to-your-Java\jre6\bin (32-Bit)
- do not unjar, just use the sikuli-script.jar as is. Have a reference to it in the java class path and a reference to sikuli-script.jar\Lib in the python path
- try from sikuli.Sikuli import * in NetBeans
- look what happens and try to analyze/solve upcoming errors

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/514939

Title:
  Cannot run any script

Status in Sikuli:
  New

Bug description:
  When i`m tried to run any script, at the log window programm returns an error:

[sikuli] [Error] Traceback (innermost last):
  File "<string>", line 1, in ?
  File "C:\Program Files\Sikuli\sikuli-ide-full.jar\Lib/python/edu/mit/csail/uid/Sikuli.py", line 11, in ?
	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 edu.mit.csail.uid.VDictProxy.<clinit>(VDictProxy.java:18)

	at java.lang.Class.forName0(Native Method)

	at java.lang.Class.forName(Unknown Source)

	at org.python.core.SyspathJavaLoader.loadClass(Unknown Source)

	at java.lang.ClassLoader.loadClass(Unknown Source)

	at org.python.core.Py.findClassEx(Unknown Source)

	at org.python.core.SysPackageManager.findClass(Unknown Source)

	at org.python.core.PackageManager.findClass(Unknown Source)

	at org.python.core.SysPackageManager.findClass(Unknown Source)

	at org.python.core.PyJavaPackage.__findattr__(Unknown Source)

	at org.python.core.imp.importFromAs(Unknown Source)

	at org.python.core.imp.importFrom(Unknown Source)

	at python.edu.mit.csail.uid.Sikuli$py.f$0(C:\Program Files\Sikuli\sikuli-ide-full.jar\Lib/python/edu/mit/csail/uid/Sikuli.py:11)

	at python.edu.mit.csail.uid.Sikuli$py.call_function(C:\Program Files\Sikuli\sikuli-ide-full.jar\Lib/python/edu/mit/csail/uid/Sikuli.py)

	at org.python.core.PyTableCode.call(Unknown Source)

	at org.python.core.PyCode.call(Unknown Source)

	at org.python.core.imp.createFromCode(Unknown Source)

	at org.python.core.imp.createFromSource(Unknown Source)

	at org.python.core.ZipFileImporter$ZipFileLoader.load_module(Unknown Source)

	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

	at java.lang.reflect.Method.invoke(Unknown Source)


java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: C:\Program Files\Sikuli\tmplib\VDictProxy.dll: 5 C40;>AL 70?CAB8BL ?@8;>65=85, ?>A:>;L:C 53> ?0@0;;5;L=0O :>=D83C@0F8O =5?@028;L=0. >?>;=8B5;L=K5 A2545=8O A>45@60BAO 2 6C@=0;5 A>1KB89 ?@8;>65=89 8;8 8A?>;L7C9B5 ?@>3@0<<C :><0=4=>9 AB@>:8 sxstrace.exe 4;O ?>;CG5=8O 4>?>;=8B5;L=KE A2545=89