← Back to team overview

sikuli-driver team mailing list archive

[Question #296286]: fetching keywords from remote library is failing

 

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

Hi ,

I have installed Robotframework3.0 in a linux server. Installed SikuliLibrary and all other dependencies (OpenCV, wmctrl, xdotool, tesseract). 

I have started remote server using this command " java -jar /usr/jython/Lib/site-packages/SikuliLibrary/lib/SikuliLibrary.jar  10000"

and run the following commands in another instance of same server:

root@xxxx123# jython
Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[Java HotSpot(TM) Server VM (Oracle Corporation)] on java1.8.0_91
Type "help", "copyright", "credits" or "license" for more information.
>>> from robot.libraries.Remote import Remote
>>> remote=Remote('http://127.0.0.1:10000/')
>>> remote.get_keywordnames()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'Remote' object has no attribute 'get_keywordnames'
>>> remote.get_keyword_names()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/jython/Lib/site-packages/robotframework-3.0-py2.7.egg/robot/librari
    raise RuntimeError('Connecting remote server at %s failed: %s'
RuntimeError: Connecting remote server at http://127.0.0.1:10000/ failed: [Errno




root@xxxx123# java -jar /usr/jython/Lib/site-packages/SikuliLibrary/lib/SikuliLibrary.jar  10000

0 [main] INFO org.robotframework.remoteserver.RemoteServer  - Mapped path / to library com.github.rainmanwy.robotframework.sikulilib.SikuliLibrary.
1 [main] INFO org.robotframework.remoteserver.RemoteServer  - Robot Framework remote server starting
1 [main] INFO org.eclipse.jetty.server.Server  - jetty-7.x.y-SNAPSHOT
34 [main] INFO org.eclipse.jetty.server.handler.ContextHandler  - started o.e.j.s.ServletContextHandler{/,null}
117 [main] INFO org.eclipse.jetty.server.AbstractConnector  - Started SelectChannelConnector@0.0.0.0:10000
117 [main] INFO org.robotframework.remoteserver.RemoteServer  - Robot Framework remote server started on port 10000.
[info] runcmd: lsb_release -i -r -s
[error] RunTimeAPI: loadLib: libVisionProxy.so not usable:
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201510081336/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory
[error] RunTimeAPI: loadLib: libVisionProxy.so not usable:
java.lang.UnsatisfiedLinkError: /root/.Sikulix/SikulixLibs_201510081336/libVisionProxy.so: libopencv_core.so.2.4: cannot open shared object file: No such file or directory
[info] runcmd: ldconfig -p
[info] runcmd: wmctrl -m
[error] LinuxSupport: checking: wmctrl not available or not working
[info] runcmd: xdotool version
[error] LinuxSupport: checking: xdotool not available or not working
[info] runcmd: /root/.Sikulix/sikulixlibs/linux/runBuild
[info] runcmd: ldd -r /root/.Sikulix/sikulixlibs/linux/Build/Target/libVisionProxy.so
[error] LinuxSupport: checking: might not work, has undefined symbols: libVisionProxy.so
[error] LinuxSupport: ------- output of the build run
0
----------- COMPILING
----- cvgui.cpp
----- finder.cpp
----- pyramid-template-matcher.cpp
----- sikuli-debug.cpp
----- tessocr.cpp
----- vision.cpp
----- visionJAVA_wrap.cxx
----------- LINKING

[error] RunTimeAPI: Problematic lib: /root/.Sikulix/SikulixLibs_201510081336/libVisionProxy.so (...TEMP...)
[error] RunTimeAPI: libVisionProxy.so loaded, but it might be a problem with needed dependent libraries
ERROR: ...TEMP...: libopencv_core.so.2.4: cannot open shared object file: No such file or directory
[error] RunTimeAPI:  *** terminating: problem with native library: libVisionProxy.so


looks like some libraries( libVisionProxy.so, libopencv_core.so.2.4) if this is true from where can i get it?

Regards,
Raghu



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