← Back to team overview

yade-dev team mailing list archive

[Bug 839607] Re: PyRunner doesn't work. Yade 1+2916+27~natty1, from 2011-09-01

 

Hi,

I have just checked the script and it is working for me. At least, I do
not get this error.

I think you copy/paste the code into the ipython, you should create the
separate file (see attachment) and start yade:

yade-daily gr.py

** Attachment added: "gr.py"
   https://bugs.launchpad.net/yade/+bug/839607/+attachment/2344656/+files/gr.py

-- 
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.
https://bugs.launchpad.net/bugs/839607

Title:
  PyRunner doesn't work. Yade 1+2916+27~natty1, from 2011-09-01

Status in Yet Another Dynamic Engine:
  New

Bug description:
  I thought it was a problem of yade-bzr2870 and installed newer version
  (the installation process is shown here [1] ). But the problem is
  still here.

  I copied/pasted the code of a "Gravity deposition" example [2]. Then I
  tried to run it for 250 iterations:

  ===================================================================
  Yade [43]: O.run(250)
  Yade [44]: ---------------------------------------------------------------------------
  NameError                                 Traceback (most recent call last)

  /usr/lib/yade-daily/py/yade/__init__.pyc in <module>()
  ----> 1 
        2 
        3 
        4 
        5 

  NameError: name 'checkUnbalanced' is not defined
  ---------------------------------------------------------------------------
  NameError                                 Traceback (most recent call last)

  /usr/lib/yade-daily/py/yade/__init__.pyc in <module>()
  ----> 1 
        2 
        3 
        4 
        5 

  NameError: name 'addPlotData' is not defined
  yade.plot: creating new line for gravWork
  yade.plot: creating new line for kinetic
  yade.plot: creating new line for nonviscDamp
  yade.plot: creating new line for elastPotential

  ===================================================================

  What should I do?
  Thank you

  Vadim

  Links
  [1] https://answers.launchpad.net/yade/+question/169842 (post #3)
  [2] https://www.yade-dem.org/sphinx/tutorial-examples.html#gravity-deposition

To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/839607/+subscriptions


References