Question #237548 on Yade changed: https://answers.launchpad.net/yade/+question/237548
Jan Stránský posted a new comment: Hi Alsidqi, sorry for late relpy. Could you please attach an example script (just copy it to the mail body) reproducing the error? If you could delete unnecessary code, it would be nice :-) With the script we can try to run it and it will help us to solve the prbolem Thanks Jan 2013/11/3 Alsidqi Hasan <question237...@answers.launchpad.net> > 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. > > _______________________________________________ > Mailing list: https://launchpad.net/~yade-users > Post to : yade-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~yade-users > More help : https://help.launchpad.net/ListHelp > -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp