openalea / lpy

An open source python version of the Lindenmayer Systems.
Other
62 stars 27 forks source link

Export to ply from python #25

Closed Nintorac closed 3 years ago

Nintorac commented 3 years ago

Hi,

I am looking for a way to export a scene to ply format from within python.

Is this possible?

Thanks!

fredboudon commented 3 years ago

You should use myscene.save('myfile.ply') Cheers,

Fred

Nintorac commented 3 years ago

Thanks!

This results in a seg fault. -not sure if this is related but I also noticed when trying to export ply with the editor it either a) does nothing if I pick ascii or b) hard crashes the editor if I select little or big endian.

A code snippet of how what I'm trying right now.

from openalea import lpy
l = lpy.Lsystem('lpy/models/ArchiModels/massart.lpy')
scene = l.sceneInterpretation(list(l)[-1])
scene.save("test.ply")

My environment is a fresh installation of Ubuntu 14.04 with lpy installed using conda instructions from here

fredboudon commented 3 years ago

Seems to work on ubuntu 18.04.05 with version following packages: openalea.lpy 3.5.0 py38h2bc3f7f_0 fredboudon openalea.plantgl 3.7.0 py38h2a577fa_1 fredboudon And on MacOsX with github version. Can you check your version of the modules with command 'conda list'

Nintorac commented 3 years ago

I will try with 18.04 Have tried and still the same issue.

My packages are different

openalea.lpy              3.6.0            py39h2bc3f7f_0    fredboudon
openalea.plantgl          3.8.0            py39h7703b5b_1    fredboudon

edit:

Have tried installing using the following command conda create -n lpy python=3.8 openalea.lpy=3.5.0 -c fredboudon -c conda-forge and I'm still getting the same error. Packages with this command match yours exactly.

openalea.lpy              3.5.0            py38h2bc3f7f_0    fredboudon
openalea.plantgl          3.7.0            py38h2a577fa_1    fredboudon
Nintorac commented 3 years ago

Not sure if this is helpful but here is a stacktrace from gdb when using the script I referenced earlier

