[IPython-dev] Random crashes when doing conversion

Ian Bell ian.h.bell at gmail.com
Sat Feb 22 11:50:30 EST 2014


I am using the most excellent runipy script to generate HTML documentation
from a large set of dynamically generated notebooks.  More on that theme
soon!

I am getting random crashes (not repeatable) along the lines of that shown
below.  I can't seem to see any pattern.  I'll convert a few files, then
this error.  Or sometimes I can convert ~10 files, and then it crashes.  I
have 114 notebooks to convert, so just converting 10 isn't quite cutting it

Ian

Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\zmq\eventloop\zmqstream.py", line
401, in _run_callback
    callback(*args, **kwargs)
  File
"C:\Python27\lib\site-packages\zmq\eventloop\minitornado\stack_context.py",
line 241, in wrapped
    callback(*args, **kwargs)
  File
"C:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\kernel\channels.py",
line 170, in _handle_recv
    self.call_handlers(self.session.unserialize(smsg))
  File
"C:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\kernel\zmq\session.py",
line 822, in unserialize
    message['header'] = extract_dates(header)
  File
"C:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\utils\jsonutil.py",
line 87, in extract_dates
    new_obj[k] = extract_dates(v)
  File
"C:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\utils\jsonutil.py",
line 92, in extract_dates
    obj = parse_date(obj)
  File
"C:\Python27\lib\site-packages\ipython-2.0.0_dev-py2.7.egg\IPython\utils\jsonutil.py",
line 79, in parse_date
    return datetime.strptime(notz, ISO8601)
AttributeError: _strptime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140222/3b879002/attachment.html>


More information about the IPython-dev mailing list