Question #698760 on Yade changed:
https://answers.launchpad.net/yade/+question/698760
Status: Open => Needs information
Jan Stránský requested more information:
Hello,
> when I define a function ("extrction()") in the 'live' Yade console,
this error show:
what if you define in a script?
> Aborted (core dumped)
what is the output of
catchsegv yade script.py
?
yade script.py is the dommand you use to run the script (could be e.g.
yadedaily simulation.py)
Not sure if it works for "live console".
> The below link shows my scrip and clump data files
it would be nice, if you prepared a MWE [1], M=minimum (minimum running time,
minimum code size, minimum input file size, ...) and if you followed the
section [1],"Please, no external links!".
Here for example, my browser do not allow me to download the zip file with a
message that it is dangerous...
> O.bodies[b.id]
why not using just b?
> O.bodies.erase(b.id,True)
this is probably the source of the problem. Some yade code does not work for
erased bodies.
The relevant place would be revealed by catchsegv.
Cheers
Jan
[1] https://www.yade-dem.org/wiki/Howtoask
--
You received this question notification because your team yade-users is
an answer contact for Yade.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp