question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Nbformat 3.0 iPython notebooks do not open

See original GitHub issue

Steps to reproduce:

  1. Clone https://github.com/odewahn/ipynb-examples
  2. Open a notebook in VSCode

python-error mov

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:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
rchiodocommented, Oct 2, 2019

Yes these are NB Format 3.0 files. They’re more than 6 years old. This probably isn’t necessary for our first release.

0reactions
greazercommented, Feb 14, 2020

@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. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Nbformat 3.0 iPython notebooks do not open #2979 - GitHub
Open a notebook in VSCode.
Read more >
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found