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

Snippets Menu did't appear #19

Open
showteeth opened this issue Mar 4, 2019 · 3 comments
Open

Snippets Menu did't appear #19

showteeth opened this issue Mar 4, 2019 · 3 comments

Comments

@showteeth
Copy link

After checking "Snippets Menu" in Configurable nbextensions, Snippets did't appear as expected, then I checked out "JavaScript console", found a red line :".html(menu_item_spec.name)---Uncaught (in promise) TypeError: Cannot read property 'name' of undefined" at main.js(line 181) , while I don’t know much about JS, could you please help with it?
Thanks!

@moble
Copy link
Owner

moble commented Mar 5, 2019

I'm sorry, but I doubt that I can help — especially without more details. I just tried from a brand-new conda installation in a brand-new user folder on my computer, and it worked perfectly. Did you refresh your page? How did you install it? How did you install the rest of your jupyter-notebook installation? What are the various versions of everything you're using?

@showteeth
Copy link
Author

I am sorry! I have refreshed page several times, and I installed "Snippets Menu" with jupyter_contrib_nbextensions and I get the rest of jupyter-notebook extensions installed smoothly with jupyter_contrib_nbextensions. jupyter notebook --version : 5.7.4 , conda --version : 4.6.7 and Chrome --version : 72.0.3626.96.
Thanks!

@moble
Copy link
Owner

moble commented Mar 5, 2019

Those are almost identical to my versions of everything (my Chrome is 72.0.3626.119). I guess you must have modified the menus somehow, and forgotten to put a name in one of the sub-menus. Did you alter the JSON string in the "Nbextensions configuration" panel? Do you have something about this in your custom.js file? Did you read the README?

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

2 participants