Question #658909 on Yade changed:
https://answers.launchpad.net/yade/+question/658909
Kun Zeng posted a new comment:
Hi Jan,
I run the .sh file and it still shows:
Traceback (most recent call last):
File "example1.py", line 90, in <module>
dem = YADE_API(demName)
File "/home/kun/femdem/include/mupif/api/yade/yade_interface.py", line 153,
in __init__
execfile(inputfile)
File "example1-yade.py", line 94, in <module>
rects = movables + sum((rect(r) for r in rects),[])
File "example1-yade.py", line 94, in <genexpr>
rects = movables + sum((rect(r) for r in rects),[])
NameError: global name 'rect' is not defined
Thanks.
--
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