SikuliLibrary: Running robot scripts from crontab in Linux( redhat)

Asked by Raghavender

Hi,

I'm trying to run Sikuli Robot scripts from crontab, it is failing with following error

20160802 09:58:12.223 WARN Test get_keyword_names failed! Connecting remote server at http://127.0.0.1:44650/ failed: <Fault 0: 'Failed to invoke method get_keyword_names in class org.robotframework.remoteserver.servlet.ServerMethods: java.lang.RuntimeException'>
20160802 09:58:14.633 WARN Test get_keyword_names failed! Connecting remote server at http://127.0.0.1:44650/ failed: <Fault 0: 'Failed to invoke method get_keyword_names in class org.robotframework.remoteserver.servlet.ServerMethods: java.lang.RuntimeException'>
20160802 09:58:15.642 ERROR Error in file '/home/robot_scripts/lte_nsd_op_3b.txt': Initializing test library 'SikuliLibrary' with no arguments failed: Failed to get_keyword_names! Traceback (most recent call last): File "/usr/jython/Lib/site-packages/SikuliLibrary/sikuli.py", line 41, in __init__ self.remote = self._connect_remote_library() File "/usr/jython/Lib/site-packages/SikuliLibrary/sikuli.py", line 138, in _connect_remote_library self._test_get_keyword_names(remote) File "/usr/jython/Lib/site-packages/SikuliLibrary/sikuli.py", line 155, in _test_get_keyword_names raise RuntimeError('Failed to get_keyword_names!')

Its working fine when I run it manually from command prompt.

Can any one help me to resolve this issue?

Regards,
Raghu

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Not a Sikuli related question.

You should track down your environment about differences in both situations.

Can you help with this problem?

Provide an answer of your own, or ask Raghavender for more information if necessary.

To post a message you must log in.