woo

error when running example mill.py

Asked by Ralf

When trying to run the example 'mill.py' I get the error message:

Woo [1]: ERROR build-src-tree/../core\Scene.cpp:313 selfTest_maybe: selfTest failed (step=0, selfTestEvery=0, force=0).
ERROR build-src-tree/../core\Scene.cpp:91 backgroundLoop: Exception:
DemField.nodes[0].dem.mass=0 is non-positive, but not all translational DoFs are blocked (and the node is not clumped).

I tested the example on ubuntu with ver. 1.0+3704+26 (ubuntu 14.04.1), and on windows 7 with the latest available version.

Could you please give some advice, what's going wrong?

Thanks in advance

Ralf

Question information

Language:
English Edit question
Status:
Solved
For:
woo Edit question
Assignee:
No assignee Edit question
Solved by:
Václav Šmilauer
Solved:
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hi Ralf,

> Woo [1]:

are you sure you are asking on the correct forum? :-) probably Vaclav could
answer better..
cheers
Jan

Revision history for this message
Ralf (ralf-kuehn) said :
#2

Hi Jan,

Sorry, you're right. My question was automatically copied into the yade forum ...

regards

Ralf

Revision history for this message
Best Václav Šmilauer (eudoxos) said :
#3

Hi Ralph,

the forum for Woo is at http://answers.launchpad.net/woo, but never mind, let me reply here. That's an error in the script (due to a recent incompatible change in how clump nodes are treated), not a problem on your side; you can fix it quickly by adding this line after "centralNode.dem.angVel=(-5,0,0)":

   centralNode.dem.blocked='xyzXYZ'

Then the example will work. I fixed it in trunk, see https://github.com/eudoxos/woodem/blob/master/examples/mill.py#L58.

Cheers, Václav

@Jan: thanks for notifying me about the question.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

I moved the question from yade to woo.

Revision history for this message
Ralf (ralf-kuehn) said :
#5

Thanks Václav Šmilauer, that solved my question.