cvg / pyceres

Factor graphs with Ceres in Python
Apache License 2.0
240 stars 33 forks source link

pyceres/examples/test_python_cost.py aborted #58

Closed tflueckiger closed 2 hours ago

tflueckiger commented 2 hours ago

When running test_python_cost.py on my machine, I get the following error:

Aborted at 1727193513 (unix time) try "date -d @1727193513" if you are using GNU date @ 0x7ffd68474172 log2f @ 0x7ff742e31f58 OPENSSL_Applink @ 0x7ffd3bc1ecc0 C_specific_handler @ 0x7ffd6a9551df chkstk @ 0x7ffd6a8ce866 RtlFindCharInUnicodeString @ 0x7ffd6a9541ce KiUserExceptionDispatcher @ 0x7ffcc92f92a0 _Cnd_wait @ 0x7ffcb9df4284 public: class ceres::TrivialLoss & ptr64 cdecl ceres::TrivialLoss::operator=(class ceres::TrivialLoss const & ptr64) ptr64 @ 0x7ffcb9ec864b public: virtual void cdecl ceres::Solver::Solve(struct ceres::Solver::Options const & ptr64,class ceres::Problem __ptr64,struct ceres::Solver::Summary ptr64) ptr64 @ 0x7ffcb9ec8b73 void cdecl ceres::Solve(struct ceres::Solver::Options const & ptr64,class ceres::Problem __ptr64,struct ceres::Solver::Summary __ptr64) @ 0x7ffcba06c3c7 PyInit_pyceres @ 0x7ffcba06c464 PyInit_pyceres @ 0x7ffcba00ce23 (unknown) @ 0x7ffcb66ac02c PyCFunction_GetFlags @ 0x7ffcb666173f _PyObject_MakeTpCall @ 0x7ffcb6661935 PyObject_Vectorcall @ 0x7ffcb677799d _PyEval_EvalFrameDefault @ 0x7ffcb67713e6 PyEval_EvalCode @ 0x7ffcb676cd66 _PyWarnings_Init @ 0x7ffcb676a3be _PyWarnings_Init @ 0x7ffcb66abcf1 PyCFunction_GetFlags @ 0x7ffcb66611e9 _PyBytes_Repeat @ 0x7ffcb6661935 PyObject_Vectorcall @ 0x7ffcb677799d _PyEval_EvalFrameDefault @ 0x7ffcb67713e6 PyEval_EvalCode @ 0x7ffcb676cd66 _PyWarnings_Init @ 0x7ffcb676a3be _PyWarnings_Init @ 0x7ffcb66abcf1 PyCFunction_GetFlags @ 0x7ffcb66611e9 _PyBytes_Repeat @ 0x7ffcb6661935 PyObject_Vectorcall @ 0x7ffcb677799d _PyEval_EvalFrameDefault @ 0x7ffcb6661b94 _PyFunction_Vectorcall


Thanks for your help.

tflueckiger commented 2 hours ago

Solved by installing pyceres in a conda env with Python 3.11.