[Sikuli-driver] [Bug 1967429] [NEW] App class doesn't have metadata after opening

2022-03-31 Thread Brent Villalobos
Public bug reported:

This is on CentOS-7 (64 bit) with sikulix v2.0.5 on a Gnome desktop.  If
you launch an app via the App class, it launches but the App object
thinks it failed and most of the methods will fail or provide incorrect
information.

Jython 2.7.2 (v2.7.2:925a3cc3b49d, Mar 21 2020, 10:03:58)
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java17.0.1
Type "help", "copyright", "credits" or "license" for more information.
>>> from sikuli import *
>>> terminal = App("/bin/gnome-terminal")
>>> terminal.isRunning()
False
>>> terminal.open()
[error] openApp:
offset 0, count -1, length 64
False
>>> terminal.isRunning()
False
>>>

I've tried a few other programs like glxgears and I get the same error.

** Affects: sikuli
 Importance: Undecided
 Status: New

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

Title:
  App class doesn't have metadata after opening

Status in SikuliX:
  New

Bug description:
  This is on CentOS-7 (64 bit) with sikulix v2.0.5 on a Gnome desktop.
  If you launch an app via the App class, it launches but the App object
  thinks it failed and most of the methods will fail or provide
  incorrect information.

  Jython 2.7.2 (v2.7.2:925a3cc3b49d, Mar 21 2020, 10:03:58)
  [OpenJDK 64-Bit Server VM (Oracle Corporation)] on java17.0.1
  Type "help", "copyright", "credits" or "license" for more information.
  >>> from sikuli import *
  >>> terminal = App("/bin/gnome-terminal")
  >>> terminal.isRunning()
  False
  >>> terminal.open()
  [error] openApp:
  offset 0, count -1, length 64
  False
  >>> terminal.isRunning()
  False
  >>>

  I've tried a few other programs like glxgears and I get the same
  error.

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


___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #679437]: Problem with App class in linux

2022-03-31 Thread Brent Villalobos
Question #679437 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/679437

Brent Villalobos posted a new comment:
I know this is an old thread, but I ran into a similar problem on
CentOS-7.  The App class can launch the app, but after that it doesn't
know how to query it:

>>> terminal = App("/bin/gnome-terminal")
>>> terminal.isRunning()
False
>>> terminal.open()
[error] openApp:
offset 0, count -1, length 64
False
>>> terminal.isRunning()
False
>>> 

I know that SikuliX is using xdotool and wmctrl under the hood and I
have both installed.  I'll probably need to implement my own
functionality for querying processes.  I see that xdotool is used
heavily in LinuxUtil.java
(https://github.com/RaiMan/SikuliX1/blob/master/API/src/main/java/org/sikuli/natives/LinuxUtil.java).
However, I don't see where wmctrl is used in the codebase.  I searched
for it in the github repository and there was no code hits.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #701038]: Can multiple users have their own display?

2022-03-22 Thread Brent Villalobos
New question #701038 on SikuliX:
https://answers.launchpad.net/sikuli/+question/701038

Different variants of this question have been asked in the past, but I haven't 
been able to fully understand the answers.  Here's my scenario.  I would like 
to be able to have a service account log into a machine and have it's own 
virtual display/keyboard/mouse that doesn't disrupt the desktop environment of 
the logged in user.  I also need CV and OCR working in this environment.  Is 
that possible?  This is on Linux, specifically CentOS-7.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #700187]: Getting images with dual displays on linux

2022-01-11 Thread Brent Villalobos
New question #700187 on SikuliX:
https://answers.launchpad.net/sikuli/+question/700187

I'm using SikulixIDE v2.0.5 on a CentOS7 operating system.  When I try to take 
a screenshot using the icon in the IDE, here's what happens on a dual monitor 
setup-- the images on my primary display are mirrored onto my secondary display 
and anything that was on my secondary display is hidden.  I can then take a 
screenshot of the mirrored desktop on my secondary display only.  In other 
words, I can only take a screenshots on my secondary monitor of windows 
displayed on my primary.  Taking screenshots technically "works" but it's a 
little funky.

Questions about dual monitor support have been asked before, but many of them 
are now over a decade old.  I'm wondering what the current status is of dual 
monitor support on Linux.  Are there any user-facing options that I can use to 
maybe straighten this out?  I'll settle with only a single display being 
supported as long as it's the same display for everything.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp