sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #12648
[Question #206438]: Error after script runs
New question #206438 on Sikuli:
https://answers.launchpad.net/sikuli/+question/206438
I have a script that I am running as shown below:
$ java -jar sikuli-script.jar "D:\User\Data\reflag.sikuli" -h
[info] Sikuli vision engine loaded.
[info] Windows utilities loaded.
[info] VDictProxy loaded.
...runs, does stuff...
And then at the end I get this:
[error] Can't run this Sikuli script: -h
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at org.sikuli.script.ScriptRunner.getPyFrom(ScriptRunner.java:106)
at org.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:100)
at org.sikuli.script.SikuliScript.main(SikuliScript.java:111)
Sikuli-script seems to be interpreting everything as a script name rather than a script and some arguments. Is there a way to resolve this error?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.