[Sikuli-driver] [Question #696607]: CentOS 7 issue for Sikulix 2.0.4 and 2.0.5

2021-04-16 Thread Shibly Sadeque
New question #696607 on SikuliX:
https://answers.launchpad.net/sikuli/+question/696607

Hello,

I have been trying to run Sikulix 2.0.4 and Sikulix 2.0.5
I have followed the following instructions
 - 
https://sikulix-2014.readthedocs.io/en/latest/newslinux.html#version-1-1-4-special-for-linux-people
 - 
https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4

I have the following java version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

I have the following tesseract and leptonica version
tesseract 4.1.1
 leptonica-1.80.0
  libpng 1.5.13 : zlib 1.2.7
 Found AVX2
 Found AVX
 Found SSE

I have the following ant version
Apache Ant(TM) version 1.9.4 compiled on November 5 2018

I have the following cmake version
cmake version 3.20.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).


As for openCV I have compiled version 4.5.1 and have the libopencv_java451.so 
at these locations. I've already made a symlink to libopencv_java.so at both of 
these location:
/usr/local/lib64/libopencv_java451.so
/usr/local/share/java/opencv4/libopencv_java451.so

#Sikulix 2.0.4
The problem I have with Sikulix 2.0.4 is that I get 2 errors. Sometimes I get 
this error: 

[error] java.lang.NoClassDefFoundError ( java.lang.NoClassDefFoundError: Could 
not initialize class org.sikuli.script.Finder$FindInput2 

and sometimes I get this error:
[error] RunTime:loadLib: opencv_java (failed) probably dependent libs missing:
no opencv_java in java.library.path

#Sikulix2.0.5
The issue I've been getting for Sikulix 2.0.5 is this
[error] RunTime:loadLib: libopencv_java430.so (failed) probably dependent libs 
missing:
/home/mufasa/.Sikulix/SikulixLibs/libopencv_java430.so: /lib64/libm.so.6 
version 'GLIB_2.27' not found (required by 
/home/mufasa.Sikulix/SikulixLibs/libopencv_java430.so) 

The latest glibc available on CentOS7 is 2.17. I tried to update to 2.27 by 
compiling from source but I think the compiler crashes because afterwards I get 
this error when executing simple commands like `ls` also I am unable to reboot 
my VM afterwards.
Segmentation Fault (core dumped)

How can I fix these errors? If 2.0.5 is too much of a stretch is it possible to 
fix the 2.0.4 issue? 
Thanks





-- 
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


Re: [Sikuli-driver] [Question #696579]: override method sleep

2021-04-16 Thread Chetan
Question #696579 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696579

Status: Answered => Solved

Chetan confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
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


Re: [Sikuli-driver] [Question #696579]: override method sleep

2021-04-16 Thread RaiMan
Question #696579 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696579

Status: Open => Answered

RaiMan proposed the following answer:
yes, possible:

- make a script, that contains your sleep def: (myoverrides.py)
def sleep(time):
 print "mysleep variant"

- in the script to use your sleep:
if not somepath in sys.path:
sys.path.insert(0, somepath)
from myoverrides import *
sleep(10)

... should print 
mysleep variant

.. where homepath is the folder, that contains the myoverrides.py

-- 
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


Re: [Sikuli-driver] [Question #696326]: Running SikuliX in Guest OS through VirtualBox

2021-04-16 Thread Launchpad Janitor
Question #696326 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/696326

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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