← Back to team overview

sikuli-driver team mailing list archive

[Bug 1804927] Re: [1.1.4] App.open() leads to App.focus failed error

 

Thanks for confirmation

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

Title:
  [1.1.4] App.open() leads to App.focus failed error

Status in Sikuli:
  In Progress

Bug description:
  Microsoft Windows [Version 10.0.17134.407]
  Sikuli 1.1.4 (201810311629)
  java version "1.8.0_171"

  I'm trying to run an installer on windows but I got an error -  App.focus failed: no window error when using the following command:
  App.open("D:\builds\vray_adv_40205_max2019_x64.exe")

  (log exerp)----------------------------------------------------------------------------------------------------------------------
  [user (11/24/18 10:22:16 AM)] Installing d:\builds\vray_adv_40205_max2019_x64.exe
  [debug] App.create: [-1:vray_adv_40205_max2019_x64.exe]
  [debug] App.open: [6500:vray_adv_40205_max2019_x64.exe (OleMainThreadWndName)] d:\builds\vray_adv_40205_max2019_x64.exe 
  [error] App.focus failed: no window for [6500:vray_adv_40205_max2019_x64.exe (OleMainThreadWndName)] d:\builds\vray_adv_40205_max2019_x64.exe
  --------------------------------------------------------------------------------------------------------------------------------------

  Despite that installer is successfully launched, but script is already
  terminated.

  If I run installer through terminal with following command everything works fine:
  #App.open('CMD /C ' + "D:\builds\vray_adv_40205_max2019_x64.exe")

  Any idea why this is happening?

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


References