← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #272926]: How to run .skl under sikuli 1.1.0

 

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

can posted a new comment:
Running under CMD will be reported error

C:\Users\kkk>java -jar "D:\Program Files\Sikulix\sikulix.jar" -r "D:\Sikuli\Prog
ramCode\稳定性升级结果检查工具.skl"
Exception in thread "main" java.lang.IllegalArgumentException: Cannot create PyS
tring with non-byte value
        at org.python.core.PyString.<init>(PyString.java:64)
        at org.python.core.PyString.<init>(PyString.java:70)
        at org.python.core.Py.newString(Py.java:641)
        at org.python.core.io.FileIO.<init>(FileIO.java:69)
        at org.python.core.PyFile.<init>(PyFile.java:161)
        at org.python.core.PyTraceback.getLine(PyTraceback.java:65)
        at org.python.core.PyTraceback.tracebackInfo(PyTraceback.java:38)
        at org.python.core.PyTraceback.dumpStack(PyTraceback.java:109)
        at org.python.core.PyTraceback.dumpStack(PyTraceback.java:120)
        at org.python.core.Py.displayException(Py.java:1167)
        at org.python.core.PyException.printStackTrace(PyException.java:79)
        at org.python.core.PyException.toString(PyException.java:98)
        at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunn
er.java:217)
        at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunn
er.java:182)
        at org.sikuli.scriptrunner.ScriptingSupport$RunBox.run(ScriptingSupport.
java:600)
        at org.sikuli.scriptrunner.ScriptingSupport$RunBox.access$400(ScriptingS
upport.java:513)
        at org.sikuli.scriptrunner.ScriptingSupport.runscript(ScriptingSupport.j
ava:442)
        at org.sikuli.ide.SikuliIDE.run(SikuliIDE.java:208)
        at org.sikuli.ide.Sikulix.main(Sikulix.java:21)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.