0

tk-multi-shotgunpanel in Nuke

I attempted to install the tk-multi-shotgunpanel app in Nuke but I got an error that the actions_hook is not supported for tk-nuke. I proceeded anyway and it won't launch, I'm guessing for that very reason. It's confusing as the documentation for tk-multi-shotgunpanel states Maya and Nuke specifically as examples of apps for Shotgun Panel. It works fine with 3dsmax out of the box but not nuke. Is there something I am missing? Is this in the pipeline? What do I need to do to get shotgun panel working in Nuke?

 

Thanks,

Anthony

5 comments

  • 0
    Avatar
    Anthony Scudese

    Ok, I eventually found tk-nuke_actions.py and put that in the as the hook. When launching Nuke via tank, if I go and click Shotgun Panel from the UI menu, I get this error:

    Traceback (most recent call last):
      File "x:\ShotgunRepository\sandboxes\15016_GIRL_ON_THE_TRAIN_clone\install\eng
    ines\app_store\tk-nuke\v0.6.0\python\tk_nuke\menu_generation.py", line 900, in <
    lambda>
        cb = lambda: self._non_pane_menu_callback_wrapper(self.callback)
      File "x:\ShotgunRepository\sandboxes\15016_GIRL_ON_THE_TRAIN_clone\install\eng
    ines\app_store\tk-nuke\v0.6.0\python\tk_nuke\menu_generation.py", line 869, in _
    non_pane_menu_callback_wrapper
        callback()
      File "X:\ShotgunRepository\sandboxes\15016_GIRL_ON_THE_TRAIN_clone\install\cor
    e\python\tank\platform\engine.py", line 698, in callback_wrapper
        return callback(*args, **kwargs)
      File "x:\ShotgunRepository\sandboxes\15016_GIRL_ON_THE_TRAIN_clone\install\app
    s\app_store\tk-multi-shotgunpanel\v1.2.5\app.py", line 111, in create_panel
        widget = self.engine.show_panel(self._unique_panel_id, "Shotgun", self, app_
    payload.AppDialog)
      File "x:\ShotgunRepository\sandboxes\15016_GIRL_ON_THE_TRAIN_clone\install\eng
    ines\app_store\tk-nuke\v0.6.0\engine.py", line 457, in show_panel
        import tk_nuke_qt
    ImportError: No module named tk_nuke_qt

     

    Seems I'm missing tk_nuke_qt.

  • 0
    Avatar
    Anthony Scudese

    Here is my project.yml for ref: 

    tk-nuke:
        apps:
          tk-multi-about: '@about'
          tk-multi-screeningroom: '@launch_screeningroom'
          tk-multi-shotgunpanel:
            action_mappings:
              PublishedFile:
              - actions: [publish_clipboard]
                filters: {}
              - actions: [read_node]
                filters: {published_file_type: Rendered Image}
              - actions: [script_import]
                filters: {published_file_type: Nuke Script}
              Task:
              - actions: [assign_task, task_to_ip]
                filters: {}
              Version:
              - actions: [quicktime_clipboard, sequence_clipboard]
                filters: {}
            actions_hook: '{self}/tk-nuke_actions.py'
            location: {name: tk-multi-shotgunpanel, type: app_store, version: v1.2.5}
            shotgun_fields_hook: '{self}/shotgun_fields.py'
          tk-multi-workfiles: '@workfiles'
        bin_context_menu: []
        compatibility_dialog_min_version: 10
        debug_logging: false
        favourite_directories: []
        location: {name: tk-nuke, type: app_store, version: v0.6.0}
        menu_favourites:
        - {app_instance: tk-multi-workfiles, name: Shotgun File Manager...}
        project_favourite_name: Shotgun Current Project
        spreadsheet_context_menu: []
        timeline_context_menu: []
        use_sgtk_as_menu_name: false
  • 0
    Avatar
    Donat Van Bellinghen

    Hi,

     

    I've just tried to install the tk-multi-shotgunpanel app in Nuke and got the same problem as stated by Anthony in his first post. I was also surprised because the instructions page led me to believe that this should work in Nuke out of the box.

    I'm using tk-core v0.17.24 and tk-nuke engine v0.2.24

    Could someone from support help us please ?

     

    Regards

    Donat

  • 0
    Avatar
    Benoit Leveau

    Hi,

    I think you're running a too old version of tk-nuke.

    From the tk-nuke page (https://support.shotgunsoftware.com/hc/en-us/articles/219032858-Shotgun-Engine-for-Nuke)

    v0.3.1

    Adds panel support and new icons.

     

    Benoit

  • 0
    Avatar
    Anthony Scudese

    I am running v.0.6.6 of tk-nuke and still get an import error on tk_nuke_qt.

Please sign in to leave a comment.