Win 7/XP: ALT-SHIFT-C not killing a running script (IDE or .skl) --- fixed in X-1.0rc2

Bug #523145 reported by RaiMan
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Undecided
Unassigned

Bug Description

Question: https://answers.launchpad.net/sikuli/+question/101330

I've noticed that after installing Sikuli on my Windows 7 machine the ALT-SHIFT-C combo no longer kills a running script. Is this a known issue?

My own test:
while None != input("hallo"):
   for i in range(1,10,1):
      find( )
As long as I do not click "Cancel" on "hallo" the script repeatedly does 10 find().

At no time its possible to stop it with alt-shift-c

Revision history for this message
cstracener (chad-stracener) wrote :

I'm seeing the same behavior on my 32bit Windows 7 machine.

Revision history for this message
RaiMan (raimund-hocke) wrote :

Just tell (top left below headline) that it affects you

Revision history for this message
SJ (junkmail-bytality) wrote :

same with me, only I can't stop it when I use the sleep() command

Revision history for this message
Gregor Kopka (mailfrom-launchpad-net) wrote :

Using alt+c (instead of shift+alt+c as announced in IDE when starting it) enables me to stop a script under XP Pro SP3 running 0.10.0 as nonprivileged user (havn't tried it with admin rights).

But having two instances running the hotkey will only abort one of them.

Revision history for this message
RaiMan (raimund-hocke) wrote :

Together with question https://answers.launchpad.net/sikuli/+question/116896
I tested on my Win7.

I confirm, that alt-c instead of alt-shift-c (which does not work) aborts the script, returns to the IDE and prints a message "hot key pressed".

But when restarting the script, messages are no longer reported in the message area. alt-c still interrupts the script, but without producing a message and leaving the first line of the script with an error marker.
To get the normal behavior, you have to restart the IDE.

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: Win 7/XP: ALT-SHIFT-C not killing a running script (IDE or .skl)

Win XP / 7: alt-c not stopping running script as .skl

I confirm, that on my Win7 neither alt-shift-c nor alt-c (which works when running a script from the IDE) terminates a running .skl.

This works for me with a .skl:
when I doubleclick the skl, a cmd-window opens and the script starts running. then pressing ctrl-c, I am asked in the cmd-window, wether I want to stop the bat-process. Saying yes, stops the running java-process, which terminates the script.
I guess, the cmd-window needs the focus, to collect the ctrl-c.

summary: - Win 7: ALT-SHIFT-C not killing a running Sikuli script
+ Win 7/XP: ALT-SHIFT-C not killing a running script (IDE or .skl)
RaiMan (raimund-hocke)
summary: - Win 7/XP: ALT-SHIFT-C not killing a running script (IDE or .skl)
+ Win 7/XP: ALT-SHIFT-C not killing a running script (IDE or .skl) ---
+ fixed in X-1.0rc2
Changed in sikuli:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.