← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #205890]: "AWT-EventQueue-0" RuntimeError: maximum recursion depth exceeded

 

Question #205890 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/205890

    Status: Needs information => Answered

RaiMan proposed the following answer:
In the IDE's UnitTest feature many things are not possible (among these:
imports cannot be used).

The mentioned faq recommends to use the native Python unit test feature,
if you want to do more serious things.

--- The thing I am confused is that the extension seems work well in the simple "Run" mode as it's defined in ScriptRunner.java.
This exactly is the problem:
The IDE's unittest implementation is very restricted and not just the same as the normal run with some test support.
The TestRunner workflow is completely implemented using Java JUnit and your def()'s are just executed in this environment via callbacks. So the stuff in this case no longer is a normal Jython script.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.