Skip to content

test_accessor_methods_on_settings_objects is failing with the latest 26.1 image #4645

@mkundu1

Description

@mkundu1
2025-11-25T15:41:33.9648411Z     @pytest.mark.fluent_version(">=24.2")
2025-11-25T15:41:33.9648749Z     def test_accessor_methods_on_settings_objects(new_solver_session):
2025-11-25T15:41:33.9649085Z         solver = new_solver_session
2025-11-25T15:41:33.9649318Z         root = solver.settings
2025-11-25T15:41:33.9649530Z     
2025-11-25T15:41:33.9649692Z         nodes = {}
2025-11-25T15:41:33.9649890Z         expected_type_list = [
2025-11-25T15:41:33.9650101Z             "Boolean",
2025-11-25T15:41:33.9650289Z             "String",
2025-11-25T15:41:33.9650469Z             "Real",
2025-11-25T15:41:33.9650646Z             "Integer",
2025-11-25T15:41:33.9650839Z             "RealList",
2025-11-25T15:41:33.9651032Z             "ListObject",
2025-11-25T15:41:33.9651223Z         ]
2025-11-25T15:41:33.9651411Z         type_list = expected_type_list.copy()
2025-11-25T15:41:33.9651652Z     
2025-11-25T15:41:33.9651842Z >       get_child_nodes(root, nodes, type_list)
2025-11-25T15:41:33.9652025Z 
2025-11-25T15:41:33.9652208Z /home/runner/work/pyfluent/pyfluent/tests/test_flobject.py:939: 
2025-11-25T15:41:33.9652585Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2025-11-25T15:41:33.9653017Z /home/runner/work/pyfluent/pyfluent/tests/test_flobject.py:992: in get_child_nodes
2025-11-25T15:41:33.9653467Z     get_child_nodes(getattr(node, item), nodes, type_list)
2025-11-25T15:41:33.9653902Z /home/runner/work/pyfluent/pyfluent/tests/test_flobject.py:992: in get_child_nodes
2025-11-25T15:41:33.9654335Z     get_child_nodes(getattr(node, item), nodes, type_list)
2025-11-25T15:41:33.9654770Z /home/runner/work/pyfluent/pyfluent/tests/test_flobject.py:992: in get_child_nodes
2025-11-25T15:41:33.9655193Z     get_child_nodes(getattr(node, item), nodes, type_list)
2025-11-25T15:41:33.9655617Z /home/runner/work/pyfluent/pyfluent/tests/test_flobject.py:992: in get_child_nodes
2025-11-25T15:41:33.9656043Z     get_child_nodes(getattr(node, item), nodes, type_list)
2025-11-25T15:41:33.9656828Z /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/ansys/fluent/core/solver/flobject.py:1188: in __getattribute__
2025-11-25T15:41:33.9657402Z     and self.is_active() is False
2025-11-25T15:41:33.9657921Z /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/ansys/fluent/core/solver/flobject.py:458: in is_active
2025-11-25T15:41:33.9658654Z     attr = self.get_attr(_InlineConstants.is_active)
2025-11-25T15:41:33.9659211Z /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/ansys/fluent/core/solver/flobject.py:435: in get_attr
2025-11-25T15:41:33.9659741Z     attrs = self.get_attrs([attr])
2025-11-25T15:41:33.9660348Z /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/ansys/fluent/core/solver/flobject.py:409: in get_attrs
2025-11-25T15:41:33.9660967Z     return self.flproxy.get_attrs(self.path, attrs, recursive)
2025-11-25T15:41:33.9661546Z /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/ansys/fluent/core/services/settings.py:146: in _fn
2025-11-25T15:41:33.9662061Z     return fn(self, *args, **kwds)
2025-11-25T15:41:33.9662580Z /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/ansys/fluent/core/services/settings.py:394: in get_attrs
2025-11-25T15:41:33.9663146Z     response = self._service_impl.get_attrs(request)
2025-11-25T15:41:33.9663717Z /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/ansys/fluent/core/services/settings.py:125: in get_attrs
2025-11-25T15:41:33.9664321Z     return self.__stub.GetAttrs(request, metadata=self.__metadata)
2025-11-25T15:41:33.9664860Z /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/grpc/_interceptor.py:276: in __call__
2025-11-25T15:41:33.9665348Z     response, ignored_call = self._with_call(
2025-11-25T15:41:33.9665824Z /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/grpc/_interceptor.py:328: in _with_call
2025-11-25T15:41:33.9666562Z     call = self._interceptor.intercept_unary_unary(
2025-11-25T15:41:33.9667213Z /opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/site-packages/ansys/fluent/core/services/interceptors.py:174: in intercept_unary_unary
2025-11-25T15:41:33.9667919Z     return self._intercept_call(continuation, client_call_details, request)
2025-11-25T15:41:33.9668292Z _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
2025-11-25T15:41:33.9668502Z 
2025-11-25T15:41:33.9668777Z self = <ansys.fluent.core.services.interceptors.GrpcErrorInterceptor object at 0x7f961cd64850>
2025-11-25T15:41:33.9669425Z continuation = <function _UnaryUnaryMultiCallable._with_call.<locals>.continuation at 0x7f96305c1900>
2025-11-25T15:41:33.9670394Z client_call_details = _ClientCallDetails(method='/ansys.api.fluent.v0.settings.Settings/GetAttrs', timeout=None, metadata=[('password', 'dr44p28e')], credentials=None, wait_for_ready=None, compression=None)
2025-11-25T15:41:33.9671148Z request = path_info {
2025-11-25T15:41:33.9671342Z   root: "fluent"
2025-11-25T15:41:33.9671539Z   path: "results/plot/solution-plot"
2025-11-25T15:41:33.9671771Z }
2025-11-25T15:41:33.9671944Z attrs: "active?"
2025-11-25T15:41:33.9672054Z 
2025-11-25T15:41:33.9672059Z 
2025-11-25T15:41:33.9672144Z     def _intercept_call(
2025-11-25T15:41:33.9672337Z         self,
2025-11-25T15:41:33.9672516Z         continuation: Any,
2025-11-25T15:41:33.9672769Z         client_call_details: grpc.ClientCallDetails,
2025-11-25T15:41:33.9673039Z         request: Any,
2025-11-25T15:41:33.9673318Z     ) -> Any:
2025-11-25T15:41:33.9673564Z         response = continuation(client_call_details, request)
2025-11-25T15:41:33.9674327Z         if response.exception() is not None and response.code() != grpc.StatusCode.OK:
2025-11-25T15:41:33.9674867Z             new_ex_cls = RuntimeError
2025-11-25T15:41:33.9685659Z             try:
2025-11-25T15:41:33.9685966Z                 from google.rpc import error_details_pb2
2025-11-25T15:41:33.9686497Z                 from grpc_status import rpc_status
2025-11-25T15:41:33.9686751Z     
2025-11-25T15:41:33.9686972Z                 status = rpc_status.from_call(response)
2025-11-25T15:41:33.9687236Z                 if status:
2025-11-25T15:41:33.9687463Z                     for detail in status.details:
2025-11-25T15:41:33.9687774Z                         if detail.Is(error_details_pb2.ErrorInfo.DESCRIPTOR):
2025-11-25T15:41:33.9688302Z                             info = error_details_pb2.ErrorInfo()
2025-11-25T15:41:33.9688588Z                             detail.Unpack(info)
2025-11-25T15:41:33.9688866Z                             if info.domain == "Python":
2025-11-25T15:41:33.9689144Z                                 reason = info.reason
2025-11-25T15:41:33.9689613Z                                 ex_cls_name = _upper_snake_case_to_camel_case(reason)
2025-11-25T15:41:33.9689948Z                                 if hasattr(builtins, ex_cls_name):
2025-11-25T15:41:33.9690244Z                                     cls = getattr(builtins, ex_cls_name)
2025-11-25T15:41:33.9690536Z                                     if issubclass(cls, Exception):
2025-11-25T15:41:33.9690814Z                                         new_ex_cls = cls
2025-11-25T15:41:33.9691068Z                                         break
2025-11-25T15:41:33.9691320Z             except DecodeError:
2025-11-25T15:41:33.9691545Z                 pass
2025-11-25T15:41:33.9691761Z             ex = response.exception()
2025-11-25T15:41:33.9692000Z             new_ex = new_ex_cls(
2025-11-25T15:41:33.9692288Z                 ex.details() if isinstance(ex, grpc.RpcError) else str(ex)
2025-11-25T15:41:33.9692588Z             )
2025-11-25T15:41:33.9692778Z             new_ex.__context__ = ex
2025-11-25T15:41:33.9693019Z >           raise new_ex from None
2025-11-25T15:41:33.9693269Z E           RuntimeError: wta(1st) to string->symbol
2025-11-25T15:41:33.9693552Z E           Error Object: #[free (3 cells)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions