yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05077
Re: [Branch ~yade-dev/yade/trunk] Rev 2314: making TriaxialStressController more python friendly.
> 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 saveGnuplot
> fPlot=file(baseName+".gnuplot",'w')
> TypeError: 'str' object is not callable
Looks 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??!
v.
Follow ups
References