diff --git a/src/ansys/dpf/core/operators/result/result_provider.py b/src/ansys/dpf/core/operators/result/result_provider.py index 41432354386..42bfe431597 100644 --- a/src/ansys/dpf/core/operators/result/result_provider.py +++ b/src/ansys/dpf/core/operators/result/result_provider.py @@ -7,6 +7,7 @@ from __future__ import annotations from warnings import warn +from ansys.dpf.core.core import errors from ansys.dpf.core.dpf_operator import Operator from ansys.dpf.core.inputs import Input, _Inputs from ansys.dpf.core.outputs import Output, _Outputs @@ -103,7 +104,13 @@ def __init__( config=None, server=None, ): - super().__init__(name="result_provider", config=config, server=server) + try: + super().__init__(name="result_provider", config=config, server=server) + except (KeyError, errors.DPFServerException) as e: + if "doesn't exist in the registry" in str(e): + super().__init__(name="custom", config=config, server=server) + else: + raise e self._inputs = InputsResultProvider(self) self._outputs = OutputsResultProvider(self) if time_scoping is not None: diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll index 72b418d336d..f1f4c03a22e 100644 Binary files a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll and b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll differ diff --git a/src/ansys/dpf/gatebin/DPFClientAPI.dll b/src/ansys/dpf/gatebin/DPFClientAPI.dll index ccd42e14458..f3c608d85d0 100644 Binary files a/src/ansys/dpf/gatebin/DPFClientAPI.dll and b/src/ansys/dpf/gatebin/DPFClientAPI.dll differ diff --git a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so index 8040a4eb8f0..8455ab3bad2 100644 Binary files a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so and b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so differ diff --git a/src/ansys/dpf/gatebin/libDPFClientAPI.so b/src/ansys/dpf/gatebin/libDPFClientAPI.so index 289de4a5512..74942709b62 100644 Binary files a/src/ansys/dpf/gatebin/libDPFClientAPI.so and b/src/ansys/dpf/gatebin/libDPFClientAPI.so differ