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

odd behaviour when registered plugins dont have a label and order #390

Open
hannesdelbeke opened this issue Jul 25, 2022 · 0 comments
Open

Comments

@hannesdelbeke
Copy link
Contributor

a strange bug I ran in when creating a new setup a little to quickly.

when none of the registered plugins have a label and order , pyblish behaves unpredictably, without throwing any errors.

pyblish base returns an empty context on collection/validation.
pyblish lite runs the collector and validator, but then resets instantly after running. So failed nodes then go from red back to green.

after adding label, order, and optional to both the collect and validate plugin, everything started working again as expected.

since no errors were raised it took a while to figure out what was wrong.
ideally the user would always set these ofcourse, and pyblish warns the user when they are not set.

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

No branches or pull requests

1 participant