Deadline custom event plugin caching

I’m trying to edit the ShotgunUtils.py event plugin library, and no matter what I do, I can’t get the nodes to pick up any changes.
I’ve restarted the worker, synchronized, resubmitted jobs, edited the event config via the ui to trigger a reload… nothing has worked. I’m at a loss!
I can get the Shotgun.py to update, but not the ShotgunUtils.py file.

Any idea what I need to do? What’s the secret?!

Hello!

I believe the events cache is not updating and the ShotgunUtils.py is not getting updated in the cache. You would need to delete the cache folder depending on the operating system:

Windows: C:\Users[username the application is running on]\AppData\Local\Thinkbox\Deadline10\cache
Linux: ~/Thinkbox/Deadline[VERSION]/cache
OS X: ~/Library/Application Support/Thinkbox/Deadline[VERSION]/cache

Can you try deleting it and check if the updated ShotgunUtils.py gets in effect.

2 Likes

I had the same issue on Linux. Can’t remember if I ever solved it.
By the way event plugins run in their own “Event sandbox” process, and I’m not sure how it is controlled by the launcher service.

It turns out the syncing was working, I just didn’t notice the error message had changed!
Thanks for your help :slight_smile: