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

2021-02-09 Thread RaiMan
** Changed in: sikuli
   Status: New => Fix Released

-- 
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:
  Fix Released

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 typing 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 ( Y - [Zz Z 
Zz])] C:\subversion\Sikuli\Myapp\test.sikuli\myapp.exe did not work

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2015-07-10 Thread Pierre Best
Sorry but constructing the App object before calling open() doesn't
work.  Creating an App object starts the application.

-- 
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 typing 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 ( Y - [Zz Z 
Zz])] C:\subversion\Sikuli\Myapp\test.sikuli\myapp.exe did not work

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2015-07-10 Thread Pierre Best
And it still send the Alt-F4

-- 
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 typing 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 ( Y - [Zz Z 
Zz])] C:\subversion\Sikuli\Myapp\test.sikuli\myapp.exe did not work

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2015-07-01 Thread Pierre Best
Any progress with this?

-- 
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 typing 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 ( Y - [Zz Z 
Zz])] C:\subversion\Sikuli\Myapp\test.sikuli\myapp.exe did not work

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2015-07-01 Thread RaiMan
Uuuups, no.
Somehow missed that.

You should try this:

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( p )
app.open()  

if not app.isRunning():
die('cannot start %s' % window_title)

….

-- 
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 typing 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 ( Y - [Zz Z 
Zz])] C:\subversion\Sikuli\Myapp\test.sikuli\myapp.exe did not work

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2015-06-11 Thread Pierre Best
Reproduces with 1.1.0-20150610

-- 
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 ( Y - [Zz Z 
Zz])] C:\subversion\Sikuli\Myapp\test.sikuli\myapp.exe did not work

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2015-06-11 Thread Pierre Best
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 ( Y - [Zz Z 
Zz])] C:\subversion\Sikuli\Myapp\test.sikuli\myapp.exe did not work

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2015-06-11 Thread RaiMan
ok, thanks.

How did you create the App instance?

-- 
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 ( Y - [Zz Z 
Zz])] C:\subversion\Sikuli\Myapp\test.sikuli\myapp.exe did not work

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2015-06-10 Thread RaiMan
could you please try with the latest build.

-- 
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 ( Y - [Zz Z 
Zz])] C:\subversion\Sikuli\Myapp\test.sikuli\myapp.exe did not work

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp