← Back to team overview

sikuli-driver team mailing list archive

[Bug 1321359] Re: "Functional test Java-API did not work"

 

Installed with option #1 only and ran the runsikulix.cmd batch file and
the IDE runs fine.

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

Title:
  "Functional test Java-API did not work"

Status in Sikuli:
  New

Bug description:
  Hi. I've just tried to install the sikulixsetup-1.1.jar with options
  #1, #2, #4, #5 and after the end of the setup I see a prompt informing
  me that "Something serious happened! Sikuli not useable! Check the
  error log at C:\Sikuli\SikuliX-1.1.0-Beta1-SetupLog.txt"

  Env: Windows 7x64 SP1, Java version 7 update 55

  Here is the full error log:
  [debug (2014-05-20 18:08:55)] Debug: setLogFile: C:\Sikuli\SikuliX-1.1.0-Beta1-SetupLog.txt
  [debug (2014-05-20 18:08:55)] RunSetup: Setup in: C:/Sikuli/ using: sikulixsetup-1.1.jar
  [debug (2014-05-20 18:08:55)] RunSetup: SikuliX Setup Build: 1.1.0-Beta1 2014-05-16-18
  [debug (2014-05-20 18:08:57)] RunSetup: RunningSystem: Windows 6.1
  [debug (2014-05-20 18:08:57)] RunSetup: parent of jar/classes: C:/Sikuli/
  [debug (2014-05-20 18:08:57)] RunSetup: RunningJava: Java 7 (x86) 1.7.0_55-b14
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="USER_TYPE" value="2"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="IDE_SESSION" value="J:/Sikuli scripts/hello world.sikuli/"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="CAPTURE_HOTKEY" value="50"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="CAPTURE_HOTKEY_MODIFIERS" value="3"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="CAPTURE_DELAY" value="1.0"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="STOP_HOTKEY" value="67"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="STOP_HOTKEY_MODIFIERS" value="9"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="EXPAND_TAB" value="true"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="TAB_WIDTH" value="4"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="FONT_SIZE" value="14"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="FONT_NAME" value="Monospaced"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="LOCALE" value="en_US"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="AUTO_NAMING" value="0"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="DEFAULT_THUMB_HEIGHT" value="50"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_COMMAND_BAR" value="1"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="AUTO_CAPTURE_FOR_CMD_BUTTONS" value="1"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="AT_SAVE_MAKE_HTML" value="true"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="AT_SAVE_CLEAN_BUNDLE" value="true"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_RUN_SAVE" value="false"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_HIGHLIGHT" value="false"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="CHECK_UPDATE" value="false"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="LAST_SEEN_UPDATE" value="0.0.0"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="LAST_CHECK_UPDATE" value="1377605994081"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="IDE_SIZE" value="1770x980"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="IDE_LOCATION" value="96,71"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_IMAGES" value="false"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_IMAGES_PATH" value=""/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_MESSAGE" value="0"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_LOG_ACTIONS" value="true"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_LOG_INFO" value="true"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="CONSOLE_CSS" value="body   { font-family:serif; font-size: 12px; }.normal{ color: black; }.debug { color:#505000; }.info  { color: blue; }.log   { color: #09806A; }.error { color: red; }"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_TEXT_SEARCH" value="true"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_TEXT_OCR" value="false"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_IMAGE_THUMBS" value="true"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="PREF_MORE_PLAIN_TEXT" value="false"/>
  [debug (2014-05-20 18:09:06)] RunSetup: Prefs: <entry key="LAST_OPEN_DIR" value="J:\Sikuli scripts"/>
  [debug (2014-05-20 18:09:09)] FileManager: Downloading 1.1.0-Beta1-1.jar having 6512 KB
  [debug (2014-05-20 18:09:16)] FileManager: downloaded 6512 KB to C:\Sikuli\Downloads\1.1.0-Beta1-1.jar
  [debug (2014-05-20 18:09:16)] FileManager: download time: 6
  [debug (2014-05-20 18:09:19)] RunSetup: main: Copied from Downloads: 1.1.0-Beta1-1.jar
  [debug (2014-05-20 18:09:19)] FileManager: Downloading 1.1.0-Beta1-4.jar having 15296 KB
  [debug (2014-05-20 18:09:41)] FileManager: downloaded 15296 KB to C:\Sikuli\Downloads\1.1.0-Beta1-4.jar
  [debug (2014-05-20 18:09:41)] FileManager: download time: 17
  [debug (2014-05-20 18:09:44)] RunSetup: main: Copied from Downloads: 1.1.0-Beta1-4.jar
  [debug (2014-05-20 18:09:44)] FileManager: Downloading 1.1.0-Beta1-2.jar having 2626 KB
  [debug (2014-05-20 18:09:47)] FileManager: downloaded 2626 KB to C:\Sikuli\Downloads\1.1.0-Beta1-2.jar
  [debug (2014-05-20 18:09:47)] FileManager: download time: 2
  [debug (2014-05-20 18:09:50)] RunSetup: main: Copied from Downloads: 1.1.0-Beta1-2.jar
  [debug (2014-05-20 18:09:51)] FileManager: Downloading 1.1.0-Beta1-3.jar having 9 KB
  [debug (2014-05-20 18:09:51)] FileManager: downloaded 9 KB to C:\Sikuli\Downloads\1.1.0-Beta1-3.jar
  [debug (2014-05-20 18:09:51)] FileManager: download time: 0
  [debug (2014-05-20 18:09:54)] RunSetup: main: Copied from Downloads: 1.1.0-Beta1-3.jar
  [debug (2014-05-20 18:09:54)] RunSetup: Download ended
  [debug (2014-05-20 18:09:54)] RunSetup: Downloads for selected options:
  1.1.0-Beta1-1.jar - 1.1.0-Beta1-4.jar - 1.1.0-Beta1-2.jar - 1.1.0-Beta1-3.jar -
  [debug (2014-05-20 18:09:54)] RunSetup: Download page: https://launchpad.net/raiman/sikulix2013+/1.1.0
  [debug (2014-05-20 18:09:54)] RunSetup: recreating IDE (exclude scripting support)
  [debug (2014-05-20 18:09:54)] FileManager: buildJar: C:\Sikuli\sikuli-temp.jar
  [debug (2014-05-20 18:09:54)] FileManager: buildJar: adding: C:\Sikuli\sikulix.jar
  [debug (2014-05-20 18:09:57)] FileManager: buildJar: completed
  [debug (2014-05-20 18:09:57)] RunSetup: adding needed stuff to sikulixapi.jar
  [debug (2014-05-20 18:09:57)] FileManager: buildJar: C:\Sikuli\sikuli-temp.jar
  [debug (2014-05-20 18:09:57)] FileManager: buildJar: adding: C:\Sikuli\sikulixapi.jar
  [debug (2014-05-20 18:09:58)] FileManager: buildJar: adding: C:\Sikuli\sikulixsetup-1.1.jar
  [debug (2014-05-20 18:10:02)] FileManager: buildJar: completed
  [debug (2014-05-20 18:10:02)] RunSetup: adding needed stuff to sikulix.jar
  [debug (2014-05-20 18:10:02)] FileManager: buildJar: C:\Sikuli\sikuli-temp.jar
  [debug (2014-05-20 18:10:02)] FileManager: buildJar: adding: C:\Sikuli\sikulix.jar
  [debug (2014-05-20 18:10:05)] FileManager: buildJar: adding: C:\Sikuli\sikulixsetup-1.1.jar
  [debug (2014-05-20 18:10:09)] FileManager: buildJar: adding: C:\Sikuli\sikulijython.jar
  [debug (2014-05-20 18:10:15)] FileManager: buildJar: completed
  [debug (2014-05-20 18:10:15)] RunSetup: exporting commandfiles
  [debug (2014-05-20 18:10:15)] ResourceLoader: export: Trying to access package for exporting: Commands/windows#runsikulix.cmd
  to: C:/Sikuli/
  [debug (2014-05-20 18:10:15)] ResourceLoader: export: from: file:/C:/Sikuli/sikulixsetup-1.1.jar
  [debug (2014-05-20 18:10:16)] ResourceLoader: export: Found 1 Files in Commands/windows/runsikulix.cmd
  [debug (2014-05-20 18:10:18)] RunSetup: trying to set up the environment
  [debug (2014-05-20 18:10:18)] ResourceLoader: check: we are running on arch: x86
  [debug (2014-05-20 18:10:18)] ResourceLoader: check: using Java at: C:/Program Files (x86)/Java/jre7/
  [error (2014-05-20 18:10:18)] ResourceLoader: check: No valid libs path available until now!
  [action (2014-05-20 18:10:18)] ResourceLoader: check: Please wait! Trying to extract libs to jar parent folder: C:/Sikuli/
  [debug (2014-05-20 18:10:18)] ResourceLoader: extractLibs: from: file:/C:/Sikuli/sikulixsetup-1.1.jar
  [debug (2014-05-20 18:10:19)] ResourceLoader: extractLibs: Found 20 Files in META-INF/libs/windows/libs32/
  [debug (2014-05-20 18:10:19)] ResourceLoader: checkLibsDir: trying: C:\Sikuli\libs
  [debug (2014-05-20 18:10:19)] ResourceLoader: checkLibsDir: Running on Windows - checking system path!
  [error (2014-05-20 18:10:19)] ResourceLoader: loadLib: Fatal Error 110: loading: WinUtil.dll
  [error (2014-05-20 18:10:19)] ResourceLoader: loadLib: Since native library was found, it might be a problem with needed dependent libraries
  C:\Sikuli\libs\WinUtil.dll: The specified procedure could not be found
  [error (2014-05-20 18:10:19)] ResourceLoader: loadLib: Check, wether a valid Sikuli libs folder is in system path at runtime!
  [error (2014-05-20 18:10:19)] ResourceLoader: loadLib: Running Setup: ignoring this error for now
  [debug (2014-05-20 18:10:19)] ResourceLoader: checkLibsDir: Using libs at: C:\Sikuli\libs
  [debug (2014-05-20 18:10:24)] RunSetup: Trying to run functional test: JAVA-API
  [debug (2014-05-20 18:10:24)] SikuliX: add to classpath: C:\Sikuli\sikulixapi.jar
  [debug (2014-05-20 18:10:24)] RunSetup: trying to run org.sikuli.script.SikuliX.testSetup()
  [debug (2014-05-20 18:10:25)] RunSetup: class found: class org.sikuli.script.SikuliX
  [debug (2014-05-20 18:10:25)] RunSetup: getMethod: public static boolean org.sikuli.script.SikuliX.testSetup()
  [debug (2014-05-20 18:10:27)] RunSetup: invoke: public static boolean org.sikuli.script.SikuliX.testSetup()
  [debug (2014-05-20 18:10:27)] Screen: initScreens: basic initialization (2 Screen(s) found)
  [debug (2014-05-20 18:10:27)] Screen: *** monitor configuration (primary: 0) ***
  [debug (2014-05-20 18:10:27)] Screen: 0: S(0)[0,0 1920x1080]
  [debug (2014-05-20 18:10:27)] Screen: 1: S(1)[1920,0 1920x1080]
  [debug (2014-05-20 18:10:27)] Screen: *** end monitor configuration ***
  [debug (2014-05-20 18:10:27)] ResourceLoader: export: Trying to access package for exporting: Lib/sikuli
  to: C:\Sikuli
  [debug (2014-05-20 18:10:27)] ResourceLoader: export: from: file:/C:/Sikuli/sikulixsetup-1.1.jar
  [debug (2014-05-20 18:10:28)] ResourceLoader: export: Found 8 Files in Lib/sikuli
  [debug (2014-05-20 18:10:28)] ResourceLoader: loadLib: Now loaded: VisionProxy from: C:\Sikuli\libs\VisionProxy.dll
  [error (2014-05-20 18:10:28)] RunSetup: null
  [error (2014-05-20 18:10:28)] RunSetup: Something serious happened! Sikuli not useable!
  Check the error log at C:\Sikuli\SikuliX-1.1.0-Beta1-SetupLog.txt
  [error (2014-05-20 18:17:46)] RunSetup: Functional test Java-API did not work
  [error (2014-05-20 18:17:46)] RunSetup: ... terminated abnormally :-(
  [error (2014-05-20 18:17:46)] RunSetup: Something serious happened! Sikuli not useable!
  Check the error log at C:\Sikuli\SikuliX-1.1.0-Beta1-SetupLog.txt

  
  I tried again without #2 and it now I still can't run it. It complains that there was a "problem with SikuliX libs folder - see error log" and I cannot find where the error file is.

  Please let me know if you need more information.

  Thanks!

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


References