sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36212
[Question #280338]: Sikuli crashes while importing zeromq
New question #280338 on Sikuli:
https://answers.launchpad.net/sikuli/+question/280338
I'm using this sikuli version:
1.1.0 (2015-10-05_17:07)/Linux3.13.0-74-generic/Java8(64)1.8.0_45-b14
and my system is Ubuntu 14.04 LTS 64 bit
I try to launch a script containing an import of zeromq python script but when I launch sikuli it return the following error:
[info] runcmd: lsb_release -i -r -s
[error] script [ /home/main.sikuli ] stopped with error in line 6
[error] Could not evaluate error source nor reason. Analyze StackTrace!
Exception in thread "main" java.util.MissingFormatArgumentException: Format specifier '%s'
at java.util.Formatter.format(Formatter.java:2519)
at java.util.Formatter.format(Formatter.java:2455)
at java.lang.String.format(String.java:2928)
at org.sikuli.basics.Debug.log(Debug.java:703)
at org.sikuli.basics.Debug.error(Debug.java:603)
at org.sikuli.scriptrunner.JythonScriptRunner.findErrorSource(JythonScriptRunner.java:336)
at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:225)
at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:182)
at org.sikuli.scriptrunner.ScriptingSupport$RunBox.run(ScriptingSupport.java:600)
at org.sikuli.scriptrunner.ScriptingSupport$RunBox.access$400(ScriptingSupport.java:513)
at org.sikuli.scriptrunner.ScriptingSupport.runscript(ScriptingSupport.java:442)
at org.sikuli.ide.SikuliIDE.run(SikuliIDE.java:208)
at org.sikuli.ide.Sikulix.main(Sikulix.java:21)
I'm launching the sikuli script with: runsikulix -r main.sikuli
In the script at the line 6 I'm importing the zmq python module (pyzmq version 14.0.1-1build2 form ubuntu package): this is an extract from my script:
1 import time
2 import sys
3 from sikuli import *
4 zmqpath = "/usr/lib/python2.7/dist-packages/"
5 if not zmqpath in sys.path: sys.path.append(zmqpath)
6 import zmq
The script runs correctly using python and I can use the zeromq functions successfully.
Is there some incompatibility with Jython or sikuli using zeromq?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.