custom trigger: python script fail to run when fired from SD+

custom trigger: python script fail to run when fired from SD+

Hello, 
for some reason python scripts are failing when they are fired from servicedesk
i added temporally  a time.sleep(15) in the script to get the file from the request directory.
after copying the file somewhere else i ran the scripts from command line and it work perfectly.

I did a test with this simple python script :

import sys
filename = str(sys.argv[1])
with open(filename) as data_file:
data = json.load(data_file)
print("this is a test for python called script with custom trigger")

the error is attached in the text file attached.

i already open a case with M.E 5 days ago and so far no response.....

regards,




                  New to ADSelfService Plus?