← 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

 

c:\SikuliX2>runsikulix.cmd -d 3 -c
+++ running this Java
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
c:\SikuliX2\sikulix.jar -d 3 -c
[debug] Running on Java 6 (1.6.0_21-b07)
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] 3: -c
[error] IDE: No native support for Windows
org.sikuli.ide.NativeSupportWindows
[debug] locale: en_US
[debug] ResourceLoader: SikuliX Package Build: 1.1.0-Beta1 2014-05-05-18
[debug] ResourceLoader: check: we are running on arch: amd64
[debug] ResourceLoader: check: using Java at: C:/Program Files/Java/jre6/
[debug] ResourceLoader: check: Exists Environment.SIKULIX_HOME? YES: c:/SikuliX2
/libs
[debug] ResourceLoader: checkLibsDir: trying: c:/SikuliX2/libs
[debug] ResourceLoader: checkLibsDir: Running on Windows - checking system path!

[debug] ResourceLoader: loadLib: Now loaded: WinUtil from: c:\SikuliX2\libs\WinU
til.dll
[debug] ResourceLoader: checkLibsDir: Using libs at: c:\SikuliX2\libs
[debug] ResourceLoader: check: recreated ClassLoader.usrPaths
[debug] Screen: initScreens: basic initialization (2 Screen(s) found)
[debug] Screen: *** monitor configuration (primary: 0) ***
[debug] Screen: 0: S(0)[0,0 1680x1050]
[debug] Screen: 1: S(1)[-1440,0 1440x900]
[debug] Screen: *** end monitor configuration ***
[debug] [I18N] menuShowThumbs
[debug] restore session at 1: D:/Desktop/reply_4_withcc.sikuli/
[debug] FileManager: tempdir create: C:\Users\Chance\AppData\Local\Temp\Chance\t
mp-1952253370.sikuli
[debug] ImagePath: new BundlePath: C:/Users/Chance/AppData/Local/Temp/Chance/tmp
-1952253370.sikuli/
[debug] InitTab: (text/python)
[debug] ImagePath: new BundlePath: D:/Desktop/reply_4_withcc.sikuli/
[debug] JythonScriptRunner: init: python.path hack:
C:\SikuliX2\sikulix.jar\Lib
[debug] InitTab: (text/python)
[debug] SikuliEditorKit.read
[debug] Image: added to image list: 1399349823214.png
with URL: file:D:/Desktop/reply_4_withcc.sikuli/1399349823214.png
[debug] Image: loaded 1399349823214.png (6 KB of 64 MB (1 / 0 %) (6))
[debug] Sikuli-IDE startup: 1475

-- 
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