Runtime error (on the 18th iteration of a loop)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
New
|
Undecided
|
Unassigned |
Bug Description
The loop in the following script runs for 17 times, and on the 18th iteration it crashes on the line 9 (or when the wait event on line 8 finished):
switchApp(
1: for i in range ( 121, 626):
2: print "runing project %d" % (i)
3: type("o", KEY_CTRL)
4: paste("project" + str(i))
5: type(Key.ENTER) #load project
6: doubleClick(
7: click("run button")
8: wait("finish run", 30)
9: type("u", KEY_CTRL) #unload project
Sikuli version 0.10.1
OS winxp 64
the error message is
-------
Microsoft Visual C++ Runtime Library
-------
Runtime Error!
Program: C:\Program Files (x86)\Java\
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
-------
OK
-------
summary: |
- Runtime error (on the 18 iteration of a loop) + Runtime error (on the 17 iteration of a loop) |
summary: |
- Runtime error (on the 17 iteration of a loop) + Runtime error (on the 17th iteration of a loop) |
summary: |
- Runtime error (on the 17th iteration of a loop) + Runtime error (on the 18th iteration of a loop) |
description: | updated |
I'm having this issue, too. It happens on a loop, but I can't tell exactly where it's crashing.