Error: Output Directory and Fail to load Max file [SOLVED]

rendering-or-submission-issue

#1

We’re having problems running a Deadline 3DS Max 2017 render on 4 PCs within our 11 PC network. All other PCs rendered with no settings needing tweaking after Deadline install.

  • Three PCs (BTA-01, BTA-08 and BTA-10) report:
    Failed to create output directory.
    They both have full access to the server folders and can individually run the render.
    Already tried the reported on this post: 3dsmax: Failed to create output directory.

  • One PC (BTA-07) reports:
    3dsmax: Failed to load max file.
    This PC can also render the project locally.

Individual error logs to be shared on the following separate entries.


#2

BTA-01 Error Log

=======================================================
Error

Error: Failed to create output directory “F:\TEST_DEADLINE”. The path may be invalid or permissions may not be sufficient.
en Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

en Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage ayn)
en Deadline.Plugins.SandboxedPlugin.StartJob(Job job)
en Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter adc)


#3

BTA-07 Error Log

=======================================================
Error

Error: 3dsmax: Failed to load max file: “P:/PB/TEST_DEADLINE/TEST_DEADLINE_00.max”
2019/06/28 16:16:30 DBG: [12316] [50268] Starting network
2019/06/28 16:16:30 DBG: [12316] [50268] Calling NetRenderPreLoad
2019/06/28 16:16:30 DBG: [12316] [50268] in NetWorkerPreLoad. jobFile: ; jobname: C:\Users[USER]\AppData\Local\Thinkbox\Deadline10\slave[USER]\jobsData\5d1640897e375b2f74ee43d6\maxStartup\0\deadlineStartupMax2017.max
2019/06/28 16:16:30 DBG: [12316] [50268] in Init. jobFile: ; jobname: C:\Users[USER]\AppData\Local\Thinkbox\Deadline10\slave[USER]\jobsData\5d1640897e375b2f74ee43d6\maxStartup\0\deadlineStartupMax2017.max
2019/06/28 16:16:30 DBG: [12316] [50268] in Init. calling nrGetIface. jobToSend: C:\Users[USER]\AppData\Local\Thinkbox\Deadline10\slave[USER]\jobsData\5d1640897e375b2f74ee43d6\maxStartup\0\deadlineStartupMax2017.max
2019/06/28 16:16:30 DBG: [12316] [50268] in NetWorkerPreLoad. curJobname: C:\Users[USER]\AppData\Local\Thinkbox\Deadline10\slave[USER]\jobsData\5d1640897e375b2f74ee43d6\maxStartup\0\deadlineStartupMax2017.max; init: 0
2019/06/28 16:16:30 DBG: [12316] [50268] in NetWorkerPreLoad. calling PostInitMessageSystem()
2019/06/28 16:16:30 DBG: [12316] [50268] in NetWorkerPreLoad. srv_pid: 0
2019/06/28 16:16:30 DBG: [12316] [50268] leaving NetWorkerPreLoad. LoadLib()
2019/06/28 16:16:30 DBG: [12316] [50268] NetRenderPreLoad passed
2019/06/28 16:16:36 INF: [12316] [50268] SYSTEM: Production renderer is changed to V-Ray Adv 3.50.04. Previous messages are cleared.
2019/06/28 16:16:36 INF: [12316] [50268] [V-Ray] ============================================================
2019/06/28 16:16:36 INF: [12316] [50268] [V-Ray] Console created, V-Ray Adv 3.50.04 for x64 from Mar 2 2017, 23:03:09
2019/06/28 16:16:36 INF: [12316] [50268] [V-Ray] ============================================================
2019/06/28 16:16:36 INF: [12316] [50268] [V-Ray] Compiled with Intel C++ compiler, version 15
2019/06/28 16:16:36 INF: [12316] [50268] [V-Ray] Host is 3ds Max, version 19
2019/06/28 16:16:36 INF: [12316] [50268] [V-Ray] V-Ray DLL version is 3.25.01
2019/06/28 16:16:37 DBG: [12316] [50268] Interface8::LoadFromFile(C:\Users[USER]\AppData\Local\Thinkbox\Deadline10\slave[USER]\jobsData\5d1640897e375b2f74ee43d6\maxStartup\0\deadlineStartupMax2017.max)
2019/06/28 16:16:37 INF: [12316] [50268] Starting to load file: C:\Users[USER]\AppData\Local\Thinkbox\Deadline10\slave[USER]\jobsData\5d1640897e375b2f74ee43d6\maxStartup\0\deadlineStartupMax2017.max
2019/06/28 16:16:37 WRN: [12316] [50268] MAXScript Callback script Exception: – Runtime error: No method found which matched argument list
2019/06/28 16:16:37 WRN: [12316] [50268] Missing dll: mrmaterialattribs.gup - mental ray: material custom attribute
2019/06/28 16:16:37 INF: [12316] [50268] Done loading file: C:\Users[USER]\AppData\Local\Thinkbox\Deadline10\slave[USER]\jobsData\5d1640897e375b2f74ee43d6\maxStartup\0\deadlineStartupMax2017.max
2019/06/28 16:16:37 INF: [12316] [50268] SYSTEM: Production renderer is changed to Scanline Renderer. Previous messages are cleared.
2019/06/28 16:16:37 DBG: [12316] [50268] Interface8::LoadFromFile(P:/PB/TEST_DEADLINE/TEST_DEADLINE_00.max)
2019/06/28 16:16:37 INF: [12316] [50268] Starting to load file: P:/PB/TEST_DEADLINE/TEST_DEADLINE_00.max
2019/06/28 16:16:37 WRN: [12316] [50268] MAXScript Callback script Exception: – Runtime error: No method found which matched argument list
2019/06/28 16:16:37 WRN: [12316] [50268] Missing dll: mrmaterialattribs.gup - mental ray: material custom attribute
2019/06/28 16:16:37 WRN: [12316] [50268] Missing dll: mrmaterialattribs.gup - mental ray: Displacement Custom Attributes
2019/06/28 16:16:37 WRN: [12316] [50268] Missing dll: mrmaterialattribs.gup - mental ray: Indirect Illumination custom attribute
2019/06/28 16:16:37 WRN: [12316] [50268] Missing dll: mrmaterialattribs.gup - mental ray: light shader custom attribute
2019/06/28 16:16:38 DBG: [12316] [50268] Error loading file P:/PB/TEST_DEADLINE/TEST_DEADLINE_00.max

en Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

en Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage ayn)
en Deadline.Plugins.SandboxedPlugin.StartJob(Job job)
en Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter adc)


#4

BTA-08 Error Log

=======================================================
Error

Error: Failed to create output directory “F:\TEST_DEADLINE”. The path may be invalid or permissions may not be sufficient.
en Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

en Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage ayn)
en Deadline.Plugins.SandboxedPlugin.StartJob(Job job)
en Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter adc)


#5

BTA-10 Error Log

=======================================================
Error

Error: Failed to create output directory “F:\TEST_DEADLINE”. The path may be invalid or permissions may not be sufficient.
en Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

en Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage ayn)
en Deadline.Plugins.SandboxedPlugin.StartJob(Job job)
en Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter adc)


#6

It appears that both errors contain paths that include mapped drives (F:, P:). There is a chance that the Deadline client software might not be able to access these mapped drives depending on how it is installed and configured (e.g. what user account it is running under, whether it is running as a service or as an application, etc.)

To avoid such issues, we offer the ability to (re-)map drive letters on Windows render nodes before rendering starts:

https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/repository-config.html?highlight=mapped%20drives#mapped-drives

While I am not claiming that this will solve your problems, it would be a good idea to configure the Mapped Drives section of the Deadline Repository settings, and see if things will improve.

I see that Mapped Drives were already suggested by Charles in the other thread you mentioned. But since the first error clearly complains about possible permissions issue, I had to ask to make sure you are mapping F: on those machines with the right credentials.


#7

Thanks for your reply, @Bobo.

Got three of them working (BTA-01, BTA-08 and BTA-10) with the output directory failure.

I had previously gone through those steps, but this time I decided to start from scratch by resetting all shared drives; starting from a Windows Level, then Third Party, ending with Deadline. Steps I took:

  • Removed previously set Deadline Drive Paths.
  • Removed all Windows Credentials related to the shared drives.
  • Deactivated Network Drive Manager from Suncross. Used it to reconnect drives every minute. Tried with and without, but this was not the problem.
  • Mapped network drives again, ensuring use of different credentials, which are the server’s credentials.
  • Setup Drive Paths on Deadline again.

Now all that is left is figuring out BTA-07, which has a MAX loading issue. Noticed the PC has a tiny 3GB left of space. Doubt that would be a problem, but I’ll check if it is. Other than that, I’ll try deactivating Windows UAC.

Any other ideas you or others could offer?

Thanks again!


#8

Search for this known error: Missing dll: mrmaterialattribs.gup

On this page in our docs: https://docs.thinkboxsoftware.com/products/deadline/10.0/1_User%20Manual/manual/app-3ds-max.html#faq


#9

That was just it @MikeOwen!

Mental Ray is installed in the programs list of BTA-07, but the Plugins folder is nowhere to be found. I did a quick test by copying the Plugins folder from another PC and it worked.

We’ll still reinstall 3DS Max 2017 from scratch, just to make sure we’re not missing anything else.

Thanks for all your help everyone!

Cheers,

Marcelo