Skip to content

pyblish-nuke with pyblish-lite and optional plugin #86

@LegacyID1991

Description

@LegacyID1991

First ever Issue Ticket, YAY or Noo depending on who you are.

I have run into this Bug:
Running Nuke with pyblish lite gui registed and developing my own plugin this is the setup I used:

Nuke installed in non-default folder on my local C:
Pyblish Base undefined with Pyblish Lite version 0.7.1
Pyblish running on start up of Nuke and registering both QML and LITE as GUIs

Created Demo_HelloWorld.py saved into PyblishPluginPath location
code:

    # This is a Demo from https://learn.pyblish.com/chapters/01-hello-world.html
    import pyblish.api

    class MyDemoPlugin(pyblish.api.ContextPlugin):
        """This was just a connection test"""
        order = pyblish.api.ValidatorOrder
        optional = True

        def process(self, context):
            self.log.debug("Hello Python!")

Setup done.

How I ran into the bug:

Start Nuke
Show pyblish lite gui
_pyblish lite resets and finishes successfully! _
Goto Overview tab
Find MyDemoPlugin among the plugin and toggle to not run on publish
Notice that Validate button and Publish button are grayed out
Find MyDemoPlugin among the plugin and toggle to run on publish
Notice that Validate button and Publish button stay grayed out

From here you can hit reset button and nothing will change.
Once you toggle a plugin to not run then you cant publish.
Reset the Show pyblish lite gui and it everything is reset and works okey again til you toggle any plugin to not run on publish.

toerror01toerror02

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions