Max Script Job cannot save max file

I’ve run into a very curious issue which I can only point to been a conflict with deadline 3 (previously worked in deadline 2)…

Basically, we have a script that performs some converstion work from one context of the file to another, in the process creating a new max file. When ever deadline runs it, the “SaveMaxFile” function returns false. When ever we run it manually, it works fine.

We know it’s not a “rights” issue (within in the context of the script), as the script exports a series of point cache files into the same location. I can delete any previously created files and create backups of the file (all part of the process), but we simply can not save the max file?

Any ideas??

Shane

After some testing, it appears this function only succeeds when in Workstation mode. The option to use Workstation mode should be available when setting up a maxscript job. I believe in Deadline 2.x, we were always forcing workstation mode for maxscript jobs.

Cheers,

  • Ryan

Ahhh, gee, this has been driving me nuts :stuck_out_tongue:

Okay, workstation mode it is :slight_smile:

Cheers
Shane

Okay, I set UseSlaveMode and MaxScriptJob values in the JobInfo file to 1 but it still doesn’t work (using a custom script)
max_job_info.job;Version=2009 MaxVersionToForce=64bit MaxVersionToForceSticky=false SceneFile=T:\0000_Wanted_Test\Production\CS_09D2\Shot_080\CS_09D2_Shot_080_ANI_Master.max IgnoreMissingExternalFiles=1 IgnoreMissingUVWs=1 IgnoreMissingDLLs=0 UseDefaultOutput=1 Camera= UseSlaveMode=1 MAXScriptJob=1

max_submit_info.jobPlugin=3dsmax Priority=50 Pool=ScriptJob PoolExclusive=true UserName=shanew TaskTimeoutSeconds=0 MachineName=CHEECH-64 ChunkSize=1 ForceReloadPlugin=false NotificationTargets= LimitGroups= MachineLimit=0 NotifyOnSlaveTimeout=true SlaveTimeout=0 InitialStatus=Active JobDependencies= JobDependencyPercentage=-1 IsFrameDependent=false ResumeOnCompleteDependencies=true ResumeOnDeletedDependencies=false ResumeOnFailedDependencies=false DeleteOnComplete=false ArchiveOnComplete=false MaxTasksPerSlave=1 LimitTasksToNumberOfCpus=false IgnoreFailedJobDetection=false IgnoreFailedTaskDetection=false IgnoreBadJobDetection=false PostJobScript= Group= Department=Animation/Converstion SequentialJob=false ScheduledType=None ScheduledType=None Comment=Convert CS_09D2_Shot_080_ANI_Master.max to PC_Master Name=CS_09D2_Shot_080_ANI_Master Frames=1

Know I this is a “idiot on the outside” issue…and some of the values are no longer supported by v3 (still updating from v2) but I’m having trouble figuring out what I’ve done wrong :stuck_out_tongue:

Shane

Hey Shane,

Try setting UseSlaveMode to 0. That disables Slave mode - there isn’t an “enable Workstation mode” option. :slight_smile:

Cheers,

  • Ryan

Ahhh, excellent :slight_smile:

That’s done the trick…

Had to recode that section of the script not to long ago and got my 0’s & 1’s mixed up.

Cheers
Shane