From 63a911d60d14611571246959444256351e69267d Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Tue, 30 Nov 2021 20:47:25 +0100 Subject: [PATCH 1/2] Fix - remove setting of stdout and stderr Was causing issues in starting in openpype_console or openpype_gui --- openpype/hooks/pre_non_python_host_launch.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/openpype/hooks/pre_non_python_host_launch.py b/openpype/hooks/pre_non_python_host_launch.py index 0447f4a06f..848ed675a8 100644 --- a/openpype/hooks/pre_non_python_host_launch.py +++ b/openpype/hooks/pre_non_python_host_launch.py @@ -49,7 +49,3 @@ class NonPythonHostHook(PreLaunchHook): if remainders: self.launch_context.launch_args.extend(remainders) - # This must be set otherwise it wouldn't be possible to catch output - # when build OpenPype is used. - self.launch_context.kwargs["stdout"] = subprocess.DEVNULL - self.launch_context.kwargs["stderr"] = subprocess.DEVNULL From 4f112d6e015f399e8f8209928bf2a6cc2ca2dc3f Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Thu, 2 Dec 2021 12:28:21 +0100 Subject: [PATCH 2/2] Fix - added missing targets Was broking regular webpublishes (no via host apps) --- .../plugins/publish/validate_tvpaint_workfile_data.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openpype/hosts/webpublisher/plugins/publish/validate_tvpaint_workfile_data.py b/openpype/hosts/webpublisher/plugins/publish/validate_tvpaint_workfile_data.py index eec6ef1004..a5e4868411 100644 --- a/openpype/hosts/webpublisher/plugins/publish/validate_tvpaint_workfile_data.py +++ b/openpype/hosts/webpublisher/plugins/publish/validate_tvpaint_workfile_data.py @@ -10,6 +10,7 @@ class ValidateWorkfileData(pyblish.api.ContextPlugin): label = "Validate Workfile Data" order = pyblish.api.ValidatorOrder + targets = ["tvpaint_worker"] def process(self, context): # Data collected in `CollectAvalonEntities`