机器人框架,Sikuli hello_world演示脚本失败了吗?

时间:2016-06-22 14:48:52

标签: robotframework sikuli

我在solaris服务器中安装了Robot framework 2.8.7并添加了sikuli库。当试图运行演示脚本“Hello world”时,我收到以下错误。

bash-3.2# pybot /robot/robotframework-SikuliLibrary-master/demo/hello_world/testsuite_sikuli_demo.txt

*[ WARN ] Test get_keyword_names failed! Connecting remote server at http://127.0.0.1:42821/ failed: <Fault 0: 'Failed to invoke method get_keyword_names in class org.robotframework.remoteserver.servlet.ServerMethods: java.lang.RuntimeException'>
[ ERROR ] Error in file '/robot/robotframework-SikuliLibrary-master/demo/hello_world/testsuite_sikuli_demo.txt': Initializing test library 'SikuliLibrary' with no arguments failed: Failed to get_keyword_names!
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/SikuliLibrary/sikuli.py", line 41, in __init__
    self.remote = self._connect_remote_library()
  File "/usr/lib/python2.7/site-packages/SikuliLibrary/sikuli.py", line 138, in _connect_remote_library
    self._test_get_keyword_names(remote)
  File "/usr/lib/python2.7/site-packages/SikuliLibrary/sikuli.py", line 155, in _test_get_keyword_names
    raise RuntimeError('Failed to get_keyword_names!')*

我在Windows机器上完成了相同的设置,它运行正常。 solaris中使用的Python版本是2.6。您能告诉我如何解决这个问题吗?

由于

0 个答案:

没有答案