yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #13082
[Bug 1685735] Re: Exception KeyError
Could you please try to use "O.stop()" insntead of "exit()"?
--
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.
https://bugs.launchpad.net/bugs/1685735
Title:
Exception KeyError
Status in Yade:
New
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(140414846273280,) in <module 'threading'
from '/usr/lib/python2.7/threading.pyc'> ignored
Yade version: yade-2017-03-30.git-5528a5c
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-30.git-5528a5c
XMLRPC info provider on http://localhost:21013
Running script scriptV4c.py
/usr/lib/python2.7/dist-packages/matplotlib/artist.py:221: MatplotlibDeprecationWarning: This has been deprecated in mpl 1.5, please use the
axes property. A removal date has not been set.
warnings.warn(_get_axes_msg, mplDeprecation, stacklevel=1)
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(140414846273280,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored
=================== JOB SUMMARY ================
id : OMP_NUM_THREADS=1,shearVel=0.01,volfrac=0.52,frictDegree=50
status : 0 (OK)
duration: 23:30:54
command : YADE_BATCH=2017_04_12_friction.table:19 DISPLAY= /data/yade/install/bin/yade-2017-03-30.git-5528a5c --threads=1 --nice=10 -x scriptV4c.py> 2017_04_05_frictcoef/scriptV4c.py.OMP_NUM_THREADS=1,shearVel=0.01,volfrac=0.52,frictDegree=50.log 2>&1
started : Thu Apr 13 11:45:03 2017
finished: Fri Apr 14 11:15:57 2017
To manage notifications about this bug go to:
https://bugs.launchpad.net/yade/+bug/1685735/+subscriptions
References