Hello Community,
I create a python action on vRO, and when i run it, i dont receive any result and the action is running to infinity.
And this problem just for python , the others languages is work like a javascript.
Please, any one he have the solution.
Thank you
Without seeing your code it is very hard to diagnose. Can you post it?
This is a simple code :
You've got some errors in there that could be corrected and then retest but I don't see why that would cause the issue. Here is the amended code.
def handler(context, inputs):
if inputs.get('name') == 'Jhon':
print("You are Jhon")
else:
print("You are Not Jhon")
even if I make mistakes on the code, I do not receive any problem, and it remains in the status "in progress" for a long time.
Like that:
I think the problem is at the compiler level.
Paul's version works perfectly fine. Have you corrected your errors according to his code?
the problem is not in the code, because if it is , i receive a erreur, but in my case the action is running for a long time. without display no error or result
Anything in /data/vco/usr/lib/vco/app-server/logs/scripting.log ?
I see no trace of my action when i execute it
you may try to re-deploy the services by running
/opt/scripts/deploy.sh