yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #05413
Re: [Question #185098]: InteractionLocator.macroAroundPt module
Question #185098 on Yade changed:
https://answers.launchpad.net/yade/+question/185098
Status: Answered => Open
Rinaldi Giuseppe is still having a problem:
first of all thank you for your quick response!
if I use eudoxos without underscore I get the following:
Running script simpleShear.py
Traceback (most recent call last):
File "/usr/bin/yade-daily", line 183, in runScript
execfile(script,globals())
File "simpleShear.py", line 142
pointstress=eudoxos.InteractionLocator.macroAroundPt((0.00001,0.00001,0.00001),0.00001,[-1])
^
IndentationError: unexpected indent
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]
if add the line from yade import _eudoxos (as Emanuele Catalano suggests) I get :
Yade [1]: ---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/usr/lib/yade-daily/py/yade/__init__.pyc in <module>()
----> 1
2
3
4
5
/usr/lib/yade-daily/py/yade/__init__.pyc in saveData()
142
143
--> 144 pointstress=_eudoxos.InteractionLocator.macroAroundPt((0.00001,0.00001,0.00001),0.00001,[-1]),
145
146
TypeError: unbound method Boost.Python.function object must be called
with InteractionLocator instance as first argument (got tuple instance
instead)
Any ideas
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.