Exception KeyError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Yade |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I run parametric studies using yade-batch.
I have a stop-condition that I check regularly. If the stop-condition is reach, I exit the script using sys.exit(0); (see attached script).
The script exit well but when I look at the log, I have:
Exception KeyError: KeyError(
Yade version: yade-2017-
Available features: ['Odeint', 'VTK', 'OpenMP','GTS', 'CGAL', 'PFVFLOW', 'LINSOLV', 'GL2PS', 'LBMFLOW']
Full output:
TCP python prompt on localhost:9013, auth cookie `******'
Welcome to Yade 2017-03-
XMLRPC info provider on http://
Running script scriptV4c.py
/usr/lib/
axes property. A removal date has not been set.
warnings.
Nombre de spheres: 4189
glue
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
reverse
done
Exception KeyError: KeyError(
=================== JOB SUMMARY ================
id : OMP_NUM_
status : 0 (OK)
duration: 23:30:54
command : YADE_BATCH=
started : Thu Apr 13 11:45:03 2017
finished: Fri Apr 14 11:15:57 2017
Changed in yade: | |
status: | New → Won't Fix |
Could you please try to use "O.stop()" insntead of "exit()"?