About the Deadline 10 Bug Reports category

Report bugs for Deadline 10 here.

Moho submit job don’t work. this is error.

2019-01-06 17:32:54: Running script AnimeStudioSubmission (\DAVOOD1-PC\DeadlineRepository10\scripts\Submission\AnimeStudioSubmission.py)
2019-01-06 17:32:54: Traceback (most recent call last):
2019-01-06 17:32:54: File “c:\FranticRegressions\DL_Main\git_git.thinkbox.corp.amazon.com_deadline_deadline\DeadlineProject\DeadlineUI\Commands\ScriptCommands.py”, line 105, in InnerExecute
2019-01-06 17:32:54: PythonNetException: TypeError : AddScriptControl() takes at least 4 arguments (2 given)
2019-01-06 17:32:54: File “\DAVOOD1-PC\DeadlineRepository10\scripts\Submission\AnimeStudioSubmission.py”, line 59, in main
2019-01-06 17:32:54: scriptDialog.AddScriptControl( jobOptions_dialog )
2019-01-06 17:32:54:

Unable to catch Deadline exception.

Deadline version: 10.1.23.6

I had an issue where I would get and exception coming from Deadline’s API Repository.GetDeadlineMajorVersion(), which would point to Deadline.send() method. I have tried to wrap it into try-except and manage the exception in my own Python code, but the try-except block was not able to catch the error even though it was printing it to stdout.

After I traced the code, I have noticed that Deadline.send() is completely wrapped in try-except block and all Deadline.send() errors are being “handled” printed in the send() method.

I copied the API to another testing location and altered the code for testing purposes. By completely removing try-except block from the Deadline.send() method, I was able to catch and handle exceptions caused by Deadline.send() method as it was expected.

Is there a very specific reason for making Deadline.send() method this way or is it maybe overlooked?

Thank you,

Rez event plugin fails if implicit_packages does not contain ==.

The implicit_packages setting does not need to be an explicit version, so it can be something like

"implicit_packages": [
    "my_package",
    "my_other_package",
]

This will cause an error because in events/Rez/Rez.py the line:

implicit_values = [i.split('==')[1] for i in implicit_packages.split(' ')]

Requires the == which is not necessarily present.