AWS Thinkbox Discussion Forums

3dsmax startup: Did not receive expected token

Hi,

recently got an error message saying “3dsmax startup: Did not receive expected token from lightning plugin (got “”) - an unexpected error may have occurred during initialization” for a 3ds Max job. The same machine did render other tasks of this same job fine and all other machines that were involved didn’t throw any error either. This is with Deadline 7.2.0.10, below is the complete error message.

Cheers,
Holger

[code]=======================================================
Error

Error: 3dsmax startup: Did not receive expected token from lightning plugin (got “”) - an unexpected error may have occurred during initialization
2015/07/31 19:03:25 INF: SYSTEM: Production renderer is changed to Default Scanline Renderer. Previous messages are cleared.
2015/07/31 19:03:33 DBG: Starting network
2015/07/31 19:03:34 INF: [V-Ray] ============================================================
2015/07/31 19:03:34 INF: [V-Ray] Console created, V-Ray Adv 2.50.01 for x64 from Jul 10 2014, 23:46:45
2015/07/31 19:03:34 INF: [V-Ray] ============================================================
2015/07/31 19:03:34 INF: [V-Ray] Compiled with Intel C++ compiler, version 12,1
2015/07/31 19:03:34 INF: [V-Ray] Host is 3dsmax, version 14
2015/07/31 19:03:34 INF: [V-Ray] V-Ray DLL version is 2.50.01
2015/07/31 19:03:36 INF: Loaded C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-23\plugins\55bba69d74fc321b583ff1c9\deadlineStartupMax2012.max
2015/07/31 19:03:36 INF: Job: C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-23\plugins\55bba69d74fc321b583ff1c9\deadlineStartupMax2012.max

at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)

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

RenderPluginException

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

at Deadline.Plugins.Plugin.StartJob(Job job)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)

=======================================================
Log

