Full-path App.open failed, even though it works, Mac 10.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
1.1.0(2015-
My sikuli testing code needs to launch apps by specifying their full path - these are installers (not apps in the Applications directory).
Under Mac OS 10.10, App.open() errors out. I saw the same problem under Mac OS 10.9 and hoped that updating would fix it, but it does not.
Here's a sample script:
-------
import time
app = App("/Users/
print "opening app..."
app.open()
print "focusing..."
app.focus()
time.sleep(5)
print "done"
-------
This script actually works (the app launches), except that App.open() reports an error and the script exits non-zero. Here's the output:
-------
opening app...
[error] App.open failed: /Users/
focusing...
done
------
In more involved scripts with code that then interacts with the app, this error prevents the downstream code from ever getting run.
Changed in sikuli: | |
status: | New → Fix Released |