sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #52488
Re: [Question #682622]: keyerror message when running automation script
Question #682622 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/682622
Status: Open => Answered
RaiMan proposed the following answer:
Your overall concept is not dynamic:
If you change a script's content, that was imported before in the IDE, it has to be reloaded at the next run, to reflect the changes.
So if you add an image in the script with class imagerepository, it is
not reflected by the already imported script (the IDE is one continous
Jython session).
A solution is to run your main script from command line, which starts a
new session with every run and make your changes in parallel in the IDE.
Another solution is to rely on the image path feature:
instead of importing the imagerepository script, put it on the image path
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.