[1.1.0] Linux: not working wmctrl should not terminate SikuliX, but only block App class usage --- fixed 1.1.1-2015-10-17
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Released
|
Critical
|
RaiMan |
Bug Description
Trying to run Sikuli 1.1.0 on CentOS7
Managed to get all required RPMs installed an running the following on a remote server forwarding the X session via SSH to a local Windows-based X server (XLaunch)
Managed to run the setup, after that I am getting as follows:
[sikuli@localhost src]$ ./runsikulix
running SikuliX: -Xmx512M -Dfile.
-jar ./sikulix.jar
[info] runcmd: lsb_release -i -r -s
[error] RunTimeINIT: fatal error: java.io.
[info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[info] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[error] RunTimeIDE: *** terminating: command 'wmctrl' is not executable
please check the Availability!
[sikuli@localhost src]$ which wmctrl
/usr/bin/wmctrl
[sikuli@localhost src]$ wmctrl -V
1.07
[sikuli@localhost src]$
Cant really figure out this one - could this be a case of wmctrl requiring some kind of desktop environment or windows management system running? Im running raw X session - nothing on top of it and could run Setup just fine.
Thanks,
Marcel
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.1 |
Changed in sikuli: | |
importance: | High → Critical |
summary: |
[1.1.0] Linux: not working wmctrl should not terminate SikuliX, but only - block App class usage + block App class usage --- fixed 1.1.1 2015-10-17 |
summary: |
[1.1.0] Linux: not working wmctrl should not terminate SikuliX, but only - block App class usage --- fixed 1.1.1 2015-10-17 + block App class usage --- fixed 1.1.1-2015-10-17 |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
Hi, while attempting to run the SikuliX IDE, SikuliX was not starting and was complaining that both 'wmctrl' and 'xdotool' is not executable (in two separate lines).
Therefore, I have retrieved the nightly build V1.1.1-20151126, did the setup and now the IDE starts....
However, I am still getting an error message on the stdout/stderr:
------- ------- ------- ------- ------- ------- ------- ------- ---- encoding= UTF-8 -Dsikuli. FromCommandLine ------- ------- ------- ------- ------- ------- ------- ----
running SikuliX: -Xmx512M -Dfile.
-jar ./sikulix.jar
[info] runcmd: lsb_release -i -r -s
[info] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[info] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[error] command 'wmctrl' is not executable
command 'xdotool' is not executable
Please check the availability - some features might not work without!
-------
A quick search for both binaries using 'which' revealed that at least wmctrl is available and can be executed:
which wmctrl
/usr/bin/wmctrl
Running /usr/bin/wmctrl:
wmctrl 1.07
about the environment.
with an asterisk.
Usage: wmctrl [OPTION]...
Actions:
-m Show information about the window manager and
-l List windows managed by the window manager.
-d List desktops. The current desktop is marked
-s <DESK> Switch to the specified desktop.
-a <WIN> Activate the window by
.
.
.
The xdotool was not part of my linux setup, hence I downloaded it, did a static compilation and now it is available and working!
Therefore, the only issue right now is the fact that the SikuliX IDE is identifying wmctrl as missing when in fact it is available and in the PATH.
Thanks again,
Gizmo