Hi Ricardo – I tried this out and got some unexpected behavior.
In my test, I had the following line for the standalone Publisher:
Which gave me the following error:
2020-01-06 22:03:39,569 [67208 ERROR sgtk.env.project.tk-desktop] App
configuration Error for tk-multi-publish2 (configured in environment
'/sgtk/software/shotgun/goats/config/env/project.yml'). It will not be
loaded: Invalid configuration setting 'collector' for tk-multi-publish2: The
specified hook file '/Users/sassoot/temp/collector.py.py' does not exist.
It’s trying to add
.py to the end of whatever’s specified. So, I tried
and that worked.
So, that’s a semi-decent workaround, but:
- Does that actually work for you?
- While we have a bunch of different formats for specifying hooks, using an absolute path is not a documented one. If we do support it, we should document it. And I don’t see why we wouldn’t support it, though I’d have to go back to the team to learn more about the why – there may be some history there.
- All the other formats allow a full file path. To me it feels like a bug that this balks in this way – it’s rather unintuitive that you can’t just paste in the full path and expect it to work.
So… let me know if that works for you (and if not, let me know if you’re getting some other error in
tk-<ENGINE>.log from the appropriate directory for your operating system, and we’ll go from there.