gist notebook extension doesn't add buttons
anddam opened this issue · 2 comments
anddam commented
I installed gist extension from:
https://raw.githubusercontent.com/minrk/ipython_extensions/master/extensions/gist.py
and then loaded it using %load_ext.
Starting a notebook results in the following error in js console on Chrome and Safari:
gist extension loaded custom.js:54
Uncaught TypeError: Cannot read property 'add_buttons_group' of undefined gistcomm.js:79
GistButton.setup_gist_button gistcomm.js:79
load_extension gistcomm.js:98
(anonymous function) custom.js:55
context.execCb require.js:1650
Module.check require.js:866
(anonymous function) require.js:1113
(anonymous function) require.js:132
(anonymous function) require.js:1156
each require.js:57
Module.emit require.js:1155
Module.check require.js:917
Module.enable require.js:1143
Module.init require.js:774
callGetModule require.js:1170
context.completeLoad require.js:1544
context.onScriptLoad require.js:1671
and no gist button is added, while it should.
cackovic commented
+1
minrk commented
The gist.py extension is deprecated (I've now removed it, to avoid confusion). Use the gist.js notebook extension instead nbextensions.