sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #45981
[Bug 1750498] [NEW] Can't add hotkey in the last 1.1.2 nightly
Public bug reported:
Hi!
There is an issue in the last Feb 2018 1.1.2 nightly version. Hotkey
problem.
My code:
###################################
def Handl(event):
print 123
Env.addHotkey(Key.F10, 0, Handl)
while True:
wait(0.1)
###################################
Console output:
[info] HotkeyManager: add Hotkey: F10 (121, 0)
[error] HotkeyManager: addHotkey: failed
[error] script [ Безымянный ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File "C:\Users\Lunyov\AppData\Local\Temp\Sikulix_164905349\sikuli-7323448507405961629.py", line 7, in <module> File "C:\Users\Lunyov\AppData\Roaming\Sikulix\Lib\sikuli\Sikuli.py", line 67, in wait java.lang.ThreadDeath
at java.lang.Thread.stop(Unknown Source)
at org.sikuli.ide.SikuliIDE$ButtonRun.stopRunScript(SikuliIDE.java:2598)
at org.sikuli.ide.SikuliIDE.onStopRunning(SikuliIDE.java:2945)
at org.sikuli.ide.SikuliIDE$13.hotkeyPressed(SikuliIDE.java:2936)
at org.sikuli.hotkey.HotkeyController$HotKeyListenerWrapper.onHotKey(HotkeyController.java:155)
at com.tulskiy.keymaster.common.Provider$HotKeyEvent.run(Provider.java:148)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ThreadDeath: java.lang.ThreadDeath
** Affects: sikuli
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1750498
Title:
Can't add hotkey in the last 1.1.2 nightly
Status in Sikuli:
New
Bug description:
Hi!
There is an issue in the last Feb 2018 1.1.2 nightly version. Hotkey
problem.
My code:
###################################
def Handl(event):
print 123
Env.addHotkey(Key.F10, 0, Handl)
while True:
wait(0.1)
###################################
Console output:
[info] HotkeyManager: add Hotkey: F10 (121, 0)
[error] HotkeyManager: addHotkey: failed
[error] script [ Безымянный ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File "C:\Users\Lunyov\AppData\Local\Temp\Sikulix_164905349\sikuli-7323448507405961629.py", line 7, in <module> File "C:\Users\Lunyov\AppData\Roaming\Sikulix\Lib\sikuli\Sikuli.py", line 67, in wait java.lang.ThreadDeath
at java.lang.Thread.stop(Unknown Source)
at org.sikuli.ide.SikuliIDE$ButtonRun.stopRunScript(SikuliIDE.java:2598)
at org.sikuli.ide.SikuliIDE.onStopRunning(SikuliIDE.java:2945)
at org.sikuli.ide.SikuliIDE$13.hotkeyPressed(SikuliIDE.java:2936)
at org.sikuli.hotkey.HotkeyController$HotKeyListenerWrapper.onHotKey(HotkeyController.java:155)
at com.tulskiy.keymaster.common.Provider$HotKeyEvent.run(Provider.java:148)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ThreadDeath: java.lang.ThreadDeath
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1750498/+subscriptions
Follow ups