AWS Thinkbox Discussion Forums

3ds Max 2023 Support

I was aksing when, not why :slight_smile:

I proceeded to install the “fix” and couldn’t make it work for me.
The render submitts but It will crash on every machine on the farm giving an error " sorry I don’t remeber what error was but something about Unicode… blabla " crashed every single version of Max not only 2023

I replaced the files that are in the zipfile.
Also the installer attached installs only for 2022? should we force it to install on 2023 when it promps about it?

I could reverse the files to the backup version and then everything worked again, not Max 2023 of course.

well waiting for the official release meanwhile.

Will not work with 2023.1 update…(2023(.0)) is ok for MXS job and rendering job(what i use)…
But with 2023.1 we got some error, after 3dsMAX 2023.1 init itself.

Error: FailRenderException : 3dsmax startup: Error getting connection from 3dsmax: Dialog popup detected: Title “Scripting Listener”, Message "MAXScript "

at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
File “C:\ProgramData\Thinkbox\Deadline10\workers\ICEBERG\plugins\62aac470c6f696c38029ba2c\3dsmax.py”, line 170, in StartJob
self.MyMaxController.StartMax()
File “C:\ProgramData\Thinkbox\Deadline10\workers\ICEBERG\plugins\62aac470c6f696c38029ba2c\3dsmax.py”, line 1277, in StartMax
self.WaitForConnection(“3dsmax startup”)
File “C:\ProgramData\Thinkbox\Deadline10\workers\ICEBERG\plugins\62aac470c6f696c38029ba2c\3dsmax.py”, line 2190, in WaitForConnection
errorMessageOperation, e.Message, self.NetworkLogGet()))
at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
at __FranticX_GenericDelegate0Dispatcher.Invoke()
at Deadline.Plugins.DeadlinePlugin.StartJob()
at Deadline.Plugins.DeadlinePlugin.DoStartJob()
at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

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

RenderPluginException

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

at Deadline.Plugins.SandboxedPlugin.d(DeadlineMessage bgj, CancellationToken bgk)
at Deadline.Plugins.SandboxedPlugin.StartJob(Job job, CancellationToken cancellationToken)
at Deadline.Slaves.SlaveRenderThread.c(TaskLogWriter ajq, CancellationToken ajr)

I send a ticket about this with the full log…

1 Like

Can’t remember the details, but there was a function to ignore dialogs, by dialog title/name.
So it is a matter of adding this ignore somewhere.

1 Like

I just updated and checked this and the render failed (simple teapot in scanline)
image
Deadline Client Version: 10.1.21.4 Release (690edd3fe)
FranticX Client Version: 2.4.0.0 Release (14916bbc6)
Repository Version: 10.1.21.4 (690edd3fe)
Integration Version: 10.1.21.4 (690edd3fe)

Have the custom bits from above but the job failed when submit to Deadline

2022-06-16 12:33:09:  0: INFO: Ignoring popup "MAXScript Debugger"
2022-06-16 12:33:09:  0: WARNING: Detected popup dialog "Scripting Listener".
2022-06-16 12:33:09:  0: WARNING: ---- dump of dialog ----
2022-06-16 12:33:09:  0: WARNING: Static: 
2022-06-16 12:33:09:  0: WARNING: Button: MAXScript 
2022-06-16 12:33:09:  0: WARNING: Button: Python
2022-06-16 12:33:09:  0: WARNING: MXS_Scintilla: 
2022-06-16 12:33:09:  0: WARNING: MXS_Scintilla: 
2022-06-16 12:33:09:  0: WARNING: ---- end dump of dialog ----
2022-06-16 12:33:09:  0: Done executing plugin command of type 'Start Job'

In the submitter under the ‘Scripts’ tab there is this
image

When I unchecked Popup Handline it went through, not sure if this is the same issue you are having but I think this is what @mois.moshev is referring too.

Yeah this is the feature I’m writing about, but you might have to hack the plugin to add more dialogs to ignore. (Actually not sure how it works, haven’t looked at it in a while)

Here is the fix from Official support (via ticket):

"You’re getting a popup that’s not handled by any of the popuphandlers in the 3dsmax.py file. We don’t support Max 2023 yet, so I don’t have a machine to test with but adding your own handler is pretty straightforward.

In the DeadlineRepository10/plugins/3dsmax/3dsmax.py file around line 3163 add self.AddPopupIgnorer(".Scripting Listener."). "

Max2023 Support : 3ds Max 2023 Support - #16 by Qail_Mukhi

Edit for 2023.1 support (overwrite the py file with this one): (/plugins/3dsmax/3dsmax.py )
3dsmax.py (199.1 KB)

Both require 10.1.24

Thanks Thinkbox Team :slight_smile:

2 Likes

Finally the 2023 support is here!

I updated everything, and tested, in 2021 worked fine.
but in 2023 I’m getting this error.

I cropped the parts where the errors appear.


Error: FailRenderException : 3dsmax startup: Error getting connection from 3dsmax: Dialog popup detected: Title “Scripting Listener”, Message "MAXScript "


at Deadline.Plugins.DeadlinePlugin.FailRender(String message) (Python.Runtime.PythonException)
File “C:\ProgramData\Thinkbox\Deadline10\workers\pcname001\plugins\62bc547b03c334803c4be3a2\3dsmax.py”, line 170, in StartJob
self.MyMaxController.StartMax()
File “C:\ProgramData\Thinkbox\Deadline10\workers\pcname001\plugins\62bc547b03c334803c4be3a2\3dsmax.py”, line 1277, in StartMax
self.WaitForConnection(“3dsmax startup”)
File “C:\ProgramData\Thinkbox\Deadline10\workers\pcname001\plugins\62bc547b03c334803c4be3a2\3dsmax.py”, line 2190, in WaitForConnection
errorMessageOperation, e.Message, self.NetworkLogGet()))
at Python.Runtime.Dispatcher.Dispatch(ArrayList args)
at __FranticX_GenericDelegate0Dispatcher.Invoke()
at Deadline.Plugins.DeadlinePlugin.StartJob()
at Deadline.Plugins.DeadlinePlugin.DoStartJob()
at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)
at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)


