Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle missing output metadata in nbconvert #5187

Merged
merged 1 commit into from Feb 22, 2014

Conversation

minrk
Copy link
Member

@minrk minrk commented Feb 21, 2014

I think this can only happen for notebooks written by 0.13-dev, but it's causing issues with nbconvert on some notebooks.

@ellisonbg
Copy link
Member

Because we do (with 0.13) generate notebooks without metadata keys, I think we should fix this in nbconvert by not assuming there will always be a metadata key.

@rgbkrk
Copy link
Member

rgbkrk commented Feb 21, 2014

This does handle the issue nbviewer has with the current IPython master.

in nbconvert

some old notebooks do not have this key defined
@minrk
Copy link
Member Author

minrk commented Feb 21, 2014

This now just protects nbconvert from missing output metadata, the actual issue.

@ellisonbg
Copy link
Member

Looks good merging.

ellisonbg added a commit that referenced this pull request Feb 22, 2014
handle missing output metadata in nbconvert
@ellisonbg ellisonbg merged commit f25b06c into ipython:master Feb 22, 2014
@minrk minrk deleted the ensure-metadata branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
handle missing output metadata in nbconvert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants