← Back to team overview

sikuli-driver team mailing list archive

[Bug 1813491] Re: [1.1.4] Linux: PID is -1 after app.open()

 

Same issue with snapshot build #249.
On Linux, what kind of argument for App class is expected?

LinuxUtil.findWindow
(https://github.com/RaiMan/SikuliX1/blob/master/API/src/main/java/org/sikuli/natives/LinuxUtil.java)
tries to find the app with 6th field, but it is not a path to the
application.

    $ wmctrl -lpGx | grep Chromium
    0x04e00001  0 584    80   32   1280 691  chromium-browser.Chromium-browser  my-hostname Bug #1813491 “[1.1.4] Linux: PID is -1 after app.open()” : Bugs : Sikuli - Chromium

So it seems to need to pass "chromium-browser.Chromium-browser" instead
of "/usr/bin/chromium-browser".  (But it still won't work)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1813491

Title:
  [1.1.4] Linux: PID is -1 after app.open()

Status in Sikuli:
  Fix Committed

Bug description:
  When building an App object with the path to the executable, after
  calling app.open(), the PID is always -1. This causes app.isRunning()
  to run a ps shell comand with parameter "-1" which will not find the
  process, even if it ran.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1813491/+subscriptions


References