AWS Thinkbox Discussion Forums

Leap year bug in the Spot Event Plugin Configuration Utility

Hello!

There’s a bug in the Spot Event Plugin Configuration Utility for today where it tries to make the expiry date of the created JSON Feb 29, 2025, but just for today.

Attached a fixed and quickly tested SpotEventConfigurationUtil.py. I was able to make a new config, which correctly has an expiry date of Feb 28 2025.

But to be safe put it into “DeadlineRepository10\custom\scripts\General\SpotEventConfigurationUtil.py” so if there’s issues you can easily remove it to roll back.

SpotEventConfigurationUtil.py (130.8 KB)

Let us know if there’s any issues, I only did a quick ‘can I make a config?’ test.

2 Likes
Privacy | Site terms | Cookie preferences