sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37743
[Bug 1574412] [NEW] error with App.isRunning() - org.sikuli.script.App object has no attribute 'isRunning'
Public bug reported:
Trying to implement a check that intended app is running before working with it (and open if not).
Followed the example from the docs but have the following error...
[error] AttributeError ( 'org.sikuli.script.App' object has no attribute 'isRunning' )
[error] --- Traceback --- error source first line: module ( function ) statement 825: main ( loadMyApp ) while not myApp.isRunning(5):
[error] --- Traceback --- end --------------
myApp = App("Example App") <-- this is called at beginning of script
myWindow = myApp.window(0) <-- this too
The script runs, but I've always ensured the window was open before
running and if the app crashes the script would eventually exit as I
have error checking on failed find attempts etc. Just wanting this as a
backup to try and restart the app without manual intervention.
I am using Sikuli IDE 1.0.1 (build 12SEP2013160242 from the about window) on Windows 7 (64bit) if any of that is important.
I've done the "Help --> Check Update..." but it returns "No update is available"
** Affects: sikuli
Importance: Undecided
Status: New
** Tags: app.isrunning isrunning
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1574412
Title:
error with App.isRunning() - org.sikuli.script.App object has no
attribute 'isRunning'
Status in Sikuli:
New
Bug description:
Trying to implement a check that intended app is running before working with it (and open if not).
Followed the example from the docs but have the following error...
[error] AttributeError ( 'org.sikuli.script.App' object has no attribute 'isRunning' )
[error] --- Traceback --- error source first line: module ( function ) statement 825: main ( loadMyApp ) while not myApp.isRunning(5):
[error] --- Traceback --- end --------------
myApp = App("Example App") <-- this is called at beginning of script
myWindow = myApp.window(0) <-- this too
The script runs, but I've always ensured the window was open before
running and if the app crashes the script would eventually exit as I
have error checking on failed find attempts etc. Just wanting this as
a backup to try and restart the app without manual intervention.
I am using Sikuli IDE 1.0.1 (build 12SEP2013160242 from the about window) on Windows 7 (64bit) if any of that is important.
I've done the "Help --> Check Update..." but it returns "No update is available"
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1574412/+subscriptions
Follow ups