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
The function io.read_vector_history_from_file crashes when used on Python and gives the following error:
TypeError: Unable to convert function return value to a Python type! The signature was
(vector_size: int, file_name: str) -> Dict[float, Eigen::Matrix<double,-1,1,0,-1,1>]
Something similar happens with the function numerical_simulation.propagation.get_zero_normal_mode_rotational_state, although the error reads somewhat different:
TypeError: Unable to convert function return value to a Python type! The signature was
(bodies: tudatpy.kernel.numerical_simulation.environment.SystemOfBodies, integrator_settings: tudat::numerical_integrators::IntegratorSettings, propagator_settings: tudat::propagators::SingleArcPropagatorSettings<double,double>, body_mean_rotational_rate: float, dissipation_times: List[float], propagate_undamped: bool = True) -> Tuple[numpy.ndarray[numpy.float64[m, 1]], List[Tuple[Dict[float, numpy.ndarray[numpy.float64[m, 1]]], Dict[float, numpy.ndarray[numpy.float64[m, 1]]]]], List[Tuple[Dict[float, numpy.ndarray[numpy.float64[m, 1]]], Dict[float, numpy.ndarray[numpy.float64[m, 1]]]]]]
I've been told you are aware of this and that for some people this doesn't happen. I attach the contents of my conda environment so that hopefully the problematic module(s) can be identified.
The text was updated successfully, but these errors were encountered:
The function
io.read_vector_history_from_file
crashes when used on Python and gives the following error:TypeError: Unable to convert function return value to a Python type! The signature was
(vector_size: int, file_name: str) -> Dict[float, Eigen::Matrix<double,-1,1,0,-1,1>]
Something similar happens with the function
numerical_simulation.propagation.get_zero_normal_mode_rotational_state
, although the error reads somewhat different:TypeError: Unable to convert function return value to a Python type! The signature was
(bodies: tudatpy.kernel.numerical_simulation.environment.SystemOfBodies, integrator_settings: tudat::numerical_integrators::IntegratorSettings, propagator_settings: tudat::propagators::SingleArcPropagatorSettings<double,double>, body_mean_rotational_rate: float, dissipation_times: List[float], propagate_undamped: bool = True) -> Tuple[numpy.ndarray[numpy.float64[m, 1]], List[Tuple[Dict[float, numpy.ndarray[numpy.float64[m, 1]]], Dict[float, numpy.ndarray[numpy.float64[m, 1]]]]], List[Tuple[Dict[float, numpy.ndarray[numpy.float64[m, 1]]], Dict[float, numpy.ndarray[numpy.float64[m, 1]]]]]]
I've been told you are aware of this and that for some people this doesn't happen. I attach the contents of my conda environment so that hopefully the problematic module(s) can be identified.
The text was updated successfully, but these errors were encountered: