I’m trying to port a custom plugin from 7.2 to 8.0, and I’m running into a few issues.
First, the plugin lives outside of the Deadline repo, and for every job submission, I pass a customPluginDirectory
JobInfo key that points to the directory containing the named plugin directory. This has been working fine for years with Deadline 6 and 7, but now when trying to submit a job (via the REST API), I constantly get:
Error: plugin name specified by job, "LumaJob", is not a known plugin name.
If I copy the LumaJob plugin directory into the repository’s ‘custom/plugins’ subdirectory, I am able to submit a job using the plugin, but I would like to continue using an external definition.
Second, it seems that MultiLineString controls don’t work the same way as they did in 7.2, or they’re just broken in 8.0, but it’s not clear why. This custom plugin has two MultiLineString controls defined in its .options file. Once I had a job submitted using my plugin (while it was living in the repository), I opened the Job Properties dialog, and when I went to the “LumaJob Settings” section, I got two tracebacks in the Monitor console, and neither of the MultiLineString widgets showed up (only their labels). The errors look like:
Traceback (most recent call last):
File "DeadlineUI/Forms/JobOptionsForm.py", line 392, in addNewWidget
TypeError: __init__() takes at most 3 arguments (4 given)
My control definitions basically look like this:
[configData]
Type=MultiLineString
Label=Job Config Data
Description=Specific config data used by this job
Category=Dev
Index=1
Required=True
Default=
None of the shipped application plugins use the MultiLineString control, so I have nothing to reference for changes except the documentation, which makes it sound like this should continue to work as expected.
Thanks for any help here.