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

Cannot read property 'name' of undefined. #3

Closed
xunhs opened this issue Mar 2, 2018 · 4 comments
Closed

Cannot read property 'name' of undefined. #3

xunhs opened this issue Mar 2, 2018 · 4 comments

Comments

@xunhs
Copy link

xunhs commented Mar 2, 2018

I download my ipynb from https://colab.research.google.com/notebooks/welcome.ipynb. When i open it in vscode, it inform me that TypeError: Cannot read property 'name' of undefined. But there is no problem when i open it in jupyter notebook.
Thanks.

@metya
Copy link

metya commented Mar 11, 2018

The same problem with some notebooks.

@jithurjacob
Copy link
Owner

I haven't got a chance to take a look at this. I will give a status update by the next release

@aum7
Copy link

aum7 commented Mar 24, 2018

I have same issue, it repeats every time:
Using MagicPython language:

  • I click on jupyter file, i.e. ClassificationDemo-Python.ipynb, to open it in VSCode, in editor command 'extension.showPreview' not found #1 (left one)
  • I click 'Show preview', and VSCode opens a preview, no problemo; I can view it in another editor (Default Preview View #2, right one)
  • I have another python file opened in editor Default Preview View #2, and when I switch focus on this file, and then back to preview in editor Default Preview View #2, I get an error message - 'Unable to open 'IPython Notebook Preview': Cannot read property 'document' of undefined.'
    So, while switching (cursor focus) between
    ClassificationDemo-Python.ipynb
    and
    ClassificationDemo-Python.ipynb preview,
    there are no problems. When focus is on another file, and back to preview, error appears.

Simon
S love nia

@clemens-tolboom
Copy link
Contributor

See PR #7

jithurjacob added a commit that referenced this issue Dec 1, 2018
Fix #3 - Cannot read property 'name' of undefined.
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

No branches or pull requests

5 participants