← Back to team overview

sikuli-driver team mailing list archive

[Bug 1251957] Re: Sikuli Automation fails for lock machine.

 

Sikuli log file :-
[debug (11/16/13 12:52:08 AM)] RunSetup: SikuliX Setup Build: 1.0.1 12NOV2013120000
[debug (11/16/13 12:52:08 AM)] RunSetup: ... starting with no args given
[debug (11/16/13 12:52:08 AM)] RunSetup: syspath: F:\SikuliX\libs
[debug (11/16/13 12:52:08 AM)] RunSetup: syspath: C:\Windows\system32
[debug (11/16/13 12:52:08 AM)] RunSetup: syspath: C:\Windows
[debug (11/16/13 12:52:08 AM)] RunSetup: syspath: C:\Windows\System32\Wbem
[debug (11/16/13 12:52:08 AM)] RunSetup: syspath: C:\Windows\System32\WindowsPowerShell\v1.0\
[debug (11/16/13 12:52:08 AM)] RunSetup: syspath: C:\Program Files\Dell\Dell Wireless WLAN Card
[debug (11/16/13 12:52:08 AM)] RunSetup: syspath: C:\Program Files\WIDCOMM\Bluetooth Software\
[debug (11/16/13 12:52:08 AM)] RunSetup: syspath: C:\Program Files\WIDCOMM\Bluetooth Software\syswow64
[debug (11/16/13 12:52:08 AM)] RunSetup: syspath: C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
[debug (11/16/13 12:52:08 AM)] RunSetup: syspath: C:\Ruby200\bin
[debug (11/16/13 12:52:10 AM)] RunSetup: Option UPDATE selected
[debug (11/16/13 12:52:10 AM)] RunSetup: checking for newer versions
[debug (11/16/13 12:52:13 AM)] No version info available at https://dl.dropbox.com/u/42895525/SikuliX
[debug (11/16/13 12:52:16 AM)] RunSetup: You already have the latest version!
[debug (11/16/13 12:52:16 AM)] RunSetup: Completed: checking for newer versions
[debug (11/16/13 12:52:16 AM)] RunSetup: user home: C:\Users\Ambar Singh
[debug (11/16/13 12:52:16 AM)] RunSetup: RunningSystem: Windows 6.1
[debug (11/16/13 12:52:16 AM)] RunSetup: parent of jar/classes: F:/SikuliX/
[debug (11/16/13 12:52:16 AM)] RunSetup: RunningJava: Java 7 (amd64) 1.7.0_25-b17
[debug (11/16/13 12:52:16 AM)] RunSetup: ... could not detect whether Sikuli is used the first time on this system
[debug (11/16/13 12:52:52 AM)] FileManager: Downloading 1.0.1-1.jar having 12942 KB
[debug (11/16/13 12:53:50 AM)] FileManager: downloaded 12942 KB to F:\SikuliX\1.0.1-1.jar
[debug (11/16/13 12:53:50 AM)] FileManager: download time: 56
[debug (11/16/13 12:53:55 AM)] FileManager: Downloading 1.0.1-3.jar having 408 KB
[debug (11/16/13 12:53:58 AM)] FileManager: downloaded 408 KB to F:\SikuliX\1.0.1-3.jar
[debug (11/16/13 12:53:58 AM)] FileManager: download time: 2
[debug (11/16/13 12:54:03 AM)] FileManager: Downloading 1.0.1-5.jar having 12320 KB
[debug (11/16/13 12:54:47 AM)] FileManager: downloaded 12320 KB to F:\SikuliX\1.0.1-5.jar
[debug (11/16/13 12:54:47 AM)] FileManager: download time: 43
[debug (11/16/13 12:54:50 AM)] RunSetup: Download ended
[debug (11/16/13 12:54:50 AM)] RunSetup: adding native stuff to sikuli-ide.jar
[debug (11/16/13 12:54:50 AM)] FileManager: buildJar: F:\SikuliX\sikuli-temp.jar
[debug (11/16/13 12:54:50 AM)] FileManager: buildJar: adding: F:\SikuliX\sikuli-ide.jar
[debug (11/16/13 12:55:02 AM)] FileManager: buildJar: adding: F:\SikuliX\sikuli-setup.jar
[debug (11/16/13 12:55:08 AM)] FileManager: buildJar: adding: F:\SikuliX\sikuli-tessdata.jar
[debug (11/16/13 12:55:16 AM)] FileManager: buildJar: completed
[debug (11/16/13 12:55:16 AM)] RunSetup: adding native stuff to sikuli-java.jar
[debug (11/16/13 12:55:16 AM)] FileManager: buildJar: F:\SikuliX\sikuli-temp.jar
[debug (11/16/13 12:55:16 AM)] FileManager: buildJar: adding: F:\SikuliX\sikuli-java.jar
[debug (11/16/13 12:55:17 AM)] FileManager: buildJar: adding: F:\SikuliX\sikuli-setup.jar
[debug (11/16/13 12:55:23 AM)] FileManager: buildJar: adding: F:\SikuliX\sikuli-tessdata.jar
[debug (11/16/13 12:55:28 AM)] FileManager: buildJar: completed
[debug (11/16/13 12:55:28 AM)] ResourceLoaderBasic: export: Trying to access package
[debug (11/16/13 12:55:28 AM)] ResourceLoaderBasic: export: Accessing jar: file:/F:/SikuliX/sikuli-setup.jar
[debug (11/16/13 12:55:28 AM)] ResourceLoaderBasic: export: Found 1 Files in Commands/windows/runIDE.cmd
[debug (11/16/13 12:55:28 AM)] RunSetup: trying to set up the environment
[debug (11/16/13 12:55:28 AM)] ResourceLoaderBasic: check: we are running on arch: amd64
[debug (11/16/13 12:55:28 AM)] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jre7/
[error (11/16/13 12:55:28 AM)] ResourceLoaderBasic: check: No valid libs path available until now!
[action (11/16/13 12:55:28 AM)] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: F:/SikuliX/
[debug (11/16/13 12:55:28 AM)] ResourceLoaderBasic: extractLibs: Accessing jar: file:/F:/SikuliX/sikuli-setup.jar
[debug (11/16/13 12:55:29 AM)] ResourceLoaderBasic: extractLibs: Found 14 Files in META-INF/libs/windows/libs64/
[debug (11/16/13 12:55:29 AM)] ResourceLoaderBasic: export: Trying to access package
[debug (11/16/13 12:55:29 AM)] ResourceLoaderBasic: export: Accessing jar: file:/F:/SikuliX/sikuli-setup.jar
[debug (11/16/13 12:55:30 AM)] ResourceLoaderBasic: export: Found 0 Files in META-INF/libs/tessdata
[debug (11/16/13 12:55:30 AM)] ResourceLoaderBasic: checkLibsDir: F:\SikuliX\libs
[debug (11/16/13 12:55:30 AM)] ResourceLoaderBasic: loadLib: WinUtil
[debug (11/16/13 12:55:30 AM)] ResourceLoaderBasic: loadLib: Found: WinUtil
[debug (11/16/13 12:55:30 AM)] ResourceLoaderBasic: loadLib: Now loaded: WinUtil
[debug (11/16/13 12:55:30 AM)] ResourceLoaderBasic: checkLibsDir: Using libs at: F:\SikuliX\libs
[debug (11/16/13 12:55:30 AM)] ResourceLoaderBasic: export: Using this as OCR directory (tessdata) too
[debug (11/16/13 12:55:34 AM)] RunSetup: Trying to run functional test: JAVA-API
[debug (11/16/13 12:55:34 AM)] SikuliX: before adding to classpath: F:\SikuliX\sikuli-java.jar
[debug (11/16/13 12:55:34 AM)] SikuliX: 0: file:/F:/SikuliX/sikuli-setup.jar
[debug (11/16/13 12:55:34 AM)] SikuliX: after adding to classpath
[debug (11/16/13 12:55:34 AM)] SikuliX: 0: file:/F:/SikuliX/sikuli-setup.jar
[debug (11/16/13 12:55:34 AM)] SikuliX: 1: file:/F:/SikuliX/sikuli-java.jar
[debug (11/16/13 12:55:34 AM)] RunSetup: trying to run org.sikuli.script.SikuliX.testSetup()
[debug (11/16/13 12:55:35 AM)] RunSetup: class found: class org.sikuli.script.SikuliX
[debug (11/16/13 12:55:35 AM)] RunSetup: getMethod: public static boolean org.sikuli.script.SikuliX.testSetup()
[debug (11/16/13 12:55:37 AM)] RunSetup: invoke: public static boolean org.sikuli.script.SikuliX.testSetup()
[debug (11/16/13 12:55:37 AM)] Screen: initScreens: basic initialization (1 Screen(s) found)
[debug (11/16/13 12:55:37 AM)] *** monitor configuration (primary: 0) ***
[debug (11/16/13 12:55:37 AM)] Screen 0: S(0)[0,0 1366x768]
[debug (11/16/13 12:55:37 AM)] *** end monitor configuration ***
[debug (11/16/13 12:55:37 AM)] Screen.capture: java.awt.Rectangle[x=0,y=0,width=100,height=100]
[debug (11/16/13 12:55:37 AM)] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=100,height=100]
[debug (11/16/13 12:55:37 AM)] ResourceLoaderBasic: loadLib: VisionProxy
[debug (11/16/13 12:55:37 AM)] ResourceLoaderBasic: loadLib: Found: VisionProxy
[debug (11/16/13 12:55:38 AM)] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
[debug (11/16/13 12:55:42 AM)] RunSetup: Trying to run functional test: running Jython statements via SikuliScript
[debug (11/16/13 12:55:42 AM)] SikuliX: before adding to classpath: F:\SikuliX\sikuli-ide.jar
[debug (11/16/13 12:55:42 AM)] SikuliX: 0: file:/F:/SikuliX/sikuli-setup.jar
[debug (11/16/13 12:55:42 AM)] SikuliX: 1: file:/F:/SikuliX/sikuli-java.jar
[debug (11/16/13 12:55:42 AM)] SikuliX: after adding to classpath
[debug (11/16/13 12:55:42 AM)] SikuliX: 0: file:/F:/SikuliX/sikuli-setup.jar
[debug (11/16/13 12:55:42 AM)] SikuliX: 1: file:/F:/SikuliX/sikuli-java.jar
[debug (11/16/13 12:55:42 AM)] SikuliX: 2: file:/F:/SikuliX/sikuli-ide.jar
[debug (11/16/13 12:55:42 AM)] RunSetup: trying to run testSetup.sikuli using SikuliScript
[debug (11/16/13 12:55:45 AM)] SikuliX Jython Support Build: 1.0.1 12SEP2013160248
[debug (11/16/13 12:55:46 AM)] JythonScriptRunner: : executeScriptHeader: adding SikuliX Lib path to sys.path
F:\SikuliX\sikuli-setup.jar\Lib
[debug (11/16/13 12:55:47 AM)] Jython: sikuli: __init__: entering
[debug (11/16/13 12:55:47 AM)] Jython: sikuli: Sikuli: entering
[debug (11/16/13 12:55:48 AM)] Jython: sikuli: Sikuli: constants
[debug (11/16/13 12:55:48 AM)] Jython: sikuli: Sikuli: import Region
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import Screen
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: Env.addHotkey
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import Match
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import Pattern
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import Location
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import ScreenUnion
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import Finder
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import App
[debug (11/16/13 12:55:50 AM)] ResourceLoaderBasic: loadLib: Is already loaded: WinUtil
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import Key
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import from Basics
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import from compare
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: init SikuliImporter
[debug (11/16/13 12:55:50 AM)] Jython: sikuli: Sikuli: import SikuliScript
[debug (11/16/13 12:55:50 AM)] Jython: init SCREEN as ()
[debug (11/16/13 12:55:51 AM)] Sikuli-Script startup: 5893
[debug (11/16/13 12:55:58 AM)] RunSetup: ... SikuliX Setup seems to have ended successfully ;-)


** Description changed:

  Steps to reproduce.
  1.Create a sikuli script in sikuli ide.
  2.Try to run the   script when machine is unlock.
  3.It will work fine.
  4.No execute same script and lock your machine.
  
  Expected:-Script should run.
  Actual:-Script fails with following error
  [log] App.open C:\Program Files (x86)\Mozilla Firefox\Firefox.exe(3712)
  [log] App.focus Firefox(0) #0
  [error] App.focus failed: Firefox not found
  
+ Machine details:-
+ Op system:-Win 7
+ Proccessor:-I5
+ Sikuli details
  
  Regards,
  Pankaj Sukale
  +919096652067

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

Title:
  Sikuli Automation fails for lock machine.

Status in Sikuli:
  New

Bug description:
  Steps to reproduce.
  1.Create a sikuli script in sikuli ide.
  2.Try to run the   script when machine is unlock.
  3.It will work fine.
  4.No execute same script and lock your machine.

  Expected:-Script should run.
  Actual:-Script fails with following error
  [log] App.open C:\Program Files (x86)\Mozilla Firefox\Firefox.exe(3712)
  [log] App.focus Firefox(0) #0
  [error] App.focus failed: Firefox not found

  Machine details:-
  Op system:-Win 7
  Proccessor:-I5
  Sikuli details

  Regards,
  Pankaj Sukale
  +919096652067

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


References