-
Notifications
You must be signed in to change notification settings - Fork 85
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
Error accessing notebook.metadata.language_info.file_extension
#63
Comments
language_info
I think the issue may lie with Below is the notebook is being read and, as you can see, it doesn't actually have this attribute. {
"nbformat": 4,
"nbformat_minor": 2,
"metadata": {
"language_info": {
"name": "python",
"codemirror_mode": {
"name": "ipython",
"version": 3
}
},
"orig_nbformat": 2,
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"npconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": 3
},
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"(use/api)=\n",
"\n",
"# Python API"
]
}
]
} Note, the notebook was initially created by VS Code: Name: Python
Id: ms-python.python
Description: Linting, Debugging (multi-threaded, remote), Intellisense, Jupyter Notebooks, code formatting, refactoring, unit tests, snippets, and more.
Version: 2020.2.64397
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-python.python |
language_info
notebook.metadata.language_info.file_extension
Yep fixed if I add |
raised at microsoft/vscode-python#10544 |
Trying to add a notebook to documentation in executablebooks/jupyter-cache#35, I'm getting this error
(expand for traceback)
@AakashGfude notes something similar in
#55 (comment)
Aakash can you add here the full traceback from the log file
Not sure where the actual fault here lies yet?
@akhmerov it also maybe is related to
jupyter-sphinx
, any ideas?The text was updated successfully, but these errors were encountered: