You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
calling check_health on a session which has been exited causes the following error;
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File ".build/lib/python3.10/site-packages/ansys/fluent/core/services/health_check.py", line 62, in check_health
response = self._stub.Check(request, metadata=self._metadata)
File ".build/lib/python3.10/site-packages/grpc/_interceptor.py", line 277, in __call__
response, ignored_call = self._with_call(
File ".build/lib/python3.10/site-packages/grpc/_interceptor.py", line 329, in _with_call
call = self._interceptor.intercept_unary_unary(
File ".build/lib/python3.10/site-packages/ansys/fluent/core/services/interceptors.py", line 122, in intercept_unary_unary
return self._intercept_call(continuation, client_call_details, request)
File "/.build/lib/python3.10/site-packages/ansys/fluent/core/services/interceptors.py", line 110, in _intercept_call
ex = RuntimeError(grpc_ex.details())
AttributeError: 'ValueError' object has no attribute 'details'
calling check_health() on a pyfluent session that never existed gives;
>>> no_session._fluent_connection.health_check.check_health()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'no_session' is not defined
📝 Steps to reproduce
run following commands;
import ansys.fluent.core as pyfluent
solver = pyfluent.launch_fluent()
solver._fluent_connection.health_check.check_health()
solver.exit()
solver._fluent_connection.health_check.check_health()
🔍 Before submitting the issue
🐞 Description of the bug
calling check_health on a session which has been exited causes the following error;
calling
check_health()
on a pyfluent session that never existed gives;📝 Steps to reproduce
run following commands;
💻 Which operating system are you using?
Linux
📀 Which ANSYS version are you using?
251
🐍 Which Python version are you using?
3.10
📦 Installed packages
The text was updated successfully, but these errors were encountered: