Calico buttons are gone after installing Rise

89 views
Skip to first unread message

Stef Mientki

unread,
Aug 12, 2016, 6:11:55 AM8/12/16
to jup...@googlegroups.com
I just installed Rise, looks very nice, but the installation removed my Calico buttons.

These buttons are loaded in ...ipython\profile_default\static\custom\custom.js.
So it looks that the custom.js is not executed anymore.
I've restarted everything but that doesn't help.
Any clue how to get Calico working again or how to uninstall Rise ?

thanks,
Stef

Thomas Kluyver

unread,
Aug 12, 2016, 6:47:25 AM8/12/16
to Project Jupyter
If you're using Jupyter, custom.js no longer lives in your IPython profile directory. Maybe there was a fallback to that which RISE shadowed by creating a new custom.js.

Your customisations should now live in:

~/.jupyter/custom/custom.js

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/956f053c-b4e3-17e0-0a64-d37bd6c021b6%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Damián Avila

unread,
Aug 12, 2016, 7:31:53 AM8/12/16
to jup...@googlegroups.com
The new RISE (I mean the latest beta1 available) does not write anything into the custom.js
Maybe you are using an old version?
Again, if you using the latest beta, you should be able to disable it with:

jupyter-nbextension disable rise


For more options, visit https://groups.google.com/d/optout.



--
Damián

Damián Avila

unread,
Aug 12, 2016, 7:36:21 AM8/12/16
to jup...@googlegroups.com
Sorry, I hit the send button to early, if you are in conda you can disable it with:

jupyter-nbextension disable rise --py --sys-prefix

Btw, what is the output of

jupyter-nbextension list

Cheers.
--
Damián

Damián Avila

unread,
Aug 12, 2016, 7:46:37 AM8/12/16
to jup...@googlegroups.com
Alternative, you can remove RISE with

conda remove rise

or

pip uninstall rise

But in the last case, you need to uninstall and disable the nbextension too.

I will add this info into the README.
--
Damián

Stef Mientki

unread,
Aug 12, 2016, 7:53:32 AM8/12/16
to jup...@googlegroups.com
I'm using Jupyter,
but there exists both

..\.ipython\profile_default\static\custom\custom.js.
..\.jupiter\

I copied the whole map "profile_default" to the second without success

To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

Stef Mientki

unread,
Aug 12, 2016, 7:54:59 AM8/12/16
to jup...@googlegroups.com
After removing rise with through conda,
Rise is gone
but my buttons are not back yet :-(
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

Thomas Kluyver

unread,
Aug 12, 2016, 7:56:44 AM8/12/16
to Project Jupyter
On 12 August 2016 at 12:53, Stef Mientki <stef.m...@gmail.com> wrote:
but there exists both

..\.ipython\profile_default\static\custom\custom.js.
..\.jupiter\

I copied the whole map "profile_default" to the second without success


The structure has changed. The 'profile_default' and 'static' levels have been eliminated, so the 'custom' folder sits directly in .jupyter/ (note that's jupyter with a y, not an i).

Damián Avila

unread,
Aug 12, 2016, 8:31:20 AM8/12/16
to jup...@googlegroups.com
Additionally, there seems to be some issue with calico extensions with the latest notebook: https://github.com/Calysto/notebook-extensions/issues

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Damián

Doug Blank

unread,
Aug 12, 2016, 9:00:18 AM8/12/16
to Project Jupyter
On Friday, August 12, 2016 at 8:31:20 AM UTC-4, Damián Avila wrote:
Additionally, there seems to be some issue with calico extensions with the latest notebook: https://github.com/Calysto/notebook-extensions/issues

FYI, I'm looking at bringing these extensions into the modern world, so that they can be installed properly and in the right place.

-Doug
 

2016-08-12 8:56 GMT-03:00 Thomas Kluyver <tak...@gmail.com>:
On 12 August 2016 at 12:53, Stef Mientki <stef.m...@gmail.com> wrote:
but there exists both

..\.ipython\profile_default\static\custom\custom.js.
..\.jupiter\

I copied the whole map "profile_default" to the second without success


The structure has changed. The 'profile_default' and 'static' levels have been eliminated, so the 'custom' folder sits directly in .jupyter/ (note that's jupyter with a y, not an i).

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.



--
Damián

Damián Avila

unread,
Aug 12, 2016, 10:55:03 AM8/12/16
to jup...@googlegroups.com
Thanks Doug!

My best guess is that when Stef installed RISE, since RISE has a dependency on notebook >=4.2, it also updated their notebook to the latest available. And since the extensions does not work with the latest one, is breaking...
Stef, you can always go back to the previous state using conda revision and leaving the things in custom,js as they were. Or reinstall the previous notebook version and install the extension as you installed before. Or wait a little bit for Doug ;-)

Cheers.



To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Damián

Stef Mientki

unread,
Aug 13, 2016, 8:01:10 AM8/13/16
to jup...@googlegroups.com
thank you all guys for the quick responses.

I'm new to Anaconda, Jupiter and all the beautiful addons/plugins, so I want to try them all right away !!

With the help of you, I was able to get the Calico buttons back.
- uninstall Rise didn't make it work
- going back to an older revision, crashed completely (btw the conda revision trick seems a great tool, if it works)
- the suggestion of Thomas to put the custom.js in a different folder did the trick

cheers,
Stef

Doug Blank

unread,
Aug 20, 2016, 3:30:26 PM8/20/16
to Project Jupyter
Thanks for the note! 

The install instructions and layout of the files has been brought into proper formatting for modern Jupyter. The README is here:


The older Calico extensions are now rebranded "Calysto" to bring in line with our overarching project. FYI, these should work well with the nbextension-configurator, but haven't been able to test that yet.

Let me know if you have any problems,

-Doug



--
Damián

Damián Avila

unread,
Aug 22, 2016, 9:59:59 AM8/22/16
to jup...@googlegroups.com
Thanks for the info, Doug!

To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.

To post to this group, send email to jup...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Damián
Reply all
Reply to author
Forward
0 new messages