yade-users team mailing list archive
Mailing list archive
Re: [Question #679762]: TypeError: No registered converter was able to produce a C++ rvalue of type std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > from this Python object of type str
Question #679762 on Yade changed:
Jérôme Duriez posted a new comment:
It seems to me your script passed a Python string argument to a Python
YADE function, whose internal code is in C++ and thus needs to work
with a C++ string, that should reflect the Python string appearing in
your script (a systematic situation in YADE).
Boost library such as [*] is indeed instrumental for such operations in
It seems here the conversion did not work... I thus suspect a difference
in terms of availability/version of e.g. libboost-all-dev (a
prerequisite of YADE, see [**]) packages between your cluster and your
This is for background information.. If you need further help you may
have to wait for other answers; providing your script (minimal working
fashion, please) and the operating systems of the two machines (at least
?) may be very helpful for these other answers.
You received this question notification because your team yade-users is
an answer contact for Yade.