AWS Thinkbox Discussion Forums

pre task scripts

Trying to add a script with arguments, but it seems to be failing:

The line in the dialog:
“//s2/exchange/software/managed/pythonScripts/site-packages/scanline/mayaLauncher.py” “2012x64” “default” “vulcan” “WW” “WW_107_0170” “False”

The error:

0: An exception occurred: Error in RenderTasks: Illegal characters in path.

If i remove the quotes, i get:

Error in RenderTasks: Pre task script “//s2/exchange/software/managed/pythonScripts/site-packages/scanline/mayaLauncher.py 2012x64 default vulcan WW WW_107_0170 False”: pre task script “//s2/exchange/software/managed/pythonScripts/site-packages/scanline/mayaLauncher.py 2012x64 default vulcan WW WW_107_0170 False”: Could not find file ‘\s2\exchange\software\managed\pythonScripts\site-packages\scanline\mayaLauncher.py 2012x64 default vulcan WW WW_107_0170 False’. (System.IO.FileNotFoundException)

Any ideas?

cheers,
laszlo

Hey Laszlo,

The pre/post job and task scripts currently do not support arguments. Maybe you could store them as arbitrary extra info properties in the job that the scripts can pull from, or you could store them as job environment variables and the script can query the current environment to get that information.

Cheers,

  • Ryan

Hi Ryan,

Cool, i just made a file with the commandline in it for now, and added it as an aux file (prestart.py), seems to work!

cheers,
laszlo

Privacy | Site terms | Cookie preferences