sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #55547
Re: [Question #692143]: [2.0.4] getting java.lang unknown exception when running any click() from IDE
Question #692143 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/692143
leo.xiao posted a new comment:
So I tried a 2 lines script by following your comments:
popup("Test")
click("1596158311940.png")
and received the debug information as below:
[debug] Jython: added as Jython::sys.path[0]:
C:\Users\xiaoli\AddData\Roaming\Sikulix\Lib\site-packages
[debug] Jython: ***** sys.path
0: Y:\Desktop\test.sikuli
1: C:\Users\xiaoli\AppData\Roaming\Sikulix\Lib\site-packages
2: C:\Users\xiaoli\AppData\Roaming\Sikulix\Lib\
3: C:\Users\xiaoli\AppData\Roaming\Sikulix\Extensions\Lib
4: C:\Users\xiaoli\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib
[11561 debug] JythonRunner: ready: version 2.7.1
[debug] Jython: SikulixForJython: init: starting
[debug] Jython: added as Jython::sys.path[0]: C:\Users\xiaoli\AppData\Roaming\Sikulix\Lib\site-packages
[debug] Jython: SikulixForJython: init: success
[debug] Jython: sikuli: Sikuli: starting init
[debug] Jython: use as default region: R[0, 0 1680x1050]@S(0)
[debug] Image: BufferedImage: (1680, 1050)
[debug] Jython: sikuli: Sikuli: ending init
[debug] Jython: use as default region: R[0, 0 1680x1050]@S(0)
[debug] Image: BufferedImage: (1680, 1050)
[debug] Image: reused: 1596158311940.png (file:Y:\Desktop\test.sikuli\1596158311940.png )
[debug] Region: wait: waiting 3.0 secs for 1596158311940.png tp appear in R[0, 0 1680x1050]@S(0)
[debug] RunTime:loadlib: trying opencv_java342
[debug] RunTime:addToWindowsSystemPath: added to systempath: C:\Users\xiaoli\AppData\Roaming\Sikulix\SikulixLibs
[debug] RunTime:checkJavaUsrPath: added to ClassLoader.usrPaths
[debug] RunTime:libsExport: folder exists: C:\Users\xiaoli\AppData\Roaming\Sikulix\SikulixLibs (2.0.4 - 202003140801)
[debug] RunTime:loadLib: opencv_java342.dll (success)
[debug] Finder2: makeMat: INT_RGB (1680x1050)
[debug] Finder2: makeMat: 3BYTE_BGR (45x35)
[debug] Finder2: doFindImage: start (stdDev: 168.9986 mean: 509.013968)
[error] script [ test ] stopped with error in line 2
[error] java.lang.Exception ( java.lang.Exception: unknown exception )
[error] --- Traceback --- error source first
line: module ( function ) statement 2: main ( <module> ) click("1596158311940.png")
[error] --- Traceback --- end ---------------
[debug] RunTime:***** running cleanUp *****
Looks like the OpenCV libs loaded successfully on my PC but still didn't
get anything helpful?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.