Skip to content

Instantly share code, notes, and snippets.

@nkeim
Created December 10, 2014 00:06
Show Gist options
  • Save nkeim/e58e50c4f41c384121ab to your computer and use it in GitHub Desktop.
Save nkeim/e58e50c4f41c384121ab to your computer and use it in GitHub Desktop.
make notebooks
make -C tutorial notebooks
ipython nbconvert --to rst ../../../trackpy-examples/notebooks/walkthrough.ipynb
[NbConvertApp] Using existing profile dir: u'/Users/nkeim/.ipython/profile_default'
[NbConvertApp] Converting notebook ../../../trackpy-examples/notebooks/walkthrough.ipynb to rst
[NbConvertApp] Support files will be in walkthrough_files/
Traceback (most recent call last):
File "/Users/nkeim/anaconda/bin/ipython", line 6, in <module>
sys.exit(start_ipython())
File "/Users/nkeim/anaconda/lib/python2.7/site-packages/IPython/__init__.py", line 120, in start_ipython
return launch_new_instance(argv=argv, **kwargs)
File "/Users/nkeim/anaconda/lib/python2.7/site-packages/IPython/config/application.py", line 564, in launch_instance
app.start()
File "/Users/nkeim/anaconda/lib/python2.7/site-packages/IPython/terminal/ipapp.py", line 367, in start
return self.subapp.start()
File "/Users/nkeim/anaconda/lib/python2.7/site-packages/IPython/nbconvert/nbconvertapp.py", line 268, in start
self.convert_notebooks()
File "/Users/nkeim/anaconda/lib/python2.7/site-packages/IPython/nbconvert/nbconvertapp.py", line 301, in convert_notebooks
output, resources = exporter.from_filename(notebook_filename, resources=resources)
File "/Users/nkeim/anaconda/lib/python2.7/site-packages/IPython/nbconvert/exporters/exporter.py", line 151, in from_filename
return self.from_notebook_node(nbformat.read(f, 'json'), resources=resources, **kw)
File "/Users/nkeim/anaconda/lib/python2.7/site-packages/IPython/nbformat/current.py", line 175, in read
return reads(fp.read(), format, **kwargs)
File "/Users/nkeim/anaconda/lib/python2.7/site-packages/IPython/nbformat/current.py", line 124, in reads
return reads_json(s, **kwargs)
File "/Users/nkeim/anaconda/lib/python2.7/site-packages/IPython/nbformat/current.py", line 79, in reads_json
return convert(reader_reads(s), current_nbformat)
File "/Users/nkeim/anaconda/lib/python2.7/site-packages/IPython/nbformat/reader.py", line 88, in reads
raise NBFormatError('Unsupported nbformat version %s' % major)
NameError: global name 'NBFormatError' is not defined
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev@scipy.org
You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
c.Application.verbose_crash=True
make[1]: *** [notebooks] Error 1
make: *** [notebooks] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment