[1.1.0] Linux: JXGrabkey: [xcb] Unknown sequence number while processing queue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I keep getting the following error irregularly while running sikuli tests:
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: ../../src/
Aborted (core dumped)
I am importing a class from a module and it uses the __init__ method to call a function that adds hotkeys and the complementary __del__ method to remove the hotkeys.
I noticed this issue on github (https:/
Is there an alternative for 1.0.1 to runsikulix?
Or /
Do you just know how to fix this problem?
Changed in sikuli: | |
status: | New → Won't Fix |
This is still pending, but again looking into the debug output in the issue, I now realized this:
[error] Hot key conflicts
[error] HotkeyManager: addHotkey: failed
so in the issue case, this might be the problem.
I remember jxgrabkey having some problems with this.
Is there a way to check what hotkeys are implemented and conditionally add the hot keys with try except?
not with the SikuliX builtin features.
But if this error happens, the addHotkey() should return false.