← Back to team overview

sikuli-driver team mailing list archive

[Question #315010]: Running sikuli robot scripts from crontab in Linux( redhat)

 

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

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

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