AWS Thinkbox Discussion Forums

Event Plugin UI - Type=enum

Hi,
Had a go at creating a new event class plugin and in the myEvent.param file, I defined a “Type=enum” value.
Unfortunately, no matter what you do, it is never displayed in the “Configure Event Plugins” dialog in the monitor. Doesn’t matter if you include a default matching setting/value in the myEvent.dlinit file either.
BUG?
Also, leaving out (forgetting to add it!) / not defining a “Default=” value in one of the myEvent.param settings, actually causes the Deadline monitor to crash big-time, when you click on the “Configure Event Plugins…” command in the monitor!
Thanks,
Mike

Hi Mike,

I took a look at the param file of the event plugin you emailed me. The reason the enums aren’t showing up is because you’re using “Default=” to set the items in the drop down instead of “Items=”. Because there are no items to select, the control isn’t being shown. Switching to “Items=” should fix this problem for you.

Also, I removed ALL the “Default=” entries from the param file, but I couldn’t reproduce the crash. Can you still reproduce the crash on your end? If so, can you send me a copy of your current plugin again? In addition, a Monitor log from the session where it crashes would be really helpful, as it should contain the error that caused the Monitor to crash.

Cheers,

  • Ryan

Hi Ryan,
D’Oh! Yep, it was as simple as you described. Just was using the wrong syntax…changed the various “enum” types to “Items=” and everything works fine.
No crashes either. Job done.
Thanks,
Mike

Privacy | Site terms | Cookie preferences