NukeStudio getting registered twice
2 2

6 posts in this topic

Hi Toke,

The hook for the Nuke Studio action includes a check to verify that it is only registered for the new API (see source here).

Have you set any of the following environment variables on the machine when launching connect?

  • FTRACK_EVENT_PLUGIN_PATH
  • FTRACK_CONNECT_PLUGIN_PATH

 

Regards,
Lucas

Share this post


Link to post
Share on other sites

Hey Lucas,

 

Yes, both FTRACK_EVENT_PLUGIN_PATH and FTRACK_CONNECT_PLUGIN_PATH are set. I'm running from source.

10 minutes ago, Lucas Correia said:

The hook for the Nuke Studio action includes a check to verify that it is only registered for the new API (see source here).

I thought this was only to check whether its registered for the new api rather than the old, and not whether the action itself has already been registered.
I have only noticed it on one machine though.

Share this post


Link to post
Share on other sites

Yes, you are correct in that that is the reason. Since we discover plugins for both the new and the old API in connect that check is necessary.

Looking at the code it looks like the plugin might be registered twice if the FTRACK_EVENT_PLUGIN_PATH is pointing to a path that is already included in either FTRACK_CONNECT_PLUGIN_PATH  or the default ftrack-connect-plugins directory. Is this the case for you?

Share this post


Link to post
Share on other sites

Turns out the machine had multiple versions of ftrack-connect installed along with running the ftrack-connect from source.

Uninstalling all the ftrack-connect versions solved the problem.

Thanks for Lucas for the guidance :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
2 2