Issue Type: Bug
Just opening up the file gies this error:
Unable to open 'filename.ipynb': Incorrect NotebookModel, expected VSCodeNotebookModel.
Extension version: 2020.9.102277-dev
VS Code version: Code - Insiders 1.49.0-insider (3d5b2fecf2e6788cb9877d7d868d964fbc3ecd53, 2020-08-18T06:45:26.867Z)
OS version: Darwin x64 19.6.0
@matrix303 Thanks for filing this issue.
Please coul dyou provide the following information:
ipynb file opened?python file wait for the bottom statusbar to appear and display the python infomration. After that please attempt to open this ipynb file.Help -> Toggle Developer Tools -> Console Window.So just to update you, opening this using the old notebook editor works fine as expected, its when I try to open it in the new notebook editor (which I really want to use cause the features are awesome).
no other ipynb file open
simple python file = python 3.7.6 64 bit conda

so after restarting vscode, I can now open it.
so after restarting vscode, I can now open it
Possible you had an update to VSCode or the extension.
Thanks for confirming this.
I'll close this issue as it is now working.
This has been happening for a day and restart fixes it, it stops working periodically for some reason. for example, I restarted and its not working anymore. same error

so after restarting vscode, I can now open it
Possible you had an update to VSCode or the extension.
Thanks for confirming this.
I'll close this issue as it is now working.
Please reopen this as it is not solved @DonJayamanne
It looks like you have the same notebook opened in the old editor as well.
Please could you try the following,
NativeNotebook - experiment into the setting as follows: "python.experiments.optInto": [
"NativeNotebook - experiment"
... if you have anything else here, you can leave that.
],
That seems to have fixed it, tried opening the files multiple times and has worked so far. If it continues then I shall tag you again. Thanks
Had the same issue, @DonJayamanne workaround fixed it for me.
Most helpful comment
That seems to have fixed it, tried opening the files multiple times and has worked so far. If it continues then I shall tag you again. Thanks