← Back to team overview

yade-users team mailing list archive

[Question #201807]: Error running rotating-cilinder.py

 

New question #201807 on Yade:
https://answers.launchpad.net/yade/+question/201807

Dear all

I am very sorry if I am going to make a foolish question but, I just
started to use YADE and I am trying to run some of the examples.
Unfortunately , when I tried to run the program rotating-cilinder.py I
got the following error.

~/yade/examples/baraban$ yade -x rotating-cylinder.py
Welcome to Yade 0.60.3
TCP python prompt on localhost:9000, auth cookie `saskye'
XMLRPC info provider on http://localhost:21000

Running script rotating-cylinder.py
Generating cloud…
Traceback (most recent call last):
  File "/usr/bin/yade", line 152, in runScript
    execfile(script,globals())
  File "rotating-cylinder.py", line 49, in <module>

    NewtonIntegrator(damping=.3,gravity=(0,0,-1e3)), # gravity
artificially high, to make it faster going ;-)
AttributeError: No such attribute: gravity.

Please could you tell me how can I fix it?

with very best regards
Diego

-- 

You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.