#0  __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
#1  0x00007fc0df7c0e27 in PGL::PlyBinaryPrinter::header(char const*) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libpglalgo.so
#2  0x00007fc0df7bd770 in PGL::PlyBinaryPrinter::process(PGL::RefCountPtr<PGL::Scene>, char const*) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libpglalgo.so
#3  0x00007fc0df7c2f0b in PGL::PlyPrinter::print(PGL::RefCountPtr<PGL::Scene>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char const*, PGL::PlyPrinter::ply_format) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libpglalgo.so
#4  0x00007fc0df794096 in PGL::PlyCodec::write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, PGL::RefCountPtr<PGL::Scene> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libpglalgo.so
#5  0x00007fc0dea0d423 in PGL::SceneFactory::write(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, PGL::RefCountPtr<PGL::Scene> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../.././libpglsg.so
#6  0x00007fc0dea10ee3 in PGL::Scene::save(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../.././libpglsg.so
#7  0x00007fc0da97b4c6 in sc_save(PGL::Scene*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.PlantGL-3.7.0-py3.8.egg/openalea/plantgl/scenegraph/_pglsg.so
#8  0x00007fc0da977b85 in boost::python::objects::caller_py_function_impl<boost::python::detail::caller<void (*)(PGL::Scene*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&), boost::python::default_call_policies, boost::mpl::vector3<void, PGL::Scene*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&> > >::operator()(_object*, _object*) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.PlantGL-3.7.0-py3.8.egg/openalea/plantgl/scenegraph/_pglsg.so
#9  0x00007fc0df0bfeed in boost::python::objects::function::call(_object*, _object*) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#10 0x00007fc0df0c00f9 in boost::detail::function::void_function_ref_invoker0<boost::python::objects::(anonymous namespace)::bind_return, void>::invoke(boost::detail::function::function_buffer&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#11 0x00007fc0df0c4ef3 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#12 0x00007fc0dfafe544 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_StopIteration, void (*)(PythonExc_StopIteration const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_StopIteration const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#13 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#14 0x00007fc0dfafe4f4 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_KeyError, void (*)(PythonExc_KeyError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_KeyError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#15 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#16 0x00007fc0dfafe4a4 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_TypeError, void (*)(PythonExc_TypeError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_TypeError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#17 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#18 0x00007fc0dfafe454 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_ValueError, void (*)(PythonExc_ValueError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_ValueError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#19 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#20 0x00007fc0dfafe374 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_IndexError, void (*)(PythonExc_IndexError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_IndexError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#21 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#22 0x00007fc0dfafe544 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_StopIteration, void (*)(PythonExc_StopIteration const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_StopIteration const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#23 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#24 0x00007fc0dfafe4f4 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_KeyError, void (*)(PythonExc_KeyError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_KeyError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#25 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#26 0x00007fc0dfafe4a4 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_TypeError, void (*)(PythonExc_TypeError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_TypeError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#27 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#28 0x00007fc0dfafe454 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_ValueError, void (*)(PythonExc_ValueError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_ValueError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#29 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#30 0x00007fc0dfafe374 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_IndexError, void (*)(PythonExc_IndexError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_IndexError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#31 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#32 0x00007fc0dfafe544 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_StopIteration, void (*)(PythonExc_StopIteration const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_StopIteration const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#33 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#34 0x00007fc0dfafe4f4 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_KeyError, void (*)(PythonExc_KeyError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_KeyError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#35 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#36 0x00007fc0dfafe4a4 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_TypeError, void (*)(PythonExc_TypeError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_TypeError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#37 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#38 0x00007fc0dfafe454 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_ValueError, void (*)(PythonExc_ValueError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_ValueError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#39 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#40 0x00007fc0dfafe374 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_IndexError, void (*)(PythonExc_IndexError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_IndexError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#41 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#42 0x00007fc0dfafe544 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_StopIteration, void (*)(PythonExc_StopIteration const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_StopIteration const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#43 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#44 0x00007fc0dfafe4f4 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_KeyError, void (*)(PythonExc_KeyError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_KeyError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#45 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#46 0x00007fc0dfafe4a4 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_TypeError, void (*)(PythonExc_TypeError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_TypeError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#47 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#48 0x00007fc0dfafe454 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_ValueError, void (*)(PythonExc_ValueError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_ValueError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#49 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#50 0x00007fc0dfafe374 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_IndexError, void (*)(PythonExc_IndexError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_IndexError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#51 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#52 0x00007fc0dfafe544 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_StopIteration, void (*)(PythonExc_StopIteration const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_StopIteration const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#53 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#54 0x00007fc0dfafe4f4 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_KeyError, void (*)(PythonExc_KeyError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_KeyError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#55 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#56 0x00007fc0dfafe4a4 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_TypeError, void (*)(PythonExc_TypeError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_TypeError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#57 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#58 0x00007fc0dfafe454 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_ValueError, void (*)(PythonExc_ValueError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_ValueError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#59 0x00007fc0df0c4ec7 in boost::python::detail::exception_handler::operator()(boost::function0<void> const&) const () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#60 0x00007fc0dfafe374 in boost::detail::function::function_obj_invoker2<boost::_bi::bind_t<bool, boost::python::detail::translate_exception<PythonExc_IndexError, void (*)(PythonExc_IndexError const&)>, boost::_bi::list3<boost::arg<1>, boost::arg<2>, boost::_bi::value<void (*)(PythonExc_IndexError const&)> > >, bool, boost::python::detail::exception_handler const&, boost::function0<void> const&>::invoke(boost::detail::function::function_buffer&, boost::python::detail::exception_handler const&, boost::function0<void> const&) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../liblpy.so
#61 0x00007fc0df0c4e0f in boost::python::handle_exception_impl(boost::function0<void>) () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#62 0x00007fc0df0bd093 in function_call () from /root/miniconda2/envs/lpy/lib/python3.8/site-packages/OpenAlea.Lpy-3.5.0-py3.8.egg/openalea/lpy/../../../../../libboost_python38.so.1.74.0
#63 0x000055ad22e86b8e in _PyObject_MakeTpCall () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Include/object.h:478
#64 0x000055ad22f1328e in _PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fc0e18eb5b0, callable=0x55ad253c11c0) at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Include/cpython/abstract.h:125
#65 _PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fc0e18eb5b0, callable=0x55ad253c11c0) at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Include/cpython/abstract.h:115
#66 method_vectorcall () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Objects/classobject.c:60
#67 0x000055ad22f35053 in _PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fc0e18eb5b8, callable=0x7fc0e19872c0) at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Include/cpython/abstract.h:115
#68 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x55ad24d9e080) at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/ceval.c:4963
#69 _PyEval_EvalFrameDefault () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/ceval.c:3469
#70 0x000055ad22f110c3 in PyEval_EvalFrameEx (throwflag=0, f=0x7fc0e18eb440) at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/ceval.c:4298
#71 _PyEval_EvalCodeWithName () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/ceval.c:4298
#72 0x000055ad22f12149 in PyEval_EvalCodeEx () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/ceval.c:4327
#73 0x000055ad22fb8a3b in PyEval_EvalCode (co=<optimized out>, globals=<optimized out>, locals=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/ceval.c:718
#74 0x000055ad22fb8ad3 in run_eval_code_obj () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/pythonrun.c:1125
#75 0x000055ad22fd07a3 in run_mod () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/pythonrun.c:1147
#76 0x000055ad22fd56c7 in PyRun_FileExFlags () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/pythonrun.c:1063
#77 0x000055ad22fd589c in PyRun_SimpleFileExFlags () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/pythonrun.c:428
#78 0x000055ad22fd5e1d in pymain_run_file (cf=0x7ffdaaa27b38, config=0x55ad24d9d4a0) at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Modules/main.c:387
#79 pymain_run_python (exitcode=0x7ffdaaa27b30) at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Modules/main.c:612
#80 Py_RunMain () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Modules/main.c:691
#81 0x000055ad22fd5fd9 in Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Modules/main.c:1123
#82 0x00007fc0e0861bf7 in __libc_start_main (main=0x55ad22e58410 <main>, argc=2, argv=0x7ffdaaa27d28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdaaa27d18) at ../csu/libc-start.c:310
#83 0x000055ad22f49b69 in _start () at /home/conda/feedstock_root/build_artifacts/python-split_1611614749976/work/Python/ast.c:937