← Back to team overview

sikuli-driver team mailing list archive

[Question #661529]: VisionProxy.dll not available in AppData\Roaming\Sikulix\SikulixLibs_201712071454

 

New question #661529 on Sikuli:
https://answers.launchpad.net/sikuli/+question/661529

Hello,

I am trying to execute image search function with SikuliX and Appium, however upon executing the SikuliX API I am getting the error:

[error] RunTimeAPI:  *** terminating: loadlib: VisionProxy.dll not available in C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201712071454

I've followed the documentation regarding adding SikuliX dependency to Maven but for some reason it appears it is not able to export the required libs.

More information is below. I've researched for full Maven setup with SikuliX but the dependency is the only step I am aware of that is required. Is there a configuration step that is missing that could be causing this error?

Fixes Tried:
1. Adding SNAPSHOT dependency in Maven
2. Updating 32-bit Java to 64-bit Java on 64-bit Windows 7

Environment Info:

Windows 7 Professional – 64-bit
Eclipse Oxygen Release (4.7.0)
Apache Tomcat 9.0
Java JDK 1.8.0_151
Appium v1.7.1
Spring MVC 5.0.0
SikuliX 1.1.1


pom.xml

<!-- https://github.com/RaiMan/SikuliX-2014/wiki/How-to-use-with-Maven -->
    <dependency>
        <groupId>com.sikulix</groupId>
        <artifactId>sikulixapi</artifactId>
        <version>1.1.1</version>
    </dependency>

Error

[debug] Debug.init: from sikuli.Debug: on: 3
[debug] RunTimeINIT: loadOptions: check: C:\Users\cn713c\Desktop\eclipse-java-oxygen-R-win32\eclipse
[debug] RunTimeINIT: loadOptions: check: C:\Users\cn713c
[debug] RunTimeINIT: loadOptions: check: C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixStore
[debug] RunTimeINIT: global init: entering as: API
[debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1080
[debug] RunTimeINIT: Monitor 1: (0, -1080) 1920 x 1080
[debug] RunTimeINIT: Monitor 2: (-1920, -1080) 1920 x 1080
[debug] RunTimeINIT: runs as sikulixapi-1.1.1.jar in: C:\Users\cn713c\Documents\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\AutomationEngine\WEB-INF\lib
[debug] RunTimeINIT: exists libs folder at: C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201711011200
[debug] RunTimeINIT: libs folder empty or has wrong content
[debug] RunTimeINIT: now exporting libs
[debug] RunTimeINIT: addToClasspath:
file:/C:/Users/cn713c/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/AutomationEngine/WEB-INF/lib/sikulixapi-1.1.1.jar
[debug] RunTimeINIT: libs to export are at:
jar:file:/C:/Users/cn713c/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/AutomationEngine/WEB-INF/lib/sikulixlibswin-1.1.1.jar!/sikulixlibs/windows/libs64/
[debug] RunTimeINIT: resourceList: enter
[debug] RunTimeINIT: resourceLocation: (class org.sikuli.script.RunTime) /sikulixlibs/windows/libs64
[debug] RunTimeINIT: resourceList: having jar: jar:file:/C:/Users/cn713c/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/AutomationEngine/WEB-INF/lib/sikulixlibswin-1.1.1.jar!/sikulixlibs/windows/libs64/
[debug] RunTimeINIT: files exported: 0 from: /sikulixlibs/windows/libs64 to:
 C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201711011200
[debug] RunTimeINIT: addToWindowsSystemPath: added to systempath:
C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201711011200
[debug] RunTimeINIT: checkJavaUsrPath: added to ClassLoader.usrPaths
***** show environment for API (build 201711011200)
user.home: C:\Users\cn713c
user.dir (work dir): C:\Users\cn713c\Desktop\eclipse-java-oxygen-R-win32\eclipse
user.name: cn713c
java.io.tmpdir: C:\Users\cn713c\AppData\Local\Temp
running 64Bit on Windows (6.1) from a jar
java 8-64 version 1.8.0_151-b12 vm 25.151-b12 class 52.0 arch amd64
app data folder: C:\Users\cn713c\AppData\Roaming\Sikulix
libs folder: C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201711011200
executing jar: C:\Users\cn713c\Documents\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\AutomationEngine\WEB-INF\lib\sikulixapi-1.1.1.jar
*** classpath dump sikulix
  3: /C:/Users/cn713c/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/AutomationEngine/WEB-INF/lib/sikulixapi-1.1.1.jar
*** classpath dump end
***** show environment end
[debug] RunTimeAPI: global init: leaving
[debug] RunTimeAPI: initAPI: entering
[debug] RunTimeAPI: resourceList: enter
[debug] RunTimeAPI: resourceLocation: (class org.sikuli.script.RunTime) /Lib
[debug] RunTimeAPI: resourceList: having jar: jar:file:/C:/Users/cn713c/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/AutomationEngine/WEB-INF/lib/sikulixapi-1.1.1.jar!/Lib/
[debug] RunTimeAPI: files exported: 0 from: Lib to:
 C:\Users\cn713c\AppData\Roaming\Sikulix\Lib
[debug] RunTimeAPI: initAPI: leaving
[error] RunTimeAPI:  *** terminating: loadlib: VisionProxy.dll not available in C:\Users\cn713c\AppData\Roaming\Sikulix\SikulixLibs_201711011200
[debug] RunTimeAPI: final cleanup
[debug] FileManager: deleteFileOrFolder:
C:\Users\cn713c\AppData\Local\Temp\Sikulix_1136682687

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