Nbformat 3.0 iPython notebooks do not open
See original GitHub issueSteps to reproduce:
- Clone https://github.com/odewahn/ipynb-examples
- Open a notebook in VSCode
I see the following stack trace:
Error Python Extension: 2019-10-02 07:45:22: [Error: {0} is not a valid notebook file. Check the file for correct json. at Object.importCells (/Users/georgefraser/.vscode-insiders/extensions/ms-python.python-2019.10.39676-dev/out/client/extension.js:75:1067762) at Object.load (/Users/georgefraser/.vscode-insiders/extensions/ms-python.python-2019.10.39676-dev/out/client/extension.js:75:1001636) at async Object.create (/Users/georgefraser/.vscode-insiders/extensions/ms-python.python-2019.10.39676-dev/out/client/extension.js:75:1016768) at async Object.open (/Users/georgefraser/.vscode-insiders/extensions/ms-python.python-2019.10.39676-dev/out/client/extension.js:75:1016157) at async Object.openNotebook (/Users/georgefraser/.vscode-insiders/extensions/ms-python.python-2019.10.39676-dev/out/client/extension.js:75:1013606)] (at t (/Users/georgefraser/.vscode-insiders/extensions/ms-python.python-2019.10.39676-dev/out/client/extension.js:1:57823))
t.log @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
_doInvokeHandler @ rpcProtocol.ts:394
_invokeHandler @ rpcProtocol.ts:379
_receiveRequest @ rpcProtocol.ts:299
_receiveOneMessage @ rpcProtocol.ts:226
(anonymous) @ rpcProtocol.ts:101
fire @ event.ts:580
fire @ ipc.net.ts:453
_receiveMessage @ ipc.net.ts:733
(anonymous) @ ipc.net.ts:592
fire @ event.ts:580
acceptChunk @ ipc.net.ts:239
(anonymous) @ ipc.net.ts:200
t @ ipc.net.ts:28
emit @ events.js:200
addChunk @ _stream_readable.js:294
readableAddChunk @ _stream_readable.js:275
Readable.push @ _stream_readable.js:210
onStreamRead @ internal/stream_base_commons.js:166
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Python API for working with notebook files — nbformat 5.7 ...
Read a notebook from a file as a NotebookNode of the given version. The string can contain a notebook of any version. The...
Read more >Error loading IPython notebook - Stack Overflow
The error message indicates that the notebook format is not supported. ... ipython --version 3.0.0-dev. And I can open the file with ipython...
Read more >How to use the nbformat.NotebookNode function in ... - Snyk
Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues...
Read more >Source code for nengo.utils.ipython
"""Functions for easy interactions with IPython and IPython notebooks. ... nbformat else: import nbformat except ImportError: def get_ipython(): return None ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes these are NB Format 3.0 files. They’re more than 6 years old. This probably isn’t necessary for our first release.
@georgewfraser Given the age of this issue and the fact it hasn’t had any upvotes (nor have I seen duplicates entered) I don’t think we have the time and resources to address this problem in the near future. Closing for now. Please reopen with additional details if you think that this is the wrong decision. 😃