sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #07230
[Bug 893909] Re: [error] Can't create OS Util: org.sikuli.script.Win32Util- exception is thrown whil eusing Sikuli through java
Again having looked at the code:
The error happens, when the trial to copy Win32Util.dll from inside sikuli-script.jar to the folder tmplib in the users standard personal temp folder (Win7: \Users\<username>\AppData\Local\Temp) where the folder is created, if it does not exist. This is for cases, where sikuli-script.jar is intended to be used somehow standalone.
If there are some access right problems (which sometimes occur), then this action should crash.
This action does not take place at all, if the environment variable
SIKULI_HOME is correctly set (which is normally done by a Sikuli
installation from the download .exe).
So this might be the difference between the systems.
This should be the correct setting:
SIKULI_HOME=path-to-sikuli-program-folder\
The trailing backslash is mandatory!
e.g. in the standard installation:
SIKULI_HOME=c:\Program Folder\Sikuli X\
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/893909
Title:
[error] Can't create OS Util: org.sikuli.script.Win32Util- exception
is thrown whil eusing Sikuli through java
Status in Sikuli:
New
Bug description:
I am running Sikuli through java, by using Sikuli-script.jar, while running the script i get the below exception
"[error] Can't create OS Util: org.sikuli.script.Win32Util"
Environment: Windowd 7 (32 bit)
Installed JDK 1.6.0.29,jre6
JDK path, JRE path and Sikuli path are given in the system path variable.
Issue is observed on Windows7 only and its consistent
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/893909/+subscriptions
References