I’m trying to whip up some job scripts, and currently have a test script using the OS module (imported by setting the Python search path in the Repository settings to C:\Python26\Lib). However, when I try to run my script, I get the following error:
Python Syntax Error: unexpected token
(IronPython.Runtime.Exceptions.PythonSyntaxErrorException)
FileName: C:\Python26\Lib\os.py
Line: 757
Column: 18
(System.Exception)
My first thought is that 2.6 is too new of a version for Deadline to use… is this the case? If so, what version is required/functional for Deadline?
Also, I’m curious where pre- and post-job scripts are executed. Are they run on the server hosting the repository? The submission machine? Or a slave (the one assigned to Task 0 maybe)?
Thanks in advance.