sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #55545
[Bug 1889415] Re: NoClassDefFoundError in wait for image
I haven't built from sources yet.
The OpenCV packages that are installed are the ones with the '[*]':
[*] libopencv-3.4.10_1 Computer vision and machine learning software library - library files
[-] libopencv-devel-3.4.10_1 Computer vision and machine learning software library - development files
[-] libopencv-python-3.4.10_1 Computer vision and machine learning software library - Python2 bindings
[*] libopencv-python3-3.4.10_1 Computer vision and machine learning software library - Python3 bindings
[*] libopencv4-4.3.0_3 Computer vision and machine learning software library, version 4.x - library files
[-] libopencv4-devel-4.3.0_3 Computer vision and machine learning software library, version 4.x - development files
[-] libopencv4-python-4.3.0_3 Computer vision and machine learning software library, version 4.x - Python2 bindings
[-] libopencv4-python3-4.3.0_3 Computer vision and machine learning software library, version 4.x - Python3 bindings
[*] opencv-3.4.10_1 Computer vision and machine learning software library
[*] opencv4-4.3.0_3 Computer vision and machine learning software library, version 4.x
After installing the opencv and opencv4 packages, there's the error:
[error] RunTime:loadLib: opencv_java (failed) probably dependent libs missing:
no opencv_java in java.library.path
[error] Save your work, correct the problem and restart the IDE!
[error] script [ recheio ] stopped with error in line 2
[error] java.lang.ExceptionInInitializerError ( java.lang.ExceptionInInitializerError )
[error] --- Traceback --- error source first
line: module ( function ) statement
63: Sikuli ( wait ) return SCREEN.wait(target)
2: main ( <module> ) wait("1596027541334.png")
[error] --- Traceback --- end --------------
Tried to find the libopencv_java file with
find /usr/ -name libopencv_java*
but got no result.
Do you think this file can be obtained from any of the OpenCV packages
that are not yet installed (lib...) or my best bet is to install from
sources?
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1889415
Title:
NoClassDefFoundError in wait for image
Status in Sikuli:
New
Bug description:
I'm using:
sikulixide-2.0.4.jar
Linux 5.7.10_1 #1 SMP x86_64
At the second line of the script
openApp("firefox https://www.recheio.pt")
wait("1596027541334.png")
There's an error message:
[error] script [ recheio ] stopped with error in line 2
[error] java.lang.NoClassDefFoundError ( java.lang.NoClassDefFoundError: Could not initialize class org.sikuli.script.Finder$FindInput2 )
[error] --- Traceback --- error source first
line: module ( function ) statement
63: Sikuli ( wait ) return SCREEN.wait(target)
2: main ( <module> ) wait("1596027541334.png")
[error] --- Traceback --- end --------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1889415/+subscriptions
References