sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25947
[Bug 1319399] Re: [1.1.0-Beta1] Python error are not properly reported
** Summary changed:
- [1.1.0-Beta1] Java exception while running script
+ [1.1.0-Beta1] Python error are not properly reported
** Summary changed:
- [1.1.0-Beta1] Python error are not properly reported
+ [1.1.0-Beta1] Python errors are not properly reported
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1319399
Title:
[1.1.0-Beta1] Python errors are not properly reported
Status in Sikuli:
New
Bug description:
Hi,
I have a sikuli Python script (+ full framework) that is working fine with 1.0.1 on Windows 7 - Java 1.7.0_51 64 bits. Running from the command line,
Today I wanted to test with the beta of 1.1.0 2014-05-09-18.
I quickly get a crash but the Java exception is obscure enough that I
have no idea where it comes from in my script:
----------- OUTPUT -----------
+++ running this Java
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8
-Dsikuli.FromCommandLine -jar C:\SikuliX\sikulix.jar -r
C:\Users\sikuli\Desktop\techlog\tests\sikuli\ocean\charts.sikuli
[user (5/14/14 3:17:34 PM)] importing techlog_sikuli
[user (5/14/14 3:17:37 PM)]
C:\Users\sikuli\Desktop\techlog\tests\sikuli\techlog_sikuli\images\button\checkbox.png
[user (5/14/14 3:17:37 PM)]
C:\Users\sikuli\Desktop\techlog\tests\sikuli\techlog_sikuli\images\button\checkbox_checked.png
[user (5/14/14 3:17:38 PM)]
C:\Users\sikuli\Desktop\techlog\tests\sikuli\techlog_sikuli\images\button\choice.png
[user (5/14/14 3:17:38 PM)]
C:\Users\sikuli\Desktop\techlog\tests\sikuli\techlog_sikuli\images\button\3button_dockwindow_None.png
[user (5/14/14 3:17:38 PM)]
C:\Users\sikuli\Desktop\techlog\tests\sikuli\techlog_sikuli\images\button\choice.png
[user (5/14/14 3:17:38 PM)] finished importing techlog_sikuli
----------- STDERR -----------
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
Exception in thread "MainThread"
java.lang.ArrayIndexOutOfBoundsException: 1
at
org.sikuli.scriptrunner.JythonScriptRunner.findErrorSource(JythonScriptRunner.java:279)
at
org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:206)
at
org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:148)
at org.sikuli.basics.SikuliScript.main(SikuliScript.java:199)
at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:262)
Thanks in advance
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1319399/+subscriptions
References