yade-users team mailing list archive
Mailing list archive
[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
New question #679762 on Yade:
Hi everyone, I am newly here.
Recently, I'm trying to use the cluster to do some simulation. I can run the script on my own computer and I can also run some simple scripts on the cluster. but this morning when I try another script. there is an error as follows:
TCP python prompt on localhost:9000, auth cookie `suekyc'
Welcome to Yade 2019.01a
XMLRPC info provider on http://localhost:21000
Running script make-sample.py
Traceback (most recent call last):
File "/packages/7x/yade/2019.01/bin/yade-2019.01a", line 241, in runScript
File "make-sample.py", line 16, in <module>
sp2 = pack.filterSpherePack(pred,sp,returnSpherePack=True)
File "/packages/7x/yade/2019.01/lib64/yade-2019.01a/py/yade/pack.py", line 373, in filterSpherePack
if dimP>dimS or dimP>dimS or dimP>dimS: warnings.warn("Packing's dimension (%s) doesn't fully contain dimension of the predicate (%s)."%(dimS,dimP))
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
Actually, I can run the same script on my own computer, but it failed on the cluster, is there anybody can help me?
I have searched some information on the internet, it seems that something wrong with the boost. But I'm not very sure about it. I hope someone can give me some information
You received this question notification because your team yade-users is
an answer contact for Yade.