← Back to team overview

yade-users team mailing list archive

Re: [Question #237548]: YADE stops when click [Show 3D] button

 

Question #237548 on Yade changed:
https://answers.launchpad.net/yade/+question/237548

Alsidqi Hasan posted a new comment:
Dear Yade user,

I am using facetBunker (funnel like shape) to rain the particles. It
gave me the following problem:

IndexError                                Traceback (most recent call last)
/usr/lib/yade/py/yade/__init__.pyc in <module>()

/usr/lib/yade/py/yade/__init__.pyc in checkUnbalanced()
     51    if utils.unbalancedForce()<.05:
     52       O.pause()
---> 53       plot.saveDataTxt('bbb.txt.bz2')
     54 
     55 def addPlotData():

/usr/lib/yade/py/yade/plot.pyc in saveDataTxt(fileName, vars)
    641         else: f=open(fileName,'w')
    642         f.write("# "+"\t\t".join(vars)+"\n")
--> 643         for i in range(len(data[vars[0]])):
    644                 f.write("\t".join([str(data[var][i]) for var in vars])+"\n")
    645         f.close()

IndexError: list index out of range

I can avoid this error by reducing number of particles significantly. Is
there anyone can help me what is the IndexError: list index out of range
means? and what is the work around so that I can use the funnel but at
the same time don't want to reduce the number of particle.

Thank you,
Best Regards,

Alsidqi

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