damianavila / RISE

RISE: "Live" Reveal.js Jupyter/IPython Slideshow Extension
Other
3.68k stars 416 forks source link

No button in new kernel tab #343

Open NGillet opened 6 years ago

NGillet commented 6 years ago

Hello, I just try to install Rise using conda but the button "Enter/Exit Live Reveal Slideshow" does not appear. I tried on 3 machine, 2 linux and 1 mac, with fresh install anaconda3, but I did not manage to make it work :(

let focus on the mac: High Sierra : version 10.13.2 conda 4.4.10 jupyter --version 4.3.0 Google Chrome Version 64.0.3282.140 (Build officiel) (64 bits) (I tried the hard reload stuff... no success)

conda list rise rise 5.2.0 py36_0 damianavila82

jupyter nbextension list Known nbextensions: config dir: /Users/gillet/.jupyter/nbconfig notebook section rise/main enabled

  • Validating: OK jupyter-js-widgets/extension enabled
  • Validating: OK config dir: /Users/gillet/anaconda3/etc/jupyter/nbconfig notebook section jupyter-js-widgets/extension enabled
  • Validating: OK rise/main enabled
  • Validating: OK nbextensions_configurator/config_menu/main enabled
  • Validating: problems found:
  • require? X nbextensions_configurator/config_menu/main tree section nbextensions_configurator/tree_tab/main enabled
  • Validating: problems found:
  • require? X nbextensions_configurator/tree_tab/main

And the JS console in the kernel tab : Loading extension: rise/main require.js?v=6da8be361b9ee26c5e721e76c6d4afce:900 TypeError: Cannot read property 'help' of undefined at toolbar.js:101 at MainToolBar.ToolBar.add_buttons_group (toolbar.js:115) at Function.setup [as load_ipython_extension] (main.js?v=20180213124755:953) at utils.js:39 at Object.execCb (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1690) at Module.check (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:865) at Module. (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1140) at require.js?v=6da8be361b9ee26c5e721e76c6d4afce:131 at require.js?v=6da8be361b9ee26c5e721e76c6d4afce:1190 at each (require.js?v=6da8be361b9ee26c5e721e76c6d4afce:56) check @ require.js?v=6da8be361b9ee26c5e721e76c6d4afce:900

An error appear here... But I have no idea of how to solve it...

damianavila commented 6 years ago

Hi!

Some questions:

Particularly, the last suggestion (new env) was useful for people experiencing the same issue (ie. #341).

NGillet commented 6 years ago

Hi!

jupyter nbextension list Known nbextensions: config dir: /Users/me/.jupyter/nbconfig notebook section jupyter-js-widgets/extension enabled

I tried in chrome and Firefox

damianavila commented 6 years ago

I don't know how to make a fresh environment !? Does it mean re-install all anaconda ?

You can create a new environment with the conda create -n foo command. Then you activate that env and install rise ok it. You should not need to reinstall anaconda.

As I said above, I also try on a linux machine, with a fresh install of anaconda3, and direct conda install of Rise, without other extensions, and the problem is the same.

OK, let's focus on this setup. Do you have the same error in the js console? Can you report the browsers versions?

NGillet commented 6 years ago

it works when I made the new env on the mac and on linux too.

damianavila commented 6 years ago

Wow, great it is working. Can you report the notebook version in the NOT working environment (which I presume is the root env) and in the working environment?