sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #45993
[Bug 1750498] Re: [1.1.2] Can't add hotkey without modifier --- fixed 2018-02-20 build #112
Now it works well, thank you!
--
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:
[1.1.2] Can't add hotkey without modifier --- fixed 2018-02-20 build
#112
Status in Sikuli:
Fix Committed
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
References