AWS Thinkbox Discussion Forums

Broken AE jsx submit Script in BETA 2 and 3

  1. Version of Deadline : BETA 2, BETA3
  2. Operating System : Mac OSX 10.6.8
  3. Rendering Application (if applicable) : After Effects CS5
  4. Steps to Reproduce (or a test scene, if applicable) :

When submitting a Job with AE CS5 using the .jsx submission script I recievce the following error in a pop up window. The job never submits.

“Could not find platform dependent libraries <exec_prefix>”

“Consider setting $PYTHONHOME to [:<exec_prefix>]
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme
Deadline Command 5.1 [v5.1.0.45496 R]
Error: could not find job info file: Could not find platform dependent libraries <exec_prefix>Consider setting to [:<exec_prefix>]
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme
/Users/admin/Deadline
/temp/ae_submit_info.job (Deadline.Submission.DeadlineSubmissionException)”

Please advise.

Andy

Hey Andy,

I can’t reproduce this problem on our end, but I think I know what might be causing the problem. The script uses deadlinecommand to figure out some information, and I think it’s returning garbage stdout that is affecting the data. To confirm, please open a terminal on this machine and run the following:

deadlinecommand GetCurrentUserHomeDirectory

If you can send us a screen shot (or copy and paste the results from the terminal), that would be great!

Cheers,

  • Ryan

Here is the output from the deadlinecommand :

$ deadlinecommand GetCurrentUserHomeDir
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using built-in colorscheme

Thanks for posting the results. Very helpful!

Attached is an updated AE submission script that we think should fix this problem. To install, go to \your\repository\submission\AfterEffects, and make a backup copy of SubmitAEToDeadline.jsx (just in case). Then unzip the attached file to the same folder. Then try submitting a new AE job to see if it works. If it doesn’t, please post the error message you get.

Cheers,

Ryan,

Great Work! That did the trick. The only thing I had to do above and beyond was to comment out the Sanity Check code Lines 246-259.

Thanks,
Andy

Hey Andy,

You shouldn’t have to comment out that code. Are you by chance placing the script I posted in you local AE scripts folder? If so, that could explain the problem. Normally, you would grab the \your\repository\clientSetup\AfterEffects\SubmitToDeadline.jsx, script and place that in your local AE scripts folder. This client setup script simply calls the \your\repository\submission\AfterEffects\SubmitAEToDeadline.jsx script, and is responsible for defining the “root” variable that the sanity check code references.

I took a look at the SubmitToDeadline.jsx client setup script, and discovered it could run into the same problems that SubmitAEToDeadline.jsx would run into with deadlinecommand. So I’ve attached an updated client setup script here too.

So to sum up:

  1. Unzip the SubmitAEToDeadline.zip file I uploaded earlier to \your\repository\submission\AfterEffects\
  2. Unzip the file attached here to \your\repository\clientSetup\AfterEffects\
  3. Copy SubmitToDeadline.jsx from \your\repository\clientSetup\AfterEffects\ to [Local AE Install]/Scripts/
  4. Restart AE and try submitting again

Cheers,

Privacy | Site terms | Cookie preferences