Closed AdamStelmaszczyk closed 6 years ago
It seems it's a fairly general error related to error handling in python3 (and an exception thrown in OpenSim integrator) https://github.com/zulip/zulip/issues/6153 It's beyond the scope of this repo but relevant, I'll try to see if there are some workarounds.
It seems it's a fairly general error related to error handling in python3
The issue is not about a general error returned a result with an error set
. It could be anything, let's say it's some RuntimeError
, doesn't matter.
The issue is about handling this exception inside osim.py
.
It's beyond the scope of this repo but relevant
It's within the scope of this repo. In this repo there is a Python code that calls C++. And this Python code is not handling exceptions coming from C++ well.
Good call, exceptions from the integrator were not passed.
Oh, nice, thank you Łukasz :)
Run the simplest:
and try to stop it with Ctrl+C. Instead of stopping it will only print:
^C<built-in function Manager_integrate> returned a result with an error set