1) please, install libgts-dev
2) add 'gts' to features
3) check with r2260
Thanks
______________________________
Anton Gladkyy
2010/5/28 Chareyre <email address hidden>
> It should be workarounded in r2259. Can you confirm?
> No time for more investigations now.
> I didn't get any problems with this code, even after 200k iterations in
> periodic tests, and I can't find a way to run the crashing example, see
> below. So, I cannot "see" the bug.
>
> Bruno
>
> 1st try :
>
> File "examples/rotatingCylinder.py", line 32
> SyntaxError: Non-ASCII character '\xc2' in file
> examples/rotatingCylinder.py on line 32, but no encoding declared; see
> http://www.python.org/peps/pep-0263.html for details
> (rotatingCylinder.py, line 32)
>
> --> Fixed
>
> 2nd try :
>
> SyntaxError: Non-ASCII character '\xe2' in file
> examples/rotatingCylinder.py on line 36, but no encoding declared; see
> http://www.python.org/peps/pep-0263.html for details
> (rotatingCylinder.py, line 36)
>
> --> Fixed
>
> 3rd try :
>
> File "examples/rotatingCylinder.py", line 31, in <module>
> cyl=unitCylinder(); sq=unitSquare(); sq.translate(0,0,-1); cyl.copy(sq)
> File "examples/rotatingCylinder.py", line 28, in unitCylinder
> return pack.sweptPolylines2gtsSurface([ptsBase,ptsTop])
> File "/home/bruno/YADE/lib/yade-true-true/py/yade/pack.py", line 125,
> in sweptPolylines2gtsSurface
> vtxs=[[gts.Vertex(x,y,z) for x,y,z in pts1] for pts1 in pts]
> NameError: global name 'gts' is not defined
>
> --> Huh?!
>
> --
> bzr2255 crash on examples/rotatingCylinder.py
> https://bugs.launchpad.net/bugs/585898
> You received this bug notification because you are subscribed to Yade.
>
> Status in Yet Another Dynamic Engine: Confirmed
>
> Bug description:
> When I run examples/rotatingCylinder.py with bzr2255 (default profile) I
> got a crash after several iterations. Seems it related with velocityBins
> mechanism:
>
> Yade [1]: INFO yade.VelocityBins
> /home/sega/work/yade/trunk/pkg/common/DataClass/VelocityBins.cpp:33 setBins:
> New number of bins: 5
> FATAL yade.VelocityBins
> /home/sega/work/yade/trunk/pkg/common/DataClass/VelocityBins.cpp:77 setBins:
> Body #4483, velSq=nan not put in any bin!?
> Crash!
>
>
>
Hi, Bruno
1) please, install libgts-dev
2) add 'gts' to features
3) check with r2260
Thanks _______ _______ _______ __
_______
Anton Gladkyy
2010/5/28 Chareyre <email address hidden>
> It should be workarounded in r2259. Can you confirm? rotatingCylinde r.py", line 32 rotatingCylinde r.py on line 32, but no encoding declared; see www.python. org/peps/ pep-0263. html for details er.py, line 32) rotatingCylinde r.py on line 36, but no encoding declared; see www.python. org/peps/ pep-0263. html for details er.py, line 36) rotatingCylinde r.py", line 31, in <module> 0,0,-1) ; cyl.copy(sq) rotatingCylinde r.py", line 28, in unitCylinder ines2gtsSurface ([ptsBase, ptsTop] ) bruno/YADE/ lib/yade- true-true/ py/yade/ pack.py" , line 125, gtsSurface gts.Vertex( x,y,z) for x,y,z in pts1] for pts1 in pts] rotatingCylinde r.py /bugs.launchpad .net/bugs/ 585898 rotatingCylinde r.py with bzr2255 (default profile) I work/yade/ trunk/pkg/ common/ DataClass/ VelocityBins. cpp:33 setBins: work/yade/ trunk/pkg/ common/ DataClass/ VelocityBins. cpp:77 setBins:
> No time for more investigations now.
> I didn't get any problems with this code, even after 200k iterations in
> periodic tests, and I can't find a way to run the crashing example, see
> below. So, I cannot "see" the bug.
>
> Bruno
>
> 1st try :
>
> File "examples/
> SyntaxError: Non-ASCII character '\xc2' in file
> examples/
> http://
> (rotatingCylind
>
> --> Fixed
>
> 2nd try :
>
> SyntaxError: Non-ASCII character '\xe2' in file
> examples/
> http://
> (rotatingCylind
>
> --> Fixed
>
> 3rd try :
>
> File "examples/
> cyl=unitCylinder(); sq=unitSquare(); sq.translate(
> File "examples/
> return pack.sweptPolyl
> File "/home/
> in sweptPolylines2
> vtxs=[[
> NameError: global name 'gts' is not defined
>
> --> Huh?!
>
> --
> bzr2255 crash on examples/
> https:/
> You received this bug notification because you are subscribed to Yade.
>
> Status in Yet Another Dynamic Engine: Confirmed
>
> Bug description:
> When I run examples/
> got a crash after several iterations. Seems it related with velocityBins
> mechanism:
>
> Yade [1]: INFO yade.VelocityBins
> /home/sega/
> New number of bins: 5
> FATAL yade.VelocityBins
> /home/sega/
> Body #4483, velSq=nan not put in any bin!?
> Crash!
>
>
>