rutime error after many time
Hi,
I have a problem with my sikuli's code
After many time he stop with this log :
[error] script [ CASINO ] stopped with error in line 59
[error] RuntimeError ( maximum recursion depth exceeded (Java StackOverflowError) )
[error] --- Traceback --- error source first
line: module ( function ) statement
34: main ( No ) if exists(
I tried with this
import sys
sys.setrecursio
But same bug
nobody can help me ?
there is my code
thanks :)
import sys
sys.setrecursio
def Ok():
if exists(
wait(1)
wait(1)
wait(1)
wait(2)
wait(1)
wait(1)
wait(1)
wait(1)
No()
else:
wait(1)
No()
def No():
if exists(
wait(1)
type("R")
wait(1)
wait(1)
wait(1)
wait(1)
wait(10)
wait(1)
wait(1)
Ok()
else :
Ok()
for step in range (10000):
Ok()
Question information
- Language:
- French Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Bastien Litzenburger for more information if necessary.