Thread Previous • Date Previous • Date Next • Thread Next |
Traceback (most recent call last): File "<string>", line 1, in <module>File "/home/bruno/YADE/lib/yade-true-true/py/yade/plot.py", line 154, in saveGnuplotfPlot=file(baseName+".gnuplot",'w') TypeError: 'str' object is not callableLooks like you have a string variable called "file" somewhere. Perhaps in utils.saveVars/utils.loadVars? Did I put the warning in https://yade-dem.org/sphinx/user.html#saving-python-variables for nothing??!
Thanks for suggestion but it is not the problem. "file" doesn't have to be saved since it will be overwritten each time a simulation is loaded. "file" is currently defined in params.table for batch jobs. Even hardcoding it in the script doesnt fix the problem.
Running in interactive yade makes the problem disappear. Bruno
Thread Previous • Date Previous • Date Next • Thread Next |