2015-07-31 19:03:13: BEGIN - CELL-RS-23\render
2015-07-31 19:03:13: 0: Plugin will be reloaded because a new job has been loaded, or one of the job files or plugin files has been modified
2015-07-31 19:03:13: 0: Loaded plugin 3dsmax (\cell-dead-01\deadlinerepo\plugins\3dsmax)
2015-07-31 19:03:13: 0: Start Job timeout is disabled.
2015-07-31 19:03:13: 0: Task timeout is disabled.
2015-07-31 19:03:13: 0: Loaded job: wc02_bat_001_020_pine_all_v030_an (55bba69d74fc321b583ff1c9)
2015-07-31 19:03:13: 0: INFO: Executing plugin script C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-23\plugins\55bba69d74fc321b583ff1c9\3dsmax.py
2015-07-31 19:03:13: 0: INFO: Slave Running as Service: False
2015-07-31 19:03:13: 0: INFO: About: 3dsmax Plugin for Deadline
2015-07-31 19:03:13: 0: INFO: The job’s environment will be merged with the current environment before rendering
2015-07-31 19:03:13: 0: INFO: Start Job called - starting up 3dsmax plugin
2015-07-31 19:03:13: 0: INFO: Sys Env Var PATH: C:\Golaem\GolaemCrowd-3.3.1.2-Maya2014\bin;\CELLSRV\NETLOGON;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Common Files\Autodesk Shared;C:\Program Files (x86)\Autodesk\Backburner;C:\Windows;C:\Windows\system;
2015-07-31 19:03:13: 0: INFO: Sys Env Var PATH length: 337
2015-07-31 19:03:13: 0: INFO: Backburner Path(s) Found in PATH: ‘C:\Program Files (x86)\Autodesk\Backburner’
2015-07-31 19:03:13: 0: INFO: Backburner server.exe version: 2016.0.0.1727
2015-07-31 19:03:13: 0: INFO: Rendering with 3dsmax version: 2012
2015-07-31 19:03:13: 0: INFO: Build of 3dsmax to force: 64bit
2015-07-31 19:03:13: 0: INFO: Rendering with executable: C:\Program Files\Autodesk\3ds Max 2012\3dsmax.exe
2015-07-31 19:03:13: 0: INFO: Slave 3dsmax.exe version: 14.12.508.0
2015-07-31 19:03:13: 0: INFO: Slave 3dsmax.exe description: 3ds Max 2012 + productupdate_pu12/advantage_pack_extension
2015-07-31 19:03:13: 0: INFO: Submitted from 3dsmax.exe version: 14.12.508.0
2015-07-31 19:03:13: 0: INFO: Submitted from 3dsmax.exe description: 3ds Max 2012 + productupdate_pu12/advantage_pack_extension
2015-07-31 19:03:13: 0: INFO: Checking registry for 3dsmax language code
2015-07-31 19:03:13: 0: INFO: Found language code: 409
2015-07-31 19:03:13: 0: INFO: Language code string: enu
2015-07-31 19:03:13: 0: INFO: Fail on existing 3dsmax process: 0
2015-07-31 19:03:13: 0: INFO: Load 3dsmax timeout: 1000 seconds
2015-07-31 19:03:13: 0: INFO: Start job timeout: 1000 seconds
2015-07-31 19:03:13: 0: INFO: Progress update timeout: 8000 seconds
2015-07-31 19:03:13: 0: INFO: Progress update timeout disabled: 0
2015-07-31 19:03:13: 0: INFO: Slave mode enabled: 1
2015-07-31 19:03:13: 0: INFO: Silent mode enabled: 0
2015-07-31 19:03:13: 0: INFO: Local rendering enabled: 1
2015-07-31 19:03:13: 0: INFO: Running render sanity check using 3dsmaxcmd.exe
2015-07-31 19:03:14: 0: INFO: 3dsmaxcmd.exe exit code: 3
2015-07-31 19:03:14: 0: INFO: 3dsmaxcmd.exe returned: P31.07.2015 19:03:13; Error opening scene file: “C:\Program Files\Autodesk\3ds Max 2012”
2015-07-31 19:03:14: 0: INFO: Render sanity check using 3dsmaxcmd.exe completed successfully. Please ignore the ‘Error opening…’ message thrown by 3dsmaxcmd.exe above.
2015-07-31 19:03:14: 0: INFO: 3dsmax start up file: C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-23\plugins\55bba69d74fc321b583ff1c9\deadlineStartupMax2012.max
2015-07-31 19:03:14: 0: INFO: Using user profiles: 1
2015-07-31 19:03:14: 0: INFO: 3dsmax user profile path: C:\Users\render\AppData\Local\Autodesk\3dsmax\2012 - 64bit\enu
2015-07-31 19:03:14: 0: INFO: Scripts Startup Directory: C:\Users\render\AppData\Local\Autodesk\3dsmax\2012 - 64bit\enu\scripts\startup
2015-07-31 19:03:14: 0: INFO: Kill ADSK WSCommCntr*.exe process: False
2015-07-31 19:03:14: 0: INFO: 3dsmax data path: C:\Users\render\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu
2015-07-31 19:03:14: 0: INFO: 3dsmax ini file: C:\Users\render\AppData\Local\Autodesk\3dsmax\2012 - 64bit\enu\3dsmax.ini
2015-07-31 19:03:14: 0: INFO: Network log file: C:\Users\render\AppData\Local\Autodesk\3dsmax\2012 - 64bit\enu\Network\Max.log
2015-07-31 19:03:14: 0: INFO: Plugin ini file: C:\Program Files\Autodesk\3ds Max 2012\plugin.ini
2015-07-31 19:03:14: 0: INFO: Including user profile plugin ini: C:\Users\render\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu\Plugin.UserSettings.ini
2015-07-31 19:03:14: 0: INFO: Lightning connection plugin: C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-23\plugins\55bba69d74fc321b583ff1c9\lightning64Max2012.dlx
2015-07-31 19:03:14: 0: INFO: 3dsmax socket connection port: 49810
2015-07-31 19:03:14: 0: INFO: Setting up startup environment
2015-07-31 19:03:14: 0: INFO: Copying C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-23\plugins\55bba69d74fc321b583ff1c9\lightning64Max2012.dlx to C:\Users\render\AppData\Local\Thinkbox\Deadline7\temp\lightning\lightning.dlx
2015-07-31 19:03:14: 0: INFO: Created temporary plugin ini file: C:\Users\render\AppData\Local\Temp\dl.ini
2015-07-31 19:03:14: 0: INFO: Temporary plugin ini contains:
2015-07-31 19:03:14: [Include]
2015-07-31 19:03:14: Original=C:\Program Files\Autodesk\3ds Max 2012\plugin.ini
2015-07-31 19:03:14: UserProfile=C:\Users\render\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu\Plugin.UserSettings.ini
2015-07-31 19:03:14: Deadline Lightning=C:\Users\render\AppData\Local\Temp\lightningplugin_685944084804.ini
2015-07-31 19:03:14: 0: INFO: Copying dl.ini to 3dsmax data path: C:\Users\render\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu
2015-07-31 19:03:14: 0: INFO: If this fails, make sure that the necessary permissions are set on this folder to allow for this copy to take place
2015-07-31 19:03:14: 0: INFO: Starting monitored managed process 3dsmaxProcess
2015-07-31 19:03:14: 0: INFO: Stdout Redirection Enabled: True
2015-07-31 19:03:14: 0: INFO: Stdout Handling Enabled: True
2015-07-31 19:03:14: 0: INFO: Popup Handling Enabled: True
2015-07-31 19:03:14: 0: INFO: QT Popup Handling Enabled: True
2015-07-31 19:03:14: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2015-07-31 19:03:14: 0: INFO: Using Process Tree: True
2015-07-31 19:03:14: 0: INFO: Hiding DOS Window: True
2015-07-31 19:03:14: 0: INFO: Creating New Console: False
2015-07-31 19:03:14: 0: INFO: Running as user: render
2015-07-31 19:03:14: 0: INFO: Executable: “C:\Program Files\Autodesk\3ds Max 2012\3dsmax.exe”
2015-07-31 19:03:14: 0: INFO: Argument: -p “dl.ini” -q -s “C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-23\plugins\55bba69d74fc321b583ff1c9\deadlineStartupMax2012.max”
2015-07-31 19:03:14: 0: INFO: Startup Directory: “C:\Program Files\Autodesk\3ds Max 2012”
2015-07-31 19:03:14: 0: INFO: Process Priority: BelowNormal
2015-07-31 19:03:14: 0: INFO: Process Affinity: default
2015-07-31 19:03:14: 0: INFO: Process is now running
2015-07-31 19:03:14: 0: INFO: Waiting for connection from 3dsmax
2015-07-31 19:03:19: 0: STDOUT: Dark
2015-07-31 19:03:22: 0: INFO: Ignoring popup “MAXScript Debugger”
2015-07-31 19:03:38: 0: An exception occurred: Error: 3dsmax startup: Did not receive expected token from lightning plugin (got “”) - an unexpected error may have occurred during initialization
2015-07-31 19:03:38: 2015/07/31 19:03:25 INF: SYSTEM: Production renderer is changed to Default Scanline Renderer. Previous messages are cleared.
2015-07-31 19:03:38: 2015/07/31 19:03:33 DBG: Starting network
2015-07-31 19:03:38: 2015/07/31 19:03:34 INF: [V-Ray] ============================================================
2015-07-31 19:03:38: 2015/07/31 19:03:34 INF: [V-Ray] Console created, V-Ray Adv 2.50.01 for x64 from Jul 10 2014, 23:46:45
2015-07-31 19:03:38: 2015/07/31 19:03:34 INF: [V-Ray] ============================================================
2015-07-31 19:03:38: 2015/07/31 19:03:34 INF: [V-Ray] Compiled with Intel C++ compiler, version 12,1
2015-07-31 19:03:38: 2015/07/31 19:03:34 INF: [V-Ray] Host is 3dsmax, version 14
2015-07-31 19:03:38: 2015/07/31 19:03:34 INF: [V-Ray] V-Ray DLL version is 2.50.01
2015-07-31 19:03:38: 2015/07/31 19:03:36 INF: Loaded C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-23\plugins\55bba69d74fc321b583ff1c9\deadlineStartupMax2012.max
2015-07-31 19:03:38: 2015/07/31 19:03:36 INF: Job: C:\Users\render\AppData\Local\Thinkbox\Deadline7\slave\CELL-RS-23\plugins\55bba69d74fc321b583ff1c9\deadlineStartupMax2012.max
2015-07-31 19:03:38: at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel) (Deadline.Plugins.RenderPluginException)

=======================================================
Details

Date: 07/31/2015 19:03:39
Frames: 7
Elapsed Time: 00:00:00:30
Job Submit Date: 07/31/2015 18:47:27
Job User: alexn
Average RAM Usage: 3155608576 (10%)
Peak RAM Usage: 3451920384 (11%)
Average CPU Usage: 4%
Peak CPU Usage: 10%
Used CPU Clocks: 102992
Total CPU Clocks: 2574780

=======================================================
Slave Information

Slave Name: CELL-RS-23
Version: v7.2.0.10 R (f26c85d44)
Operating System: Windows 7 Professional (SP1)
Running As Service: No
Machine User: render
IP Address: 192.168.1.123
MAC Address: D8:CB:8A:31:90:22
CPU Architecture: x64
CPUs: 12
CPU Usage: 1%
Memory Usage: 3.3 GB / 31.9 GB (10%)
Free Disk Space: 348.698 GB (95.419 GB on C:, 253.278 GB on D:)
Video Card: NVIDIA GeForce 210 [/code]

Hi,
Typically, this is just 3dsMax being a bit ‘special’ and crashing here. Normally, if it’s infrequent, then it can be ignored, but if the occurrences of this error start to increase, then we would need to dig deeper into your 3dsMax/BB install/configuration.

Hi Mike,

thanks for the explanation! So far, it’s been infrequent as you wrote and very rare. So i guess it’s not a really big issue.
And yes, Max is definitely ‘special’ - in many ways :wink:

Cheers,
Holger

Privacy | Site terms | Cookie preferences