sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32151
Re: [Question #264950]: Intermittent failure of Sikuli - unpaired surrogate
Question #264950 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/264950
Status: Open => Answered
RaiMan proposed the following answer:
does not mention this possibility, is this no longer supported?
It is still possible, but not really recommended, since it does not work
as one would expect things to work, when using a Jython prepared to be
used from a command line.
With an approach like yours, I recommend to use some full featured IDE like Eclipse with PyDev or some others.
The sikulix.jar cannot be used in such IDE's as the running Jython, so you have to run the scripts from a command line and cannot use the debugging feature of these IDE's.
In parallel you can use the IDE to manage your images in different .sikuli containers, that can be imported into your scripts making the contained images available on the ImagePath.
With a suitable image naming convention, this is rather comfortable.
If you use the sikulix.jar in such contexts it surely comes to some clashes on class path and sys.path.
With your own Jython, the usage of the sikulixapi.jar should be used. If you use the sikulix.jar in such contexts it surely comes to some clashes on class path and sys.path.
see: http://www.sikulix.com/quickstart.html#qs8
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.