← Back to team overview

yade-users team mailing list archive

Re: [Question #176961]: KeyError while accessing data from a script

 

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

    Status: Answered => Open

janaka kumara is still having a problem:
Thanks Thoeni,

But still it ends up with the same error as given below.

Janaka
..........................................................................................................................................................

kumara@kumara-Latitude-E5510:~$ yade peri3dController_triaxialCompression.py
Welcome to Yade 0.60
TCP python prompt on localhost:9000, auth cookie `cyusek'
XMLRPC info provider on http://localhost:21000
Running script peri3dController_triaxialCompression.py
Considering packing (radius=0.05±0,N=967,dim=0.937777×0.937777×0.937777,periodic,scale=1), created Mon Oct 31 07:00:08 2011
ACCEPTED
Found suitable packing in /tmp/packDb.sqlite (radius=0.05±0,N=967,dim=0.937777×0.937777×0.937777,periodic,scale=1), created Mon Oct 31 07:00:08 2011
Traceback (most recent call last):
  File "/usr/bin/yade", line 152, in runScript
    execfile(script,globals())
  File "peri3dController_triaxialCompression.py", line 34, in <module>
    iters,stressXX = plot.data['iter'],plot.data['sx']
KeyError: 'iter'
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view, F10 both, F9 generator, F8 plot. ]]

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


References