← Back to team overview

sikuli-driver team mailing list archive

[Bug 1316488] Re: [1.1.0-Beta1] Windows XP, 7, 8: problems with native library WinUtil.dll when using a 32-Bit Java - SikuliX not useable

 

@comment #8:
- did you repeat the setup or did you use the existing sikulix.jar?
use on command line:
runsikulix.cmd -d 3 -c
and paste the log output

@comment #9
As far as I can see, then you have left version 1.0.1 running a 32-Bit Java, so the libs/WinUtil.dll is the 32-Bit version, which has to be run with a 32-Bit version of Java.
To get the WinUtil.dll from version 1.0.1 in 64-Bit, you have to run 1.0.1 with a 32-Bit Java, so the lib set is switched.
Use the same test as above and paste the log please.

BTW: I do not mind if you stop here with testing and fiddling around.
I will try to fix the problems anyway as soon as possible.
It takes some time though, since I first have to setup Windows 7 systems (I already work on Windows 8.1 64-Bit).

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

Title:
  [1.1.0-Beta1] Windows XP, 7, 8: problems with native library
  WinUtil.dll when using a 32-Bit Java - SikuliX not useable

Status in Sikuli:
  New

Bug description:
  ---- possible workarounds:
  -- on 64-Bit Windows use a 64-Bit Java version
  -- use the WinUtil.dll from version 1.0.1

  --------------------------------------------------------

  Have already successfully loaded and used Sikuli 1.0.rc3 for over a
  year and then switched over to Sikuli 1.0.1 in the last few weeks.
  (Uninstalled Sikuli 1.0rc3, then installed Sikuli 1.0.1 in c:\SikuliX.
  All was fine.  Today, renamed SikliX to SikuliX1.01.  Created a new
  directory c:\Automation\Sikuli\1.1 and copied the sikulixsetup-1.1.jar
  to that folder and tried to install.  This is on a WIN7 32-bit system
  that we run in a VM.  We have been using Sikuli 1.0.rc3 for 18+ months
  in this environment with no problem.  Now trying to test out Sikuli
  1.1 Beta release but have an issue on install.  It keeps saying
  LoadLib: Fatal Error 110: loading WinUti.dll.  Here is the log from
  the install.

  …. more ….
  [debug (5/5/14 1:35:50 PM)] RunSetup: trying to set up the environment
  [debug (5/5/14 1:35:50 PM)] ResourceLoader: check: we are running on arch: x86
  [debug (5/5/14 1:35:50 PM)] ResourceLoader: check: using Java at: C:/Program Files/Java/jre6/
  [error (5/5/14 1:35:50 PM)] ResourceLoader: check: No valid libs path available until now!
  [action (5/5/14 1:35:50 PM)] ResourceLoader: check: Please wait! Trying to extract libs to jar parent folder: C:/Automation/Sikuli/1.1/
  [debug (5/5/14 1:35:50 PM)] ResourceLoader: extractLibs: from: file:/C:/Automation/Sikuli/1.1/sikulixsetup-1.1.jar
  [debug (5/5/14 1:35:51 PM)] ResourceLoader: extractLibs: Found 20 Files in META-INF/libs/windows/libs32/
  [debug (5/5/14 1:35:53 PM)] ResourceLoader: checkLibsDir: trying: C:\Automation\Sikuli\1.1\libs
  [debug (5/5/14 1:35:53 PM)] ResourceLoader: checkLibsDir: Running on Windows - checking system path!
  [debug (5/5/14 1:35:55 PM)] ResourceLoader: checkLibsDir: Added libs dir to path: C:\Automation\Sikuli\1.1\libs
  [debug (5/5/14 1:35:55 PM)] ResourceLoader: checkLibsDir: ... n25;c:\support tools;C:\Automation\Sikuli\1.1\libs
  [error (5/5/14 1:35:55 PM)] ResourceLoader: loadLib: Fatal Error 110: loading: WinUtil.dll
  [error (5/5/14 1:35:55 PM)] ResourceLoader: loadLib: Since native library was found, it might be a problem with needed dependent libraries
  C:\Automation\Sikuli\1.1\libs\WinUtil.dll: The specified procedure could not be found
  [error (5/5/14 1:35:55 PM)] ResourceLoader: loadLib: Check, wether a valid Sikuli libs folder is in system path at runtime!
  [error (5/5/14 1:35:55 PM)] ResourceLoader: loadLib: Running Setup: ignoring this error for now
  [debug (5/5/14 1:35:55 PM)] ResourceLoader: checkLibsDir: Using libs at: C:\Automation\Sikuli\1.1\libs
  [debug (5/5/14 1:35:55 PM)] ResourceLoader: check: recreated ClassLoader.usrPaths
  [debug (5/5/14 1:35:58 PM)] RunSetup: Trying to run functional test: running script statements via SikuliScript
  …. more ….
  [debug (5/5/14 1:36:10 PM)] ResourceLoader: loadLib: Now loaded: VisionProxy from: C:\Automation\Sikuli\1.1\libs\VisionProxy.dll
  [error (5/5/14 1:36:10 PM)] RunSetup: null
  [error (5/5/14 1:36:10 PM)] RunSetup: Something serious happened! Sikuli not useable!
  Check the error log at C:\Automation\Sikuli\1.1\SikuliX-1.1.0-Beta1-SetupLog.txt
  [error (5/5/14 1:38:21 PM)] RunSetup: Functional test Jython did not work
  [error (5/5/14 1:38:21 PM)] RunSetup: ... terminated abnormally :-(
  [error (5/5/14 1:38:21 PM)] RunSetup: Something serious happened! Sikuli not useable!
  Check the error log at C:\Automation\Sikuli\1.1\SikuliX-1.1.0-Beta1-SetupLog.txt

  Even though it did not install correctly, I still tried to run Sikuli via the command line.  I got this error:
  [error] ResourceLoader: loadLib: Fatal Error 110: loading: WinUtil.dll
  [error] ResourceLoader: loadLib: Since native library was found, it might be a problem with needed dependent libraries
  C:\Automation\Sikuli\1.1\libs\WindUtil.dl: The specified procedure could not be found.
  [error] ResourceLoader: loadIb: Check, wether a valid Sikuli libs folder is in system path at runtime!
  [error] RunSetup: Problem with SikuliX libs folder - see error log

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1316488/+subscriptions


References