[1.1.0] OS X 10.10.3: IDE: running scripts acting on some Mac apps: work for about 60 seconds, then click/type get really slow --- workaround: use command line instead of app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Won't Fix
|
Medium
|
RaiMan |
Bug Description
************ workarounds:
use this to start the IDE from a command line:
java -jar /Applications/
or use the IDE as usual, but do not run from inside the IDE, but in parallel from a Terminal session (command line)
<path to your setup folder>/runsikulix -r yourScript.sikuli
Since this seems to be some serious problem deep down in the Java Robot implementation with respect to OS X 10.10, a fix might take some time.
The symptom:
about 60 seconds after the first Robot action, the robot extensively delays any mouse and keyboard actions and seems to do some features erroneously or even not at all.
-------
on OSX 10.10.3
With nightly build 1.1.0 22-04-2015 and earlier versions
i Get a error when i stop a simple loop script as it gets slow.
for x in range(100):
App.focus("dild")
click(1)
click(2)
click(3)
click(4)
print("at " + str(x))
i get to about 16 loops and its then get realy slow and finds the click´s every 10-20 sec...
when i stop the script it promtes me that:
Possible cause in case you did not touch the mouse while script was running:
mouse actions are blocked generally or by formost application
anybody have any ideas?
description: | updated |
Changed in sikuli: | |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
summary: |
- OSX 10.10 Yosemite, works for 16 loops then get realy slow + [1.1.0] OS X 10.10.3 works for 16 loops, then gets really slow |
summary: |
- [1.1.0] OS X 10.10.3 works for 16 loops, then gets really slow + [1.1.0] OS X 10.10.3: IDE: running scripts acting on some Mac apps: + work for about 60 seconds, then gets really slow --- workaround: run + form command line |
Changed in sikuli: | |
status: | Opinion → In Progress |
importance: | Undecided → High |
summary: |
[1.1.0] OS X 10.10.3: IDE: running scripts acting on some Mac apps: - work for about 60 seconds, then gets really slow --- workaround: run - form command line + work for about 60 seconds, then click/type get really slow --- + workaround: run script from command line |
summary: |
[1.1.0] OS X 10.10.3: IDE: running scripts acting on some Mac apps: work for about 60 seconds, then click/type get really slow --- - workaround: run script from command line + workaround: use command line instead of app |
Changed in sikuli: | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in sikuli: | |
importance: | High → Medium |
milestone: | 1.1.0 → 2.0.0 |
Changed in sikuli: | |
status: | Fix Committed → Won't Fix |
milestone: | 2.0.0 → none |
yes, this was mentioned already before some times.
... but I never could recreate the problem on my MacBook Air with OS X 10.10.3 running Java7 or 8
... but now I will test it again.
I suppose:
"dild" is some application
and 1,2, 3, 4 or some images.
and the click in each case changes the appearance of the GUI
How do you stop the looping script?