Thread Previous • Date Previous • Date Next • Thread Next |
[sorry, not to yade-dev :-| ]Are you saying that running yade-* scripts/test/law-test.py fails? Or do you run it in a different way (such as loading a simulation from the disk -- if you save simulation and load it, only the c++ data are preserved, but no python variables (including defined functions))?
Cheers, v.
It seems that the command name is not recognized : For example in law-test.py you have : *... PyRunner(iterPeriod=1,command='addPlotData()'), .... def addPlotData(): .... the error in the terminal is :/home/fbourrier/Documents/YADE2648/lib/yade-bzr2648/py/yade/__init__.pyc in <module>()----> 1 2 3 4 5 NameError: name 'addPlotData' is not defined
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@xxxxxxxxxxxxxxxxxxx Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp
Thread Previous • Date Previous • Date Next • Thread Next |