When I try to commit changes, I get a bunch of NBFormatErrors.
I'm a long-time python/git user, but pretty new to notebooks, so help would be much appreciated.
$ git commit -am "added some changes..."
Traceback (most recent call last):
File "util/ipynb_output_filter.py", line 30, in <module>
json_in = reads(to_parse, version)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 137, in reads
return reads_json(s, **kwargs)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 90, in reads_json
raise NBFormatError('Unsupported JSON nbformat version %s (supported version: %i)' % (nbf, 3))
IPython.nbformat.current.NBFormatError: Unsupported JSON nbformat version 4 (supported version: 3)
error: external filter util/ipynb_output_filter.py failed 1
error: external filter util/ipynb_output_filter.py failed
Traceback (most recent call last):
File "util/ipynb_output_filter.py", line 30, in <module>
json_in = reads(to_parse, version)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 137, in reads
return reads_json(s, **kwargs)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 90, in reads_json
raise NBFormatError('Unsupported JSON nbformat version %s (supported version: %i)' % (nbf, 3))
IPython.nbformat.current.NBFormatError: Unsupported JSON nbformat version 4 (supported version: 3)
error: external filter util/ipynb_output_filter.py failed 1
error: external filter util/ipynb_output_filter.py failed
[notebook-friendly Traceback (most recent call last):
File "util/ipynb_output_filter.py", line 30, in <module>
json_in = reads(to_parse, version)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 137, in reads
return reads_json(s, **kwargs)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 90, in reads_json
raise NBFormatError('Unsupported JSON nbformat version %s (supported version: %i)' % (nbf, 3))
IPython.nbformat.current.NBFormatError: Unsupported JSON nbformat version 4 (supported version: 3)
error: external filter util/ipynb_output_filter.py failed 1
error: external filter util/ipynb_output_filter.py failed
Traceback (most recent call last):
File "util/ipynb_output_filter.py", line 30, in <module>
json_in = reads(to_parse, version)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 137, in reads
return reads_json(s, **kwargs)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 90, in reads_json
raise NBFormatError('Unsupported JSON nbformat version %s (supported version: %i)' % (nbf, 3))
IPython.nbformat.current.NBFormatError: Unsupported JSON nbformat version 4 (supported version: 3)
error: external filter util/ipynb_output_filter.py failed 1
error: external filter util/ipynb_output_filter.py failed
30d6221] added changes...
Traceback (most recent call last):
File "util/ipynb_output_filter.py", line 30, in <module>
json_in = reads(to_parse, version)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 137, in reads
return reads_json(s, **kwargs)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 90, in reads_json
raise NBFormatError('Unsupported JSON nbformat version %s (supported version: %i)' % (nbf, 3))
IPython.nbformat.current.NBFormatError: Unsupported JSON nbformat version 4 (supported version: 3)
error: external filter util/ipynb_output_filter.py failed 1
error: external filter util/ipynb_output_filter.py failed
Traceback (most recent call last):
File "util/ipynb_output_filter.py", line 30, in <module>
json_in = reads(to_parse, version)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 137, in reads
return reads_json(s, **kwargs)
File "/Library/Python/2.7/site-packages/IPython/nbformat/current.py", line 90, in reads_json
raise NBFormatError('Unsupported JSON nbformat version %s (supported version: %i)' % (nbf, 3))
IPython.nbformat.current.NBFormatError: Unsupported JSON nbformat version 4 (supported version: 3)
error: external filter util/ipynb_output_filter.py failed 1
error: external filter util/ipynb_output_filter.py failed
2 files changed, 40 insertions(+), 6 deletions(-)