2022-06-29 22:33:12: 0: INFO: Ignoring popup “MAXScript Debugger”
2022-06-29 22:33:12: 0: WARNING: Detected popup dialog “Scripting Listener”.
2022-06-29 22:33:12: 0: WARNING: ---- dump of dialog ----
2022-06-29 22:33:12: 0: WARNING: Static:
2022-06-29 22:33:12: 0: WARNING: Button: MAXScript
2022-06-29 22:33:12: 0: WARNING: Button: Python
2022-06-29 22:33:12: 0: WARNING: MXS_Scintilla:
2022-06-29 22:33:12: 0: WARNING: MXS_Scintilla:
2022-06-29 22:33:12: 0: WARNING: ---- end dump of dialog ----
2022-06-29 22:33:12: 0: Done executing plugin command of type ‘Start Job’

Got reply from the support.

Adding to the 3dsmax.py file the following ignore command fixed it.

    # For Scripting Listener
    self.AddPopupIgnorer( "Scripting Listener" )

be carefull with spaces vs TAB… seems deadline didn’t like tabs at front :slight_smile:

2 Likes

I suppose you saved your scene with the scripting listener opened, and that is why it popped up on open? If you close it and save it might not be an issue. But yeah the dialog should be ignored anyway.

After installing release 10.1.22.5 It’s working for me. Thanks Ignacio. The file is here if your search it: “\DeadlineRepo\plugins\3dsmax\3dsmax.py”

I copied the 3dsmax.py script into the folder and still running into this issue with Vray 6 and Max 2023. Any thoughts?

Im having still issues with Max2023 and Deadline… I was able to make it work using the patched 3dsmax.py file.
However only on some scenes, but on complex scenes it seems is way more prone to crashes… same file will render fine on deadline from max 2019 and max 2021, but from max 2023 will crash…

in one scene that was crashing on deadline i tried to narrow down the crash by merging parts of the scene and rendering, and at the end it seems the problem was a material that had a jpg map on a slot, but the jpg file was not available… once i remove the jpg from the material slot it rendered fine… but this took several hours to track down, and using max 2019 this would be ignored and the scene will still render just wont use any map since it would not be found…
Has anyone experience similar issues, or anyone using it in production without any issues?

I am having the same issue here, running 2023.1 and V-Ray 6.0008. I tested the same basic teapot laden scene in 2021 and 2022 with no issues. I supposed I could test V-Ray 5 and see what comes up with 3dsMax 2023.

Any news about that?
Still can´t render in MAx 2023.

I saw a post saying to use Deadline 10.1.24, but I can´t find this download.
Still using 10.1.23.6

I can say one thing, never more I will update this before at least 8 to 10 months of the release. Autodesk has been rolling this out yearly, always full of bugs.
Since we have a team and already worked on a lot of files, it will be really hard to roll back now.

@kauffman @SIDNEY_T_C_JUNIOR do you still have the problem with the pop up handler unchecked?

image

I can render with 2023.1 and V-Ray 6 with this unchecked

Still getting errors.

This seems to have worked for me. Thanks!

1 Like

I’m encountering the same problem. 3ds Max 2023.1 (25.1.0.2342) plus V-Ray 6; Deadline is 10.1.22.5.

Submitting a job with Popup Handling checked results in Dialog popup detected: Title “Scripting Listener”, Message "MAXScript "
Submitting a job with Popup Handling uncheck results in Failed to load max file
Modifying the 3dsmax.py file or using the verison attached to this thread result in the same failed to load error.

Is there a surefire solution to this problem?

Hey @Luca_Ceriani

If you have not changed the job type it will keep on using same plugin it copied. So you might have changed the plugin in the Repo the Worker cache needs to updated.

To do that the easiest way to test is to re-load plugin between the tasks. It is not recommended for rendering because it takes more time to render (loading and unloading plugin on every task ). So for any job you are trying to test> right click it> Modify Job Properties> General> Re-load plugin between tasks. Then retry, if it still fails, check if you have got a copy of plugin in the [repo]/custom/plugins/3dsMax/, if you have this plugin will used rather than the one in the default folder. So you will need to make changes to that plugin. If it still fails attach the copy of 3dsmax.py you have got in [repo]/custom/plugins/3dsMax/ or if you do not have it in custom get from [repo]/plugins/3dsMax/

Hi,
there’s no custom plug-in for 3ds Max, everything is done with the standard .py file

In the meantime, I updated 3ds Max to 2023.2, with the same results. Updating Deadline requires going through some internal company loops, and I’ll test that when I can.

Out of curiosity, I created a simple scene with a cube and a light (no maps, no external references) and that did render via Deadline.
However, the moment I add a texture or an external reference (I work with XRefs a lot), problems start.

I’ve done some testing, and here are the results, logs and .py file. All have been done with the “Reload plugin between tasks” checked. All tests were done with Max 2023.2, Deadline 10.1.22.5, and a scene I would normally work with.
“PluginMod” indicates I used the popupignorer line found earlier in the thread, Popuphandling Enabled/Disabled is for the option @anthonygelatka suggested.

PluginMod_PopuphandlingDisabled.zip (41.5 KB)
PluginMod_PopuphandlingEnabled.zip (41.5 KB)
PopuphandlingDisabled.zip (47.4 KB)
PopuphandlingEnabled.zip (45.6 KB)

Privacy | Site terms | Cookie preferences