sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #39875
[Question #353076]: libs dir is not on system path(when it is in the system path)
New question #353076 on Sikuli:
https://answers.launchpad.net/sikuli/+question/353076
I am using sikuli 1.0.1 via Jenkins and via jenkins plugin which using connection to virtual machine and run maven project with sikuli test.
Connection via ssh is using cygwin, so it runned from jenkins with command:
export PATH="/cygdrive/c/m2/com/.../automation/sikuli-java/1.0/libs:/cygdrive/c/Sikuli_libs:/cygdrive/c/Sikuli_libs/libs:/usr/local/bin:/usr/bin:/cygdrive/c/Users/cyg_test/Desktop/cyg_sik/libs:/cygdrive/c/Windows/system32:/cygdrive/c/Windows
:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/jenkins/builds/TA/drivers:/cygdrive/c/Program Files/Java/jdk1.7.0_51/bin:/cygdrive/c/apache-maven-3.3.9/bin:/cygdrive/c/Program Files/TortoiseSVN/bin:/cygdrive/c/Use
rs/cyg_test/Desktop/1.320/lib/libs:/cygdrive/c/jenkins/builds/TA/lib/libs:/cygdrive/c/Users/cyg_test/
Desktop/1.189-/lib/libs"
mvn dependency:tree integration-test -X -e -Dsikuli.Debug=3
and as result:
[INFO] [debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[INFO] [debug] *** monitor configuration (primary: 0) ***
[INFO] [debug] Screen 0: S(0)[0,0 1024x768]
[INFO] [debug] *** end monitor configuration ***
[INFO] [debug] waiting for imgs/hide pop-up system oulook.png to appear
[INFO] [debug] Screen.capture: java.awt.Rectangle[x=0,y=0,width=1024,height=768]
[INFO] [debug] RobotDesktop: captureScreen: on 0 using java.awt.Rectangle[x=0,y=0,width=1024,height=768]
[INFO] [debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013135849
[INFO] [debug] ResourceLoaderBasic: check: we are running on arch: amd64
[INFO] [debug] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jdk1.7.0_51/jre/
[INFO] [debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? YES: c:/m2/com/automation/sikuli-java/1.0/
[INFO] [debug] ResourceLoaderBasic: checkLibsDir: c:/m2/com/automation/sikuli-java/1.0/libs
[INFO] [error] ResourceLoaderBasic: checkLibsDir: libs dir is not on system path: c:\m2\com\automation\sikuli-java\1.0\libs
[INFO] C:\m2\com\automation\sikuli-java\1.0\libs
[INFO] C:\Sikuli_libs
[INFO] C:\Sikuli_libs\libs
[INFO] C:\cygwin64\usr\local\bin
[INFO] C:\cygwin64\bin
[INFO] C:\Users\cyg_test\Desktop\cyg_sik\libs
[INFO] C:\Windows\system32
[INFO] C:\Windows
[INFO]
[INFO] C:\Windows\System32\Wbem
[INFO] C:\Windows\System32\WindowsPowerShell\v1.0
[INFO] C:\jenkins\builds\TA\drivers
[INFO] C:\Program Files\Java\jdk1.7.0_51\bin
[INFO] C:\apache-maven-3.3.9\bin
[INFO] C:\Program Files\TortoiseSVN\bin
[INFO] C:\Use
[INFO] rs\cyg_test\Desktop\1.320\lib\libs
[INFO] C:\jenkins\builds\TA\lib\libs
[INFO] C:\Users\cyg_test\
[INFO] Desktop\1.189-\lib\libs
[INFO] [action] ResourceLoaderBasic: checkLibsDir: Please wait! Trying to add it to user's path
[INFO] [debug] ResourceLoaderBasic: runcmd: reg QUERY HKCU
[INFO] [info] runcmd: reg QUERY HKCU
[INFO] [debug] ResourceLoaderBasic: runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[INFO] [info] runcmd: reg QUERY HKEY_CURRENT_USER\Environment /v PATH
[INFO] [debug] ResourceLoaderBasic: checkLibsDir: current:(HKEY_CURRENT_USER\Environment PATH): c:\m2\com\automation\sikuli-java\1.0\libs;%SIKULI_HOME%;%SIKULI_HOME%\libs
[INFO] [error] ResourceLoaderBasic: checkLibsDir: Logout and Login again! (Since libs folder is in user's path, but not activated)
[INFO] [error] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue!
[INFO] If you do not have any idea about the error cause or solution, run again
[INFO] with a Debug level of 3. You might paste the output to the Q&A board.
[INFO] [debug] SikuliXFinal: cleanUp: 0
Relogin didn't help me. How to resolve it?
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.