Error with scheme eval #1573
Closed
francisco-jimmy
started this conversation in
General
Replies: 1 comment
-
Why are you trying to use a hidden and undocumented rpvar call for that? The tui supports it with I don't see this in the settings API yet, I'll check on that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have randomly encoutered the following error when using scheme_eval. I cannot reproduce it consistently. Launching the same pyfluent script sometimes gives the error, sometimes doesn't (in the same system, with the same files).
Pseudocode that leads to the error:
solver = pyfluent.launch_fluent(
precision="double",
processor_count=processor_count,
mode="solver",
show_gui=show_gui,
)
solver.scheme_eval.scheme_eval(
f"(rpsetvar 'operating-pressure {operating_pressure})"
Error message:
File ".../lib/python3.10/site-packages/ansys/fluent/core/services/scheme_eval.py", line 326, in scheme_eval
return self.eval(val)
File ".../lib/python3.10/site-packages/ansys/fluent/core/services/scheme_eval.py", line 254, in eval
response = self.service.eval(request)
File ".../lib/python3.10/site-packages/ansys/fluent/core/services/scheme_eval.py", line 48, in eval
return self.__stub.Eval(request, metadata=self.__metadata)
File ".../lib/python3.10/site-packages/grpc/_interceptor.py", line 247, in call
response, ignored_call = self._with_call(request,
File ".../lib/python3.10/site-packages/grpc/_interceptor.py", line 290, in _with_call
return call.result(), call
File ".../lib/python3.10/site-packages/grpc/_channel.py", line 379, in result
raise self
File ".../lib/python3.10/site-packages/grpc/_interceptor.py", line 274, in continuation
response, call = self._thunk(new_method).with_call(
File ".../lib/python3.10/site-packages/grpc/_interceptor.py", line 301, in with_call
return self._with_call(request,
File ".../lib/python3.10/site-packages/grpc/_interceptor.py", line 290, in _with_call
return call.result(), call
File ".../lib/python3.10/site-packages/grpc/_channel.py", line 379, in result
raise self
File ".../lib/python3.10/site-packages/grpc/_interceptor.py", line 274, in continuation
response, call = self._thunk(new_method).with_call(
File ".../lib/python3.10/site-packages/grpc/_channel.py", line 1043, in with_call
return _end_unary_response_blocking(state, call, True, None)
File ".../lib/python3.10/site-packages/grpc/_channel.py", line 910, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "Error Occurred!"
debug_error_string = "UNKNOWN:Error received from peer {grpc_message:"Error Occurred!", grpc_status:2, created_time:"2023-05-02T14:49:49.709984655+00:00"}"
Does someone know where this error comes from and how can I fix it?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions