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

Bug #1505614 reported by Glowing Crystalline Entity on 2015-10-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Undecided
RaiMan

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)

RaiMan (raimund-hocke) on 2015-10-13
Changed in sikuli:
status: New → Opinion
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.0
summary: - debug logging stops with ALT-SHIFT-C
+ [1.1.0] debug logging stops with ALT-SHIFT-C
RaiMan (raimund-hocke) wrote :

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

The problem didn't happen for me when I used chrome.exe either...(since you'd used chrome to test the other report). Can you try it with something like a full-screen graphics app? (or a full-screen app in a "windowed" mode?)

RaiMan (raimund-hocke) wrote :

Are you talking about the app type introduced with Windows 8?

e.g. on Windows 10 running the bundled Mail app in a window on the desktop?

No, I'm still on Windows 7. I'm talking about a game. ;-) I run my games full-screen windowed so I can use my second monitor for everything else (like the Sikuli IDE).

RaiMan (raimund-hocke) wrote :

ok. understood.

I will check.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers