← Back to team overview

sikuli-driver team mailing list archive

[Bug 1505614] Re: [1.1.0] debug logging stops with ALT-SHIFT-C

 

Sorry, but I cannot reproduce this with final 1.1.0:

example: (comments ***)
[debug] IDE startup:  4,7 seconds
*** run the script
[debug] FileManager: tempfile create:
C:\Users\RaiMan\AppData\Local\Temp\Sikulix_1258990245\sikuli-9119068902755583760.py
[debug] Jython: requested to use as default region: R[0,0 1920x1200]@S(0)
[debug] JythonScriptRunner: runPython: running script from IDE:
Untitled.sikuli
*** press abort while running is honored
[debug] AbortKey was pressed
[debug] AbortKey was pressed, but nothing to stop here ;-)
[debug] Sikulix: cleanUp: 0
java.lang.InterruptedException: sleep interrupted
        at java.lang.Thread.sleep(Native Method)
        at java.awt.Robot.delay(Unknown Source)
        at org.sikuli.script.RobotDesktop.delay(RobotDesktop.java:227)
        at java.awt.Robot.autoDelay(Unknown Source)
        at java.awt.Robot.afterEvent(Unknown Source)
        at java.awt.Robot.mouseRelease(Unknown Source)
        at org.sikuli.script.RobotDesktop.doMouseUp(RobotDesktop.java:90)
        at org.sikuli.script.RobotDesktop.mouseUp(RobotDesktop.java:201)
        at org.sikuli.script.Mouse.up(Mouse.java:392)
        at org.sikuli.script.Mouse.up(Mouse.java:376)
        at org.sikuli.script.Mouse.reset(Mouse.java:103)
        at org.sikuli.script.Sikulix.cleanUp(Sikulix.java:485)
        at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:2385)
*** run script again - debug still on(3)
[debug] FileManager: tempfile create:
C:\Users\RaiMan\AppData\Local\Temp\Sikulix_1258990245\sikuli-5429136095578405497.py
[debug] Jython: requested to use as default region: R[0,0 1920x1200]@S(0)
[debug] JythonScriptRunner: runPython: running script from IDE:
Untitled.sikuli
[debug] AbortKey was pressed
[debug] AbortKey was pressed, but nothing to stop here ;-)
[debug] Sikulix: cleanUp: 0
java.lang.InterruptedException: sleep interrupted
        at java.lang.Thread.sleep(Native Method)
        at java.awt.Robot.delay(Unknown Source)
        at org.sikuli.script.RobotDesktop.delay(RobotDesktop.java:227)
        at java.awt.Robot.autoDelay(Unknown Source)
        at java.awt.Robot.afterEvent(Unknown Source)
        at java.awt.Robot.mouseRelease(Unknown Source)
        at org.sikuli.script.RobotDesktop.doMouseUp(RobotDesktop.java:90)
        at org.sikuli.script.RobotDesktop.mouseUp(RobotDesktop.java:201)
        at org.sikuli.script.Mouse.up(Mouse.java:392)
        at org.sikuli.script.Mouse.up(Mouse.java:376)
        at org.sikuli.script.Mouse.reset(Mouse.java:103)
        at org.sikuli.script.Sikulix.cleanUp(Sikulix.java:485)
        at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:2385)
[debug] IDE: doQuit requested

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1505614

Title:
  [1.1.0] debug logging stops with ALT-SHIFT-C

Status in Sikuli:
  Opinion

Bug description:
  With 1.1.0 on Win7, when I abort a Python script with ALT-SHIFT-C, I
  see the below from the SikulixIDE (running with -c -d 3), and it stops
  logging debug output.  I have to restart the IDE to get the logging
  back.

  
  [debug] AbortKey was pressed
  [debug] AbortKey was pressed, but nothing to stop here ;-)
  [debug] Sikulix: cleanUp: 0
  java.lang.InterruptedException: sleep interrupted
          at java.lang.Thread.sleep(Native Method)
          at java.awt.Robot.delay(Unknown Source)
          at org.sikuli.script.RobotDesktop.delay(RobotDesktop.java:227)
          at java.awt.Robot.autoDelay(Unknown Source)
          at java.awt.Robot.afterEvent(Unknown Source)
          at java.awt.Robot.mouseRelease(Unknown Source)
          at org.sikuli.script.RobotDesktop.doMouseUp(RobotDesktop.java:90)
          at org.sikuli.script.RobotDesktop.mouseUp(RobotDesktop.java:201)
          at org.sikuli.script.Mouse.up(Mouse.java:392)
          at org.sikuli.script.Mouse.up(Mouse.java:376)
          at org.sikuli.script.Mouse.reset(Mouse.java:103)
          at org.sikuli.script.Sikulix.cleanUp(Sikulix.java:485)
          at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:2385)

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1505614/+subscriptions


References