← Back to team overview

sikuli-driver team mailing list archive

[Bug 1463866] Re: Sikuli 1.1.0 tries to close my IDE

 

def start_app(path_to_app, window_title):
    p = os.path.normpath(path_to_app)
    if not os.path.exists(p):
        die('cannot find "%s": expected -> %s' % (window_title, p))
    app = App.open(p)
    if not app:
        die('cannot start %s' % window_title)

... then more stuff that waits for the window to appear on the screen
...

   return app

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

Title:
  Sikuli 1.1.0 tries to close my IDE

Status in Sikuli:
  New

Bug description:
  IntelliJ IDEA (Cassiopeia) IU-141.1383.1
  JRE: 1.8.0_40-b26 x86
  sikuli 1.1.0-20150602

  Windows 8.1 Pro (x64)

  When my program calls close on an App object, it appears that sikuli
  is type Alt-F4. Unfortunately this isn't going to the application, its
  going to the IDE, which then tries to close. It only fails because
  IDEA is configured to require confirmation before it will quit.

  The reason I believe it's sikuli is the following messages which are
  printed in the log:

  [log] ( Alt )  TYPE "#F4."
  [error] App.close [-1:myapp.exe (XXXX Yyyyyyyyy - [Zzzzzzzzzz Zzzzz Zzzzzzzzzz])] C:\subversion\Sikuli\Myapp\test0000.sikuli\myapp.exe did not work

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


References