diff --git a/openpype/hosts/testhost/plugins/publish/validate_with_error.py b/openpype/hosts/testhost/plugins/publish/validate_with_error.py index 48519cd996..a830629cd8 100644 --- a/openpype/hosts/testhost/plugins/publish/validate_with_error.py +++ b/openpype/hosts/testhost/plugins/publish/validate_with_error.py @@ -13,7 +13,31 @@ class ValidateInstanceAssetRepair(pyblish.api.Action): pass -class ValidateInstanceAsset(pyblish.api.InstancePlugin): +description = """ +## Publish plugins + +### Validate Scene Settings + +#### Skip Resolution Check for Tasks + +Set regex pattern(s) to look for in a Task name to skip resolution check against values from DB. + +#### Skip Timeline Check for Tasks + +Set regex pattern(s) to look for in a Task name to skip `frameStart`, `frameEnd` check against values from DB. + +### AfterEffects Submit to Deadline + +* `Use Published scene` - Set to True (green) when Deadline should take published scene as a source instead of uploaded local one. +* `Priority` - priority of job on farm +* `Primary Pool` - here is list of pool fetched from server you can select from. +* `Secondary Pool` +* `Frames Per Task` - number of sequence division between individual tasks (chunks) +making one job on farm. +""" + + +class ValidateWithError(pyblish.api.InstancePlugin): """Validate the instance asset is the current selected context asset. As it might happen that multiple worfiles are opened, switching @@ -30,4 +54,4 @@ class ValidateInstanceAsset(pyblish.api.InstancePlugin): order = pyblish.api.ValidatorOrder def process(self, instance): - raise PublishValidationError("Crashing") + raise PublishValidationError("Crashing", "Errored out", description) diff --git a/openpype/tools/new_publisher/widgets/validations_widget.py b/openpype/tools/new_publisher/widgets/validations_widget.py index 55d4160842..8cd9f3ddc0 100644 --- a/openpype/tools/new_publisher/widgets/validations_widget.py +++ b/openpype/tools/new_publisher/widgets/validations_widget.py @@ -1,30 +1,6 @@ from Qt import QtWidgets, QtCore -global_msg = """ -## Publish plugins - -### Validate Scene Settings - -#### Skip Resolution Check for Tasks - -Set regex pattern(s) to look for in a Task name to skip resolution check against values from DB. - -#### Skip Timeline Check for Tasks - -Set regex pattern(s) to look for in a Task name to skip `frameStart`, `frameEnd` check against values from DB. - -### AfterEffects Submit to Deadline - -* `Use Published scene` - Set to True (green) when Deadline should take published scene as a source instead of uploaded local one. -* `Priority` - priority of job on farm -* `Primary Pool` - here is list of pool fetched from server you can select from. -* `Secondary Pool` -* `Frames Per Task` - number of sequence division between individual tasks (chunks) -making one job on farm. -""" - - class ValidationErrorTitleWidget(QtWidgets.QFrame): checked = QtCore.Signal(int)