AWS Thinkbox Discussion Forums

Cannot access file: "\\sfs-file\repository...

I’m having trouble with the SMTD script.

getfileModdate @"\sfs-file\repository5\temp_TempDate.txt"
– Runtime error: Cannot access file: “\sfs-file\repository5\temp_TempDate.txt”

But if I create a new text file and run:
getFileModDate @"\sfs-file\repository5\temp\a.txt"

It’s peachy.

There is just something about those files created by maxscript that it doesn’t like.

Also it says it’s creating a log but it’s not. There isn’t a \log\ path in the thinkbox\deadline\bin folder. I created one manually but still no luck.

[code]Resolving Network Path: 153ms
SMTD_AutoLoadSuccessful = true
Loading RegionManipulator.ms: 6843ms
Loading TileManipulator.ms: 1975ms
Total SMTD Launcher Time: 10234ms
– Error occurred in SMTD_MainRollout.open(); filename: C:\Users\ggreenwalt\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu\scripts\SubmitMaxToDeadline.ms; position: 23960; line: 663
– Frame:

MAXScript Rollout Handler Exception:
– Runtime error: FileStream cannot create: C:\Program Files\Thinkbox\Deadline\bin\logs\SubmitMaxToDeadline - [DAEDALUS] - 4-15-2011-0000.log <<
– Error occurred in SMTD_JobScheduling.open(); filename: C:\Users\ggreenwalt\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu\scripts\SubmitMaxToDeadline.ms; position: 54548; line: 1440
– Frame:
– theFile: undefined
– theIndex: 1
– theFS: #()
– tempFile: “C:\Program Files\Thinkbox\Deadline\bin\temp_TempDate.txt”
– theDate: undefined

MAXScript Rollout Handler Exception:
– Runtime error: FileStream cannot create: C:\Program Files\Thinkbox\Deadline\bin\temp_TempDate.txt <<
[/code]

I think this is related to the other bug where it thinks my network root is “C:\program files\thinkbox\deadline\bin”

This is apparently a Max 2012 bug. The closefile() function no longer works.

EDIT: But also fails in Max 2011.

EDIT EDIT: But only because the default temp folder is pointing to: C:\program files\thinkbox\deadline\bin\temp which didn’t exist. I created that (but I assume it should be \repository\temp) And it’s now creating the file and working Max 2011.

Yup. Until the bug is fixed, the ONLY way to render max 2012 jobs with Deadline is to submit a 3ds Command job from the Monitor (which uses 3dsmaxcmd.exe).

We can’t reproduce the problem with 2011 though. Was 2012 still running? It would have locked the file that SMTD was trying to use.

Privacy | Site terms | Cookie preferences