|
problem in api using loadprogram in lisp fred miller from United States [72 posts] |
14 year
|
this is my script
(defun followredobject()
(loadprogram "c:\\program files\\roborealm\\followredobject.robo"))
i get a error in listener when i enter (followredscript)
i have robo in roborealm
|
|
|
fred miller from United States [72 posts] |
14 year
|
i did find one problem,i had 2 defun with the same name (followredobject)
so i rename it
now i get this error in listener
CL-USER 3 : 2 > (followredobjectrobo)
Error: Error making TCP connection: host="localhost", service=6060, reason=Failed to connect: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied. (10057).
1 (abort) Return to level 2.
2 Return to debug level 2.
3 Return to level 1.
4 Return to debug level 1.
5 Return to level 0.
6 Return to top loop level 0.
Type :b for backtrace, :c <option number> to proceed, or :? for other options
i do have firewall set up and roborealm API server on
|
|
|
Anonymous |
14 year
|
Fred,
Seems that the connection is not getting through. Perhaps the firewall is the issue. Can you try the following telnet test
http://www.roborealm.com/help/API.php#test_API
and see what happens? Note that this is outside LISP. If this works then the issue is some configuration within the LISP application itself. Perhaps your machine does not understand localhost, instead try 127.0.0.1
STeven.
|
|
|
fred miller from United States [72 posts] |
14 year
|
thanks Steven it works when i change to port 8080
next to start roborealm when i start leaf
|
|