← Back to team overview

yade-dev team mailing list archive

Re: New Yade release 10-11 of May

 

Hello,

Le 08/05/2014 16:37, Matthias Frank a écrit :
yadedaily gravityLoading.py
Welcome to Yade 1.07.0-180-788bc5d~trusty
TCP python prompt on localhost:9000, auth cookie `uyacke'
XMLRPC info provider on http://localhost:21000
Running script gravityLoading.py
Traceback (most recent call last):
  File "/usr/bin/yadedaily", line 178, in runScript
    execfile(script,globals())
  File "gravityLoading.py", line 16, in <module>
O.bodies.append(ymport.text(packing+'.spheres',scale=1.,shift=Vector3(0,0,0),material=sphereMat))
File "/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/ymport.py", line 103, in text return textExt(fileName=fileName,format='x_y_z_r',shift=shift,scale=scale,**kw) File "/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/ymport.py", line 25, in textExt
    infile = open(fileName,"r")
IOError: [Errno 2] File or Directory not found: 'parallellepiped_10_persistentPlane30Deg.spheres'

I would not consider this one as a "bug". This missing file is generated by another script that has to be launched before trying gravityLoading.py. The workflow of this example (commited by Luc Scholtès) may appear rather complicated but is described in README file of the folder.

Note that I proposed a gravityBis example, that is more straightforward. (https://github.com/yade/trunk/commit/4788d0eeb50f5606c9f3fd8c9e3dd71987ee885f)

Jérôme

References