Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LegacyID1991 opened this issue Jan 12, 2017 · 2 comments
Open

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

LegacyID1991 opened this issue Jan 12, 2017 · 2 comments

Comments

@LegacyID1991
Copy link

LegacyID1991 commented Jan 12, 2017

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

@mottosso mottosso added the bug label Jan 12, 2017
@mottosso
Copy link
Member

Thanks @LegacyID1991, having a look at this asap!

@mottosso mottosso changed the title Pyblish-nuke with Pyblish-lite and optional plugin pyblish-nuke with pyblish-lite and optional plugin Feb 13, 2017
@mottosso mottosso added the easy label Feb 13, 2017
@mottosso
Copy link
Member

Leaving this for beginners to solve, this is a good introduction to the code base.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants