Trouble running Python script

snorkel (3 posts)
August 1, 2008 08:54 AM
Accepted Answer
Hi,
We have a python script we want to run from AdTempus, but it fails every single time.
 
It works fine from the command line like this:
 
D:\python25\python.exe D:\toba\CTF_Automation\8am_download.py
 
and it works fine from the command line like this:
D:\toba\CTF_Automation\8am_download.py
 
The path to the python exe is in the windows system environment vars (PATH) and works as noted from the command line.
 
When we set it up as the first step of a job Adtempus refuses to run it and gives a log message of 107
 
Bill Staff (604 posts)
August 4, 2008 10:49 AM
Accepted Answer
I don't think adTempus has an error message 107. Please post the error message that you are getting.

If adTempus "refuses to run" your script, the error message adTempus is logging should tell you exactly why adTempus cannot start the program.

If you mean that adTempus is starting Python but it is returning an exit code of 107, you need to look at the Python output for information on what the problem is. See www.arcanadev.com/support/kb/K00000184.aspx for troubleshooting tips.

You should be specifying "D:\python25\python.exe" as the Target for the step, and
"D:\toba\CTF_Automation\8am_download.py" as the command-line parameters.

Replies are disabled for this topic.