From 2c9ef474b10d8f4a823da5562fc208eba210c762 Mon Sep 17 00:00:00 2001 From: PProfizi Date: Fri, 10 Oct 2025 10:54:22 +0200 Subject: [PATCH] fix: fix Field.get_data for LegacyGrpcServer --- src/ansys/dpf/gate/dpf_vector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/gate/dpf_vector.py b/src/ansys/dpf/gate/dpf_vector.py index dca2e4cf1b..f0a8fdd3b7 100644 --- a/src/ansys/dpf/gate/dpf_vector.py +++ b/src/ansys/dpf/gate/dpf_vector.py @@ -45,7 +45,7 @@ def __init__(self, owner, api): if not server_meet_version("4.1", owner._server) and owner._server.client is None: # BUG in 22.2: DpfVector is not holding the data owner and not call to data owner should be done at delete self._modified = False - except ctypes.ArgumentError: + except (ctypes.ArgumentError, AttributeError): raise NotImplementedError @property