Skip to content

feat: field property entity data offsets#3173

Open
PProfizi wants to merge 11 commits into
mainfrom
feat/field_property_entity_data_offsets
Open

feat: field property entity data offsets#3173
PProfizi wants to merge 11 commits into
mainfrom
feat/field_property_entity_data_offsets

Conversation

@PProfizi
Copy link
Copy Markdown
Contributor

@PProfizi PProfizi commented May 6, 2026

This pull request refactors the handling and naming of entity data offsets in DPF fields to use the new, clearer entity_data_offsets property instead of the previous _data_pointer terminology. This improves code clarity, consistency, and documentation, and updates all relevant code, tests, and documentation accordingly. The changes also add better documentation and examples for working with variable-size entity data, especially for elemental_nodal fields.

API and Naming Refactor:

  • Introduced the entity_data_offsets property (with getter and setter) as the public interface for accessing the start indices of each entity's data in the flat data array, replacing the previous _data_pointer attribute. The private alias is kept for backward compatibility. [1] [2]
  • Updated all internal usages, tests, and documentation to use entity_data_offsets instead of _data_pointer, improving naming consistency and making the API clearer for users. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

Documentation and Tutorials:

  • Enhanced the tutorial for elemental_nodal fields with detailed examples and explanations of how to use entity_data_offsets for both incremental and bulk data assignment. [1] [2]
  • Improved docstrings for entity_data_offsets, clarifying its purpose and usage for fields with variable-size entity data. [1] [2]

Codebase and API Consistency:

  • Updated all internal code and plotting/visualization utilities to use entity_data_offsets instead of _data_pointer, ensuring consistent access throughout the codebase. [1] [2]
  • Added support for entity_data_offsets to StringField, aligning its API with other field types. [1] [2] [3]

Deep Copy and Field Operations:

  • Updated field deep copy logic to use entity_data_offsets instead of copying the private pointer, ensuring correct behavior for fields with variable-size entity data.

These changes make the handling of variable-size entity data more transparent and user-friendly, while maintaining backward compatibility for existing code.

PProfizi and others added 5 commits May 5, 2026 18:29
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
@PProfizi PProfizi self-assigned this May 6, 2026
@PProfizi PProfizi requested a review from a team as a code owner May 6, 2026 09:32
@PProfizi PProfizi added the enhancement New feature or request label May 6, 2026
@PProfizi PProfizi requested review from MichaelNale and rafacanton May 6, 2026 09:35
@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

❌ 32 Tests Failed:

Tests completed Failed Passed Skipped
2285 32 2253 241
View the top 3 failed test(s) by shortest run time
tests\test_factories.py::test_factories::test_over_time_freq_fields_container_2[ansys-grpc-dpf]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_over_time_freq_fields_container_2(server_type):
>       f1 = fields_factory.create_vector_field(24, 4, server=server_type)

tests\test_factories.py:104: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:295: in create_vector_field
    return _create_field(server, natures.vector, num_entities, location, ncomp_n=num_comp)
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:394: in _create_field
    internal_obj = Field._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 4, 24, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_create_and_set_get_name_field_definition[ansys-grpc-dpf]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_create_and_set_get_name_field_definition(server_type):
>       fieldDef = FieldDefinition(server=server_type)

tests\test_field.py:567: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field_definition.py:78: in __init__
    self._internal_obj = self._api.field_definition_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_create_and_update_field_definition[ansys-grpc-dpf]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_create_and_update_field_definition(server_type):
>       fieldDef = FieldDefinition(server=server_type)

tests\test_field.py:530: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field_definition.py:78: in __init__
    self._internal_obj = self._api.field_definition_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_create_field[ansys-grpc-dpf]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_create_field(server_type):
>       field = dpf.core.Field(server=server_type)

tests\test_field.py:51: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 0, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_create_field_from_helper_vector[ansys-grpc-dpf]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_create_field_from_helper_vector(server_type):
        data = np.random.random((10, 3))
>       field_a = dpf.core.field_from_array(data, server=server_type)

tests\test_field.py:70: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:89: in field_from_array
    field = Field(nentities=n_entities, nature=nature, server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 10, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_createbycopy_field[ansys-grpc-dpf]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_createbycopy_field(server_type):
>       field = dpf.core.Field(server=server_type)

tests\test_field.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 0, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_delete_auto_field[ansys-grpc-dpf]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_delete_auto_field(server_type):
>       field = dpf.core.Field(server=server_type)

tests\test_field.py:521: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 0, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_set_get_data_from_list_of_list[ansys-grpc-dpf]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_set_get_data_from_list_of_list(server_type):
        data = [[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]
>       field = dpf.core.Field(server=server_type)

tests\test_field.py:76: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 0, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_set_get_scoping[ansys-grpc-dpf]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_set_get_scoping(server_type):
>       field = dpf.core.Field(server=server_type)

tests\test_field.py:95: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 0, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_workflow_topology.py::test_workflow_topology::test_instantiate_workflow_to_workflow_topology_op[ansys-grpc-dpf]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x00000268233A3E80>

    @pytest.mark.skipif(
        not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0,
        reason="Operator `workflow_to_workflow_topology` does not exist below 10.0",
    )
    def test_instantiate_workflow_to_workflow_topology_op(server_type):
>       workflow_to_workflow_topology_op = dpf.core.Operator(
            "workflow_to_workflow_topology", server=server_type
        )

tests\test_workflow_topology.py:165: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:180: in __init__
    self._internal_obj = self._api.operator_new_on_client(self.name, self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = ('workflow_to_workflow_topology', <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x00000268233A3E80>)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50058: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50058: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_workflow_topology.py::test_workflow_topology::test_workflow_get_topology[ansys-grpc-dpf-workflow_disp_min_max]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>
request = <SubRequest 'workflow' for <Function test_workflow_get_topology[ansys-grpc-dpf-workflow_disp_min_max]>>

    @pytest.fixture(
        params=list(workflows.values()),
        ids=list(workflows.keys()),
    )
    def workflow(server_type, request) -> dpf.core.Workflow:
>       wf = request.param(server_type)

tests\test_workflow_topology.py:150: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\test_workflow_topology.py:101: in workflow_disp_min_max
    disp_op = op.result.displacement(server=server_type)
.tox\test-api\lib\site-packages\ansys\dpf\core\operators\result\displacement.py:129: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:180: in __init__
    self._internal_obj = self._api.operator_new_on_client(self.name, self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = ('U', <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_workflow_topology.py::test_workflow_topology::test_workflow_get_topology[ansys-grpc-dpf-workflow_forward]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>
request = <SubRequest 'workflow' for <Function test_workflow_get_topology[ansys-grpc-dpf-workflow_forward]>>

    @pytest.fixture(
        params=list(workflows.values()),
        ids=list(workflows.keys()),
    )
    def workflow(server_type, request) -> dpf.core.Workflow:
>       wf = request.param(server_type)

tests\test_workflow_topology.py:150: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\test_workflow_topology.py:41: in workflow_forward
    forward_op_1 = op.utility.forward(server=server_type)
.tox\test-api\lib\site-packages\ansys\dpf\core\operators\utility\forward.py:72: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:180: in __init__
    self._internal_obj = self._api.operator_new_on_client(self.name, self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = ('forward', <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_workflow_topology.py::test_workflow_topology::test_workflow_get_topology[ansys-grpc-dpf-workflow_forward_5]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>
request = <SubRequest 'workflow' for <Function test_workflow_get_topology[ansys-grpc-dpf-workflow_forward_5]>>

    @pytest.fixture(
        params=list(workflows.values()),
        ids=list(workflows.keys()),
    )
    def workflow(server_type, request) -> dpf.core.Workflow:
>       wf = request.param(server_type)

tests\test_workflow_topology.py:150: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\test_workflow_topology.py:78: in workflow_forward_5
    forward_op = op.utility.forward(server=server_type)
.tox\test-api\lib\site-packages\ansys\dpf\core\operators\utility\forward.py:72: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:180: in __init__
    self._internal_obj = self._api.operator_new_on_client(self.name, self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = ('forward', <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_workflow_topology.py::test_workflow_topology::test_workflow_topology_sizes[ansys-grpc-dpf-workflow_disp_min_max]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>
request = <SubRequest 'workflow' for <Function test_workflow_topology_sizes[ansys-grpc-dpf-workflow_disp_min_max]>>

    @pytest.fixture(
        params=list(workflows.values()),
        ids=list(workflows.keys()),
    )
    def workflow(server_type, request) -> dpf.core.Workflow:
>       wf = request.param(server_type)

tests\test_workflow_topology.py:150: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\test_workflow_topology.py:101: in workflow_disp_min_max
    disp_op = op.result.displacement(server=server_type)
.tox\test-api\lib\site-packages\ansys\dpf\core\operators\result\displacement.py:129: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:180: in __init__
    self._internal_obj = self._api.operator_new_on_client(self.name, self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = ('U', <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_workflow_topology.py::test_workflow_topology::test_workflow_topology_sizes[ansys-grpc-dpf-workflow_forward]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>
request = <SubRequest 'workflow' for <Function test_workflow_topology_sizes[ansys-grpc-dpf-workflow_forward]>>

    @pytest.fixture(
        params=list(workflows.values()),
        ids=list(workflows.keys()),
    )
    def workflow(server_type, request) -> dpf.core.Workflow:
>       wf = request.param(server_type)

tests\test_workflow_topology.py:150: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\test_workflow_topology.py:41: in workflow_forward
    forward_op_1 = op.utility.forward(server=server_type)
.tox\test-api\lib\site-packages\ansys\dpf\core\operators\utility\forward.py:72: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:180: in __init__
    self._internal_obj = self._api.operator_new_on_client(self.name, self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = ('forward', <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_workflow_topology.py::test_workflow_topology::test_workflow_topology_sizes[ansys-grpc-dpf-workflow_forward_5]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>
request = <SubRequest 'workflow' for <Function test_workflow_topology_sizes[ansys-grpc-dpf-workflow_forward_5]>>

    @pytest.fixture(
        params=list(workflows.values()),
        ids=list(workflows.keys()),
    )
    def workflow(server_type, request) -> dpf.core.Workflow:
>       wf = request.param(server_type)

tests\test_workflow_topology.py:150: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\test_workflow_topology.py:78: in workflow_forward_5
    forward_op = op.utility.forward(server=server_type)
.tox\test-api\lib\site-packages\ansys\dpf\core\operators\utility\forward.py:72: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:180: in __init__
    self._internal_obj = self._api.operator_new_on_client(self.name, self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = ('forward', <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_workflow_topology.py::test_workflow_topology::test_workflow_topology_str[ansys-grpc-dpf-workflow_disp_min_max]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>
request = <SubRequest 'workflow' for <Function test_workflow_topology_str[ansys-grpc-dpf-workflow_disp_min_max]>>

    @pytest.fixture(
        params=list(workflows.values()),
        ids=list(workflows.keys()),
    )
    def workflow(server_type, request) -> dpf.core.Workflow:
>       wf = request.param(server_type)

tests\test_workflow_topology.py:150: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\test_workflow_topology.py:101: in workflow_disp_min_max
    disp_op = op.result.displacement(server=server_type)
.tox\test-api\lib\site-packages\ansys\dpf\core\operators\result\displacement.py:129: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:180: in __init__
    self._internal_obj = self._api.operator_new_on_client(self.name, self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = ('U', <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_workflow_topology.py::test_workflow_topology::test_workflow_topology_str[ansys-grpc-dpf-workflow_forward]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>
request = <SubRequest 'workflow' for <Function test_workflow_topology_str[ansys-grpc-dpf-workflow_forward]>>

    @pytest.fixture(
        params=list(workflows.values()),
        ids=list(workflows.keys()),
    )
    def workflow(server_type, request) -> dpf.core.Workflow:
>       wf = request.param(server_type)

tests\test_workflow_topology.py:150: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\test_workflow_topology.py:41: in workflow_forward
    forward_op_1 = op.utility.forward(server=server_type)
.tox\test-api\lib\site-packages\ansys\dpf\core\operators\utility\forward.py:72: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:180: in __init__
    self._internal_obj = self._api.operator_new_on_client(self.name, self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = ('forward', <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_workflow_topology.py::test_workflow_topology::test_workflow_topology_str[ansys-grpc-dpf-workflow_forward_5]
Stack Traces | 0.004s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>
request = <SubRequest 'workflow' for <Function test_workflow_topology_str[ansys-grpc-dpf-workflow_forward_5]>>

    @pytest.fixture(
        params=list(workflows.values()),
        ids=list(workflows.keys()),
    )
    def workflow(server_type, request) -> dpf.core.Workflow:
>       wf = request.param(server_type)

tests\test_workflow_topology.py:150: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\test_workflow_topology.py:78: in workflow_forward_5
    forward_op = op.utility.forward(server=server_type)
.tox\test-api\lib\site-packages\ansys\dpf\core\operators\utility\forward.py:72: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\dpf_operator.py:180: in __init__
    self._internal_obj = self._api.operator_new_on_client(self.name, self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = ('forward', <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_dpf_vector.py::test_dpf_vector::test_update_empty_dpf_vector_custom_type_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_update_empty_dpf_vector_custom_type_field(server_type):
>       field = dpf.CustomTypeField(unitary_type=np.double, server=server_type)

tests\test_dpf_vector.py:95: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\custom_type_field.py:133: in __init__
    super().__init__(nentities=nentities, field=field, server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\custom_type_field.py:183: in _field_create_internal_obj
    return api.cscustom_type_field_new_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 'float64', 8, 0, 0)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_dpf_vector.py::test_dpf_vector::test_update_empty_dpf_vector_string_field[in Process CLayer]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.InProcessServer object at 0x000001338D6177F0>

    def test_update_empty_dpf_vector_string_field(server_type):
        string_field = dpf.StringField(server=server_type)
        string_field.data = ["high", "goodbye", "hello"]
        string_field.scoping.ids = list(range(1, 3))
        assert string_field.get_entity_data(1) == ["goodbye"]
>       dp = string_field.entity_data_offsets

tests\test_dpf_vector.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:507: in entity_data_offsets
    return self.data_pointer
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:498: in data_pointer
    return self._get_data_pointer()
.tox\test-api\lib\site-packages\ansys\dpf\core\string_field.py:232: in _get_data_pointer
    return self._api.csstring_field_get_data_pointer(self, True)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

field = <ansys.dpf.core.string_field.StringField object at 0x00000133966A0040>
size = True

    @staticmethod
    def csstring_field_get_data_pointer(field, size):
    	errorSize = ctypes.c_int(0)
    	sError = ctypes.c_wchar_p()
    	res = capi.dll.CSStringField_GetDataPointer(field._internal_obj if field is not None else None, ctypes.byref(utils.to_int32(size)), ctypes.byref(utils.to_int32(errorSize)), ctypes.byref(sError))
    	if errorSize.value != 0:
>   		raise errors.DPFServerException(sError.value)
E     ansys.dpf.gate.errors.DPFServerException: Invalid API pointer when calling function CSStringField_GetDataPointer

.tox\test-api\lib\site-packages\ansys\dpf\gate\generated\string_field_capi.py:199: DPFServerException
tests\test_field.py::test_field::test_append_data_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_append_data_field(server_type):
>       field = dpf.core.Field(nentities=20, nature=dpf.core.natures.vector, server=server_type)

tests\test_field.py:136: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 20, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_append_scalar_data[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_append_scalar_data(server_type):
>       field = dpf.core.Field(nature=dpf.core.natures.scalar, server=server_type)

tests\test_field.py:82: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 1, 0, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_count_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_count_field(server_type):
>       field = dpf.core.Field(nentities=20, nature=dpf.core.natures.scalar, server=server_type)

tests\test_field.py:203: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 1, 20, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_documentation_string_on_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_documentation_string_on_field(server_type):
>       field = core.Field(
            location=locations.elemental_nodal,
            nature=core.natures.symmatrix,
            server=server_type,
        )

tests\test_field.py:455: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:260: in _field_create_internal_obj
    return api.field_new_with2_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 5, 3, 3, 0, 'ElementalNodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_empty_data_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_empty_data_field(server_type):
>       field_to_local = dpf.core.fields_factory.create_3d_vector_field(100, server=server_type)

tests\test_field.py:904: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:180: in create_3d_vector_field
    return _create_field(server, natures.vector, num_entities, location)
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:394: in _create_field
    internal_obj = Field._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 100, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_empty_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_empty_field(server_type):
>       field = dpf.core.Field(server=server_type)

tests\test_field.py:56: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 0, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_entity_data_offsets_prop_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_entity_data_offsets_prop_field(server_type):
>       pfield = dpf.core.PropertyField(server=server_type)

tests\test_field.py:392: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\property_field.py:87: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\property_field.py:129: in _field_create_internal_obj
    return api.csproperty_field_new_location_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 0, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_field_definition_quantity_type[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_field_definition_quantity_type(server_type):
>       fieldDef = FieldDefinition(server=server_type)

tests\test_field.py:539: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field_definition.py:78: in __init__
    self._internal_obj = self._api.field_definition_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_fromarray_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_fromarray_field(server_type):
        data = np.empty((100, 6))
>       f = dpf.core.field_from_array(data, server=server_type)

tests\test_field.py:237: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:89: in field_from_array
    field = Field(nentities=n_entities, nature=nature, server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:260: in _field_create_internal_obj
    return api.field_new_with2_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 5, 3, 3, 100, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_resize_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_resize_field(server_type):
>       field = dpf.core.Field(nentities=1, nature=dpf.core.natures.scalar, server=server_type)

tests\test_field.py:219: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 1, 1, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_set_data_numpy_array_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_set_data_numpy_array_field(server_type):
>       field_to_local = dpf.core.fields_factory.create_3d_vector_field(100, server=server_type)

tests\test_field.py:913: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:180: in create_3d_vector_field
    return _create_field(server, natures.vector, num_entities, location)
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:394: in _create_field
    internal_obj = Field._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 100, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_set_data_numpy_array_property_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_set_data_numpy_array_property_field(server_type):
>       field_to_local = dpf.core.PropertyField(server=server_type)

tests\test_field.py:923: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\property_field.py:87: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\property_field.py:129: in _field_create_internal_obj
    return api.csproperty_field_new_location_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 0, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_set_get_data_array_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_set_get_data_array_field(server_type):
>       field = dpf.core.Field(nentities=20, nature=dpf.core.natures.vector, server=server_type)

tests\test_field.py:118: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 20, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_set_get_data_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_set_get_data_field(server_type):
>       field = dpf.core.Field(nentities=20, nature=dpf.core.natures.scalar, server=server_type)

tests\test_field.py:104: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 1, 20, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_set_get_data_property_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_set_get_data_property_field(server_type):
>       field = core.Field(nentities=20, nature=dpf.core.natures.scalar, server=server_type)

tests\test_field.py:189: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 1, 20, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_set_get_entity_data_array_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_set_get_entity_data_array_field(server_type):
>       field = dpf.core.Field(nentities=20, nature=dpf.core.natures.vector, server=server_type)

tests\test_field.py:153: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 1, 3, 20, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_set_support_timefreq[ansys-grpc-dpf]
Stack Traces | 0.005s run time
simple_bar = 'D:\\a\\pydpf-core\\pydpf-core\\.tox\\test-api\\lib\\site-packages\\ansys\\dpf\\core\\examples\\result_files\\ASimpleBar.rst'
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_set_support_timefreq(simple_bar, server_type):
>       tfq = dpf.core.TimeFreqSupport(server=server_type)

tests\test_field.py:575: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_str_field[ansys-grpc-dpf]
Stack Traces | 0.005s run time
allkindofcomplexity = 'D:\\a\\pydpf-core\\pydpf-core\\.tox\\test-api\\lib\\site-packages\\ansys\\dpf\\core\\examples\\result_files\\testing\\allKindOfComplexity.rst'
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    @pytest.fixture()
    def stress_field(allkindofcomplexity, server_type):
        model = dpf.core.Model(allkindofcomplexity, server=server_type)
>       stress = model.results.stress()

tests\test_field.py:46: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:181: in results
    self.metadata._build_connector(),
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:131: in metadata
    self._metadata = Metadata(self._data_sources, self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:294: in __init__
    self._set_data_sources(data_sources)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:443: in _set_data_sources
    self._data_sources = DataSources(var_inp, server=self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_to_nodal[ansys-grpc-dpf]
Stack Traces | 0.005s run time
allkindofcomplexity = 'D:\\a\\pydpf-core\\pydpf-core\\.tox\\test-api\\lib\\site-packages\\ansys\\dpf\\core\\examples\\result_files\\testing\\allKindOfComplexity.rst'
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    @pytest.fixture()
    def stress_field(allkindofcomplexity, server_type):
        model = dpf.core.Model(allkindofcomplexity, server=server_type)
>       stress = model.results.stress()

tests\test_field.py:46: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:181: in results
    self.metadata._build_connector(),
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:131: in metadata
    self._metadata = Metadata(self._data_sources, self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:294: in __init__
    self._set_data_sources(data_sources)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:443: in _set_data_sources
    self._data_sources = DataSources(var_inp, server=self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_append_step_1[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_append_step_1(server_type):
>       tfq = TimeFreqSupport(server=server_type)

tests\test_timefreqsupport.py:196: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_append_step_2[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_append_step_2(server_type):
>       tfq = TimeFreqSupport(server=server_type)

tests\test_timefreqsupport.py:220: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_append_step_3[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_append_step_3(server_type):
>       tfq = TimeFreqSupport(server=server_type)

tests\test_timefreqsupport.py:236: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_create_time_freq_support[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_create_time_freq_support(server_type):
>       tfq = TimeFreqSupport(server=server_type)

tests\test_timefreqsupport.py:112: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_getters_support_base[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_getters_support_base(server_type):
>       tfq = TimeFreqSupport(server=server_type)

tests\test_timefreqsupport.py:343: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_update_time_freq_support_harmonic_indeces[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_update_time_freq_support_harmonic_indeces(server_type):
>       tfq = TimeFreqSupport(server=server_type)

tests\test_timefreqsupport.py:154: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_update_time_freq_support_harmonic_indices_with_num_stage[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_update_time_freq_support_harmonic_indices_with_num_stage(server_type):
>       tfq = TimeFreqSupport(server=server_type)

tests\test_timefreqsupport.py:166: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_update_time_freq_support_im_freq[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_update_time_freq_support_im_freq(server_type):
>       tfq = TimeFreqSupport(server=server_type)

tests\test_timefreqsupport.py:130: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_update_time_freq_support_real_freq[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_update_time_freq_support_real_freq(server_type):
>       tfq = TimeFreqSupport(server=server_type)

tests\test_timefreqsupport.py:117: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_update_time_freq_support_rpms[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_update_time_freq_support_rpms(server_type):
>       tfq = TimeFreqSupport(server=server_type)

tests\test_timefreqsupport.py:143: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\time_freq_support.py:80: in __init__
    self._internal_obj = self._api.time_freq_support_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_vtk_translate.py::test_vtk_translate::test_dpf_field_to_vtk_errors[ansys-grpc-dpf]
Stack Traces | 0.005s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    @pytest.mark.skipif(not HAS_PYVISTA, reason="Please install pyvista")
    def test_dpf_field_to_vtk_errors(server_type):
        # Elemental Field to VTK
>       field = dpf.fields_factory.create_scalar_field(
            num_entities=3, location=dpf.locations.elemental, server=server_type
        )

tests\test_vtk_translate.py:98: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:254: in create_scalar_field
    return _create_field(server, natures.scalar, num_entities, location)
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:394: in _create_field
    internal_obj = Field._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>, 0, 1, 3, 'Elemental')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_vtk_translate.py::test_vtk_translate::test_dpf_fieldscontainer_to_vtk[ansys-grpc-dpf]
Stack Traces | 0.005s run time
fluent_axial_comp = <function fluent_axial_comp.<locals>.return_ds at 0x00000133AE537A30>
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    @pytest.mark.skipif(not HAS_PYVISTA, reason="Please install pyvista")
    def test_dpf_fieldscontainer_to_vtk(fluent_axial_comp, server_type):
>       model = dpf.Model(fluent_axial_comp(server=server_type), server=server_type)

tests\test_vtk_translate.py:123: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\conftest.py:277: in return_ds
    ds = core.DataSources(server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_vtk_translate.py::test_vtk_translate::test_dpf_meshes_to_vtk[ansys-grpc-dpf]
Stack Traces | 0.005s run time
fluent_axial_comp = <function fluent_axial_comp.<locals>.return_ds at 0x00000133AE5363B0>
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    @pytest.mark.skipif(not HAS_PYVISTA, reason="Please install pyvista")
    def test_dpf_meshes_to_vtk(fluent_axial_comp, server_type):
>       model = dpf.Model(fluent_axial_comp(server=server_type), server=server_type)

tests\test_vtk_translate.py:109: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests\conftest.py:277: in return_ds
    ds = core.DataSources(server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_mesh_support_field[ansys-grpc-dpf]
Stack Traces | 0.006s run time
allkindofcomplexity = 'D:\\a\\pydpf-core\\pydpf-core\\.tox\\test-api\\lib\\site-packages\\ansys\\dpf\\core\\examples\\result_files\\testing\\allKindOfComplexity.rst'
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    @pytest.fixture()
    def stress_field(allkindofcomplexity, server_type):
        model = dpf.core.Model(allkindofcomplexity, server=server_type)
>       stress = model.results.stress()

tests\test_field.py:46: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:181: in results
    self.metadata._build_connector(),
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:131: in metadata
    self._metadata = Metadata(self._data_sources, self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:294: in __init__
    self._set_data_sources(data_sources)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:443: in _set_data_sources
    self._data_sources = DataSources(var_inp, server=self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_vtk_translate.py::test_vtk_translate::test_append_field_to_grid[ansys-grpc-dpf]
Stack Traces | 0.006s run time
simple_rst = 'D:\\a\\pydpf-core\\pydpf-core\\tests\\testfiles\\rst_operators\\simpleModel.rst'
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    @pytest.mark.xfail(raises=errors.DpfVersionNotSupported)
    @pytest.mark.skipif(not HAS_PYVISTA, reason="Please install pyvista")
    def test_append_field_to_grid(simple_rst, server_type):
        model = dpf.Model(simple_rst, server=server_type)
>       mesh = model.metadata.meshed_region

tests\test_vtk_translate.py:188: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:131: in metadata
    self._metadata = Metadata(self._data_sources, self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:294: in __init__
    self._set_data_sources(data_sources)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:443: in _set_data_sources
    self._data_sources = DataSources(var_inp, server=self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_vtk_translate.py::test_vtk_translate::test_append_fields_container_to_grid[ansys-grpc-dpf]
Stack Traces | 0.006s run time
simple_rst = 'D:\\a\\pydpf-core\\pydpf-core\\tests\\testfiles\\rst_operators\\simpleModel.rst'
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    @pytest.mark.xfail(raises=errors.DpfVersionNotSupported)
    @pytest.mark.skipif(not HAS_PYVISTA, reason="Please install pyvista")
    def test_append_fields_container_to_grid(simple_rst, server_type):
        model = dpf.Model(simple_rst, server=server_type)
>       mesh = model.metadata.meshed_region

tests\test_vtk_translate.py:206: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:131: in metadata
    self._metadata = Metadata(self._data_sources, self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:294: in __init__
    self._set_data_sources(data_sources)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:443: in _set_data_sources
    self._data_sources = DataSources(var_inp, server=self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_vtk_translate.py::test_vtk_translate::test_dpf_field_to_vtk[ansys-grpc-dpf]
Stack Traces | 0.006s run time
simple_rst = 'D:\\a\\pydpf-core\\pydpf-core\\tests\\testfiles\\rst_operators\\simpleModel.rst'
fluent_mixing_elbow_steady_state = <function fluent_mixing_elbow_steady_state.<locals>.return_ds at 0x00000133A827DE10>
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    @pytest.mark.skipif(not HAS_PYVISTA, reason="Please install pyvista")
    def test_dpf_field_to_vtk(simple_rst, fluent_mixing_elbow_steady_state, server_type):
        model = dpf.Model(simple_rst, server=server_type)
>       mesh = model.metadata.meshed_region

tests\test_vtk_translate.py:69: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:131: in metadata
    self._metadata = Metadata(self._data_sources, self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:294: in __init__
    self._set_data_sources(data_sources)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:443: in _set_data_sources
    self._data_sources = DataSources(var_inp, server=self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_vtk_translate.py::test_vtk_translate::test_dpf_mesh_to_vtk[ansys-grpc-dpf]
Stack Traces | 0.006s run time
simple_rst = 'D:\\a\\pydpf-core\\pydpf-core\\tests\\testfiles\\rst_operators\\simpleModel.rst'
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    @pytest.mark.skipif(not HAS_PYVISTA, reason="Please install pyvista")
    def test_dpf_mesh_to_vtk(simple_rst, server_type):
        model = dpf.Model(simple_rst, server=server_type)
>       mesh = model.metadata.meshed_region

tests\test_vtk_translate.py:48: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:131: in metadata
    self._metadata = Metadata(self._data_sources, self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:294: in __init__
    self._set_data_sources(data_sources)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:443: in _set_data_sources
    self._data_sources = DataSources(var_inp, server=self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_vtk_translate.py::test_vtk_translate::test_dpf_property_field_to_vtk[ansys-grpc-dpf]
Stack Traces | 0.006s run time
simple_rst = 'D:\\a\\pydpf-core\\pydpf-core\\tests\\testfiles\\rst_operators\\simpleModel.rst'
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    @pytest.mark.xfail(raises=errors.DpfVersionNotSupported)
    @pytest.mark.skipif(not HAS_PYVISTA, reason="Please install pyvista")
    def test_dpf_property_field_to_vtk(simple_rst, server_type):
        model = dpf.Model(simple_rst, server=server_type)
>       mesh = model.metadata.meshed_region

tests\test_vtk_translate.py:173: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:131: in metadata
    self._metadata = Metadata(self._data_sources, self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:294: in __init__
    self._set_data_sources(data_sources)
.tox\test-api\lib\site-packages\ansys\dpf\core\model.py:443: in _set_data_sources
    self._data_sources = DataSources(var_inp, server=self._server)
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_deep_copy_big_field_remote[ansys-grpc-dpf-ansys-grpc-dpf]
Stack Traces | 0.007s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>
server_type_remote_process = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B820>

    @pytest.mark.skipif(
        not SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_8_0, reason="Available for servers >=8.0"
    )
    def test_deep_copy_big_field_remote(server_type, server_type_remote_process):
        data = np.random.random(100000)
>       field_a = dpf.core.field_from_array(data, server=server_type)

tests\test_field.py:1386: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:89: in field_from_array
    field = Field(nentities=n_entities, nature=nature, server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 1, 100000, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_dpf_vector.py::test_dpf_vector::test_update_empty_dpf_vector_string_field[gRPC CLayer]
Stack Traces | 0.01s run time
server_type = <ansys.dpf.core.server_types.GrpcServer object at 0x000001338F9B9EA0>

    def test_update_empty_dpf_vector_string_field(server_type):
        string_field = dpf.StringField(server=server_type)
        string_field.data = ["high", "goodbye", "hello"]
        string_field.scoping.ids = list(range(1, 3))
        assert string_field.get_entity_data(1) == ["goodbye"]
>       dp = string_field.entity_data_offsets

tests\test_dpf_vector.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:507: in entity_data_offsets
    return self.data_pointer
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:498: in data_pointer
    return self._get_data_pointer()
.tox\test-api\lib\site-packages\ansys\dpf\core\string_field.py:232: in _get_data_pointer
    return self._api.csstring_field_get_data_pointer(self, True)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

field = <ansys.dpf.core.string_field.StringField object at 0x0000013396887F70>
size = True

    @staticmethod
    def csstring_field_get_data_pointer(field, size):
    	errorSize = ctypes.c_int(0)
    	sError = ctypes.c_wchar_p()
    	res = capi.dll.CSStringField_GetDataPointer(field._internal_obj if field is not None else None, ctypes.byref(utils.to_int32(size)), ctypes.byref(utils.to_int32(errorSize)), ctypes.byref(sError))
    	if errorSize.value != 0:
>   		raise errors.DPFServerException(sError.value)
E     ansys.dpf.gate.errors.DPFServerException: Invalid API pointer when calling function CSStringField_GetDataPointer

.tox\test-api\lib\site-packages\ansys\dpf\gate\generated\string_field_capi.py:199: DPFServerException
tests\test_field.py::test_field::test_create_field_from_helper_scalar[ansys-grpc-dpf]
Stack Traces | 0.019s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_create_field_from_helper_scalar(server_type):
        data = np.random.random(10)
>       field_a = dpf.core.field_from_array(data, server=server_type)

tests\test_field.py:64: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:89: in field_from_array
    field = Field(nentities=n_entities, nature=nature, server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 1, 10, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_deep_copy_2_field_remote[ansys-grpc-dpf-ansys-grpc-dpf]
Stack Traces | 0.549s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>
server_type_remote_process = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B820>

    def test_deep_copy_2_field_remote(server_type, server_type_remote_process):
        data = np.random.random(10)
>       field_a = dpf.core.field_from_array(data, server=server_type)

tests\test_field.py:1342: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:89: in field_from_array
    field = Field(nentities=n_entities, nature=nature, server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 1, 10, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_field.py::test_field::test_deep_copy_2_field[ansys-grpc-dpf]
Stack Traces | 0.998s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>
server_in_process = <ansys.dpf.core.server_types.InProcessServer object at 0x000002682576F3A0>

    def test_deep_copy_2_field(server_type, server_in_process):
        data = np.random.random(10)
>       field_a = dpf.core.field_from_array(data, server=server_type)

tests\test_field.py:1334: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\fields_factory.py:89: in field_from_array
    field = Field(nentities=n_entities, nature=nature, server=server)
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:215: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\field.py:251: in _field_create_internal_obj
    return api.field_new_with1_ddimensionnality_on_client(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 1, 10, 'Nodal')
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_timefreqsupport.py::test_timefreqsupport::test_get_timefreqsupport[ansys-grpc-dpf]
Stack Traces | 2.02s run time
velocity_acceleration = 'D:\\a\\pydpf-core\\pydpf-core\\tests\\testfiles\\rst_operators\\velocity_acceleration.rst'
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>

    def test_get_timefreqsupport(velocity_acceleration, server_type):
>       dataSource = dpf.core.DataSources(server=server_type)

tests\test_timefreqsupport.py:39: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\data_sources.py:127: in __init__
    self._internal_obj = self._api.data_sources_new_on_client(self._server.client)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x000001338FC42590>,)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50060: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException
tests\test_dpf_vector.py::test_dpf_vector::test_update_empty_dpf_vector_string_field[ansys-grpc-dpf]
Stack Traces | 2.03s run time
server_type = <ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>

    def test_update_empty_dpf_vector_string_field(server_type):
>       string_field = dpf.StringField(server=server_type)

tests\test_dpf_vector.py:85: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox\test-api\lib\site-packages\ansys\dpf\core\string_field.py:84: in __init__
    super().__init__(
.tox\test-api\lib\site-packages\ansys\dpf\core\field_base.py:78: in __init__
    self._internal_obj = self.__class__._field_create_internal_obj(
.tox\test-api\lib\site-packages\ansys\dpf\core\string_field.py:116: in _field_create_internal_obj
    return api.csstring_field_new_on_client(client, nentities, nentities)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (<ansys.dpf.core.server_types.LegacyGrpcServer object at 0x0000026822F7B670>, 0, 0)
kwargs = {}, _InactiveRpcError = <class 'grpc._channel._InactiveRpcError'>
_MultiThreadedRendezvous = <class 'grpc._channel._MultiThreadedRendezvous'>
details = 'failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.\r\n -- 10061)'

    @wraps(func)
    def wrapper(*args, **kwargs):
        """Capture gRPC exceptions."""
        from grpc._channel import _InactiveRpcError, _MultiThreadedRendezvous
        try:
            out = func(*args, **kwargs)
        except (_InactiveRpcError, _MultiThreadedRendezvous) as error:
            details = error.details()
            if "object is null in the dataBase" in details:
                raise DPFServerNullObject(details) from None
            elif "Unable to open the following file" in details:
                raise DPFServerException(
                    "The result file could not be found or could not be opened, the server raised an error message: \n" + details) from None
>           raise DPFServerException(details) from None
E           ansys.dpf.gate.errors.DPFServerException: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:127.0.0.1:50057: WSAGetOverlappedResult: Connection refused (No connection could be made because the target machine actively refused it.
E            -- 10061)

.tox\test-api\lib\site-packages\ansys\dpf\gate\errors.py:60: DPFServerException

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@rafacanton
Copy link
Copy Markdown
Collaborator

@PProfizi I honestly see value in the denomination data_pointer. I have never seen it as a proper pointer (because it is not!), but found the name very natural when you think about it as: "the object that points where the data for each entity starts -> data_pointer".

Having said that, Everything in DPF Kernel and public APIs refers to this concept as data_pointer/dataPointer, so any user familiar with the concept already understands it. I'd advocate for documenting it extensively so any user can understand it, but not so much for changing its name.

@PProfizi
Copy link
Copy Markdown
Contributor Author

I think you are a little biased @rafacanton ;)
When I read data_pointer, I understand pointer to the data. The fact it is for every entity in a data array is completely implicit, so personally I really do not like exposing that name.
But as you mentioned, it is called that way everywhere else already, and we may get away with proper documentation...
I'll rename it to data_pointer for now, but if we ever see that people do not understand it or find it too cryptic, I may add an alias.

@rafacanton
Copy link
Copy Markdown
Collaborator

@PProfizi It is implicit indeed, until you see that it is a vector that has the size of the scoping. As for the alias, I see value on it, specially because offsets seems a much more common way to call this in other tools, like vtk (https://docs.vtk.org/en/v9.4.0/design_documents/VTKFileFormats.html). We could have both, with the alias calling data_pointer(), so it works. Thanks!

@github-actions github-actions Bot added the tutorials Related to PyDPF-Core tutorials label Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request tutorials Related to PyDPF-Core tutorials